rosdep init
rosdep update --rosdistro $ROS_DISTRO
rosdep install -i --from-path src --rosdistro $ROS_DISTRO -y
Terminal 1
ros2 launch cartographer_slam cartographer.launch.py use_sim_time:=True
Terminal 2
ros2 run teleop_twist_keyboard teleop_twist_keyboard
ros2 launch localization_server localization.launch.py map_file:=warehouse_map_sim.yaml use_sim_time:=True rviz:=True
ros2 launch path_planner_server path_planner_server.launch.py type_simulation:=sim_robot use_sim_time:=True
ros2 launch path_planner_server navigation.launch.py type_simulation:=sim_robot use_sim_time:=True map_file:=warehouse_map_sim_edit.yaml
Terminal 1
ros2 launch cartographer_slam cartographer.launch.py use_sim_time:=False
Terminal 2
ros2 run teleop_twist_keyboard teleop_twist_keyboard
ros2 launch localization_server localization.launch.py map_file:=warehouse_map_real.yaml use_sim_time:=False
ros2 launch path_planner_server navigation.launch.py type_simulation:=real_robot use_sim_time:=False
ros2 launch path_planner_server navigation.launch.py type_simulation:=real_robot use_sim_time:=false map_file:=warehouse_map_real.yaml