Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map not loaded when using namespaces #3618

Closed
FiIipe opened this issue Jun 9, 2023 · 0 comments
Closed

Map not loaded when using namespaces #3618

FiIipe opened this issue Jun 9, 2023 · 0 comments

Comments

@FiIipe
Copy link
Contributor

FiIipe commented Jun 9, 2023

I noticed that the map is not loaded on RVIZ when the navigation stack is launched with namespaces.

Bug report

Required Info:

  • Operating System: Ubuntu 22.04
  • ROS2 Version: Rolling
  • Version or commit hash: Rolling
  • DDS implementation: CycloneDDS

Steps to reproduce issue

source /opt/ros/rolling/setup.bash
export TURTLEBOT3_MODEL=waffle
export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/opt/ros/rolling/share/turtlebot3_gazebo/models
ros2 launch nav2_bringup tb3_simulation_launch.py headless:=False use_namespace:=True namespace:=robot_lindo

Expected behavior

RVIZ shall show the map

Actual behavior

RVIZ does not show the map

Additional information

On rviz_launch.py it's necessary to add ('/map', 'map'),

remappings=[('/map', 'map'),
            ('/tf', 'tf'),
            ('/tf_static', 'tf_static'),
            ('/goal_pose', 'goal_pose'),
            ('/clicked_point', 'clicked_point'),
            ('/initialpose', 'initialpose')])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants