Adlink-ROS / neuronbot2

NeuronBot2 is the newest version of NeuronBot made by Adlink, which fully supports ROS1 and ROS2.
Apache License 2.0
100 stars 41 forks source link

Saving a gmapping map keeps getting error #15

Closed QQting closed 2 years ago

QQting commented 4 years ago

Try to save a map generated by gmapping but keeps getting error. The error msg is: [map_saver]: Failed to save the map: timeout

ros2 run nav2_map_server map_saver_cli -f my_map

Current workaround: try the same command much more times, it will probably succeed. The map_saver on Eloquent is also available.

QQting commented 3 years ago

The default timeout is 2 seconds which is too short. Try this:

ros2 run nav2_map_server map_saver_cli -f my_map --ros-args -p save_map_timeout:=10000
QQting commented 2 years ago

Seems to be solved in Galacitc