Use_sim_time for real robot


When using real robot should I use use_sim_time: ‘True’? I think, it should be ‘False’, but I can not find this info in the material.

Thank you in advance

Hi @peterborkuti ,

Yes, you are correct. the use_sim_time variable should be set to False when you are running your programs on the real robot.

Since this issue is specific to ROS2 Navigation course, make sure you set use_sim_time variable in the launch files to False of mapper, map_server, localization and path_planner and in the yaml config files to false of amcl, planner, controller, recoveries, bt_navigator.
Note that launch files use False and config files use false.


1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.