forked from eborghi10/create_autonomy
-
-
Notifications
You must be signed in to change notification settings - Fork 38
Localization
Emiliano Borghi edited this page Mar 29, 2020
·
14 revisions
The following page covers how to run localization algorithms with both the simulator (Gazebo) and the real robot:
# TODO
# Run cartographer in pure localization mode
export LOCALIZATION=pure_localization
# Specify the pbstream file associated with the environment
export PBSTREAM=house_map
# If you want to see RViz, there is a launch file with a predefined setting
export RVIZ=true
export RVIZ_CONFIG=cartographer
# Run gazebo in any environment (like a House)
roslaunch ca_gazebo create_house.launch
# Execute pure localization node
roslaunch ca_cartographer pure_localization.launch load_state_filename:=<PbstreamFullPath>
# TODO
If you are going to use cartographer
with pure localization, you don't need a PGM. cartographer
will load the state of the pbstream and will do the localization based on that.