how to publish map in ros2 galactic?
Hi
I installed ros galactic on ubuntu 20.04 using this bash script (https://github.com/turtlebot/TurtleBo...), then I ran turtlebot4 simulation in depot and map its surrounding. I saved the map with
**
ros2 service call /slam_toolbox/save_map slam_toolbox/srv/SaveMap "name:
data: 'map_name'
**
then when I want to publish the map, and use
ros2 run nav2_map_server map_server $PWD/map_name.yaml
I get stuck with the following log
[INFO] [1662497993.651852411] [map_server]:
map_server lifecycle node launched.
Waiting on external lifecycle transitions to activate
See https://design.ros2.org/articles/node_lifecycle.html for more information.
[INFO] [1662497993.651943245] [map_server]: Creating
here is the available service list:
ros2 service list
/map_server/change_state
/map_server/describe_parameters
/map_server/get_available_states
/map_server/get_available_transitions
/map_server/get_parameter_types
/map_server/get_parameters
/map_server/get_state
/map_server/get_transition_graph
/map_server/list_parameters
/map_server/set_parameters
/map_server/set_parameters_atomically
and here is the result of node list
ros2 node list
/map_server
Am I doing something wrong? should I add any other node to this?