![]() |
NASA Astrobee Robot Software
Astrobee Version:
Flight software for the Astrobee robots operating inside the International Space Station.
|
The localization analysis package provides several tools for measuring localization performance as described below. Before running these scripts make sure you define the appropriate env variables (the scripts will complain if you don't) Example:
export ASTROBEE_RESOURCE_DIR=$HOME/astrobee/src/astrobee/resources export ASTROBEE_CONFIG_DIR=$HOME/astrobee/src/astrobee/config export ASTROBEE_WORLD=iss export ASTROBEE_ROBOT=bumble
For each tool and script, run rosrun localization_analysis tool_or_script_name -h
for further details and usage instructions.
Converts depth messages in a provided bagfile to intensity images.
Reads through a bag file and filters imu measurements, replacing the old imu measurements with new filtered ones. The filtered data is saved to a bagfile and can be plotted and analyzed using the imu_analyzer script.
Generates depth odometry relative poses using recorded depth camera data and saves these to a bag file.
Runs graph localization on a bagfile and saves the results to a new bagfile. The results can be plotted using the plot_results.py
script.
Generates imu bias integrated poses and saves these to a bagfile. The results can be plotted using the plot_results.py
script. See the imu_bias_tester
package readme for more details.
Generates sparse mapping poses using sparse mapping feature messages and the body_T_nav_cam extrinsics from the provided robot config file.
Runs a parameter sweep on a set of bagfiles. See parameter_sweep.py and bag_sweep.py for more details on parameter and bag sweeps.
Runs the graph bag tool in parallel on multiple bag files. It takes config file with bag names, map names, and robot configs and produces pdfs and result bagfiles for each entry. Example config file:
Example bag sweep command:
Runs a parameter sweep for depth odometry relative pose estimation and plots the results.
Prints stats for the optimization and update times of the graph localizer from the recorded graph_state messages in the provided bagfile.
Creates groundtruth in parallel for a set of bagfiles.
Generates comparison plots for raw and filtered IMU data.
Creates a groundtruth map and bagfile containing groundtruth poses for a provided bagfile.
Creates a map for a provided bagfile, optionally merged with an existing map as well.
Runs a parameter sweep for the graph localizer on a bagfile and plots the results.
Plots localization results for each bagfile in a directory.
Plots localization information for a bagfile to a pdf. Uses either sparse mapping poses from the input bagfile or a seperate bagfile containing groundtruth poses for comparison with the localization estimates.
Generates localization estimates and plots results for a provided bagfile.