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

Problem visualizing in Rviz #134

Open
Cavalletta98 opened this issue Feb 15, 2023 · 3 comments
Open

Problem visualizing in Rviz #134

Cavalletta98 opened this issue Feb 15, 2023 · 3 comments
Assignees
Labels

Comments

@Cavalletta98
Copy link

Cavalletta98 commented Feb 15, 2023

Hi, i'm running ubuntu 20.04 with ROS Foxy and i'm not able to use Rviz for SLAM navigation.
I'm running the following commands on different terminals:

  • ros2 launch jackal_gazebo jackal_world.launch.py
  • ros2 launch jackal_navigation nav2.launch.py slam:=true use_sim_time:=true
  • ros2 launch jackal_viz view_robot.launch.py
    For the command ros2 launch jackal_navigation nav2.launch.py slam:=true use_sim_time:=true, i'm getting this error [controller_server-2] [INFO] [1676476626.544682832] [local_costmap.local_costmap_rclcpp_node]: Message Filter dropping message: frame 'front_laser' at time 1581.062 for reason 'Unknown'.
    For the command ros2 launch jackal_viz view_robot.launch.py , i'm getting this warning [rviz2-1] Warning: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist [rviz2-1] at line 133 in /tmp/binarydeb/ros-foxy-tf2-0.13.13/src/buffer_core.cpp and i'm not able to see the robot like in the picture atached
    rviz
    rviz1
    Can you help me?
@tonybaltovski
Copy link
Member

This issue of not seeing the information in rviz is due to your fixed frame being map which is not being published. Switch it to base_link and it will work.

@Cavalletta98
Copy link
Author

It Is not normal that the map Is not published. Since i have to send a goal to the jackal,i should be in the map frame as fixed frame

@tonybaltovski
Copy link
Member

tonybaltovski commented Feb 16, 2023

Yes but rviz is behaving as expected when the frame is missing. #132 is the root cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants