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

RViz2 can't show the correct model #29

Closed
EndlessLoops opened this issue Aug 17, 2022 · 9 comments
Closed

RViz2 can't show the correct model #29

EndlessLoops opened this issue Aug 17, 2022 · 9 comments
Assignees
Labels
enhancement New feature or request

Comments

@EndlessLoops
Copy link

I found it always can;t show the correct model in RViz2.

RViz2_error_model

$ ros2 launch turtlebot4_viz view_model.launch.py
[INFO] [launch]: All log files can be found below /home/ubuntu/.ros/log/2022-08-17-10-02-09-090179-NUC10I5-3914
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [rviz2-1]: process started with pid [3916]
[rviz2-1] [INFO] [1660701729.625289952] [rviz2]: Stereo is NOT SUPPORTED
[rviz2-1] [INFO] [1660701729.625436821] [rviz2]: OpenGl version: 4.6 (GLSL 4.6)
[rviz2-1] [INFO] [1660701729.650154951] [rviz2]: Stereo is NOT SUPPORTED
[rviz2-1] [INFO] [1660701729.858087504] [rviz2]: Stereo is NOT SUPPORTED
[rviz2-1] Warning: Invalid frame ID "wheel_drop_left" passed to canTransform argument source_frame - frame does not exist
[rviz2-1]          at line 156 in /tmp/binarydeb/ros-galactic-tf2-0.17.3/src/buffer_core.cpp
[rviz2-1] Warning: Invalid frame ID "wheel_drop_right" passed to canTransform argument source_frame - frame does not exist
[rviz2-1]          at line 156 in /tmp/binarydeb/ros-galactic-tf2-0.17.3/src/buffer_core.cpp
[rviz2-1] Warning: Invalid frame ID "wheel_drop_left" passed to canTransform argument source_frame - frame does not exist
[rviz2-1]          at line 156 in /tmp/binarydeb/ros-galactic-tf2-0.17.3/src/buffer_core.cpp
[rviz2-1] Warning: Invalid frame ID "wheel_drop_right" passed to canTransform argument source_frame - frame does not exist
[rviz2-1]          at line 156 in /tmp/binarydeb/ros-galactic-tf2-0.17.3/src/buffer_core.cpp
[rviz2-1] Warning: Invalid frame ID "wheel_drop_left" passed to canTransform argument source_frame - frame does not exist
[rviz2-1]          at line 156 in /tmp/binarydeb/ros-galactic-tf2-0.17.3/src/buffer_core.cpp
[rviz2-1] Warning: Invalid frame ID "wheel_drop_right" passed to canTransform argument source_frame - frame does not exist
[rviz2-1]          at line 156 in /tmp/binarydeb/ros-galactic-tf2-0.17.3/src/buffer_core.cpp
[rviz2-1] Warning: Invalid frame ID "wheel_drop_left" passed to canTransform argument source_frame - frame does not exist
[rviz2-1]          at line 156 in /tmp/binarydeb/ros-galactic-tf2-0.17.3/src/buffer_core.cpp
[rviz2-1] Warning: Invalid frame ID "wheel_drop_right" passed to canTransform argument source_frame - frame does not exist
[rviz2-1]          at line 156 in /tmp/binarydeb/ros-galactic-tf2-0.17.3/src/buffer_core.cpp
[rviz2-1] Warning: Invalid frame ID "wheel_drop_left" passed to canTransform argument source_frame - frame does not exist
[rviz2-1]          at line 156 in /tmp/binarydeb/ros-galactic-tf2-0.17.3/src/buffer_core.cpp
[rviz2-1] Warning: Invalid frame ID "wheel_drop_right" passed to canTransform argument source_frame - frame does not exist
[rviz2-1]          at line 156 in /tmp/binarydeb/ros-galactic-tf2-0.17.3/src/buffer_core.cpp
@EndlessLoops EndlessLoops added the enhancement New feature or request label Aug 17, 2022
@roni-kreinin
Copy link
Contributor

RVIZ is showing the robot model that is published to the /robot_description topic. Can you call cat /etc/turtlebot4 on the RPi and make sure you are using the Lite image?

@EndlessLoops
Copy link
Author

I have two robot. I use the tb4-standard and tb4-lite at the same time. Tb4-standard's porblem is that RViz can't show the correct model .

@roni-kreinin
Copy link
Contributor

Have you configured the ROS_DOMAIN_ID for each robot? You cannot have both robots on the same ROS_DOMAIN_ID otherwise their topics will interfere.

@EndlessLoops
Copy link
Author

EndlessLoops commented Aug 17, 2022

I did it . They have different ROS_DOMAIN_ID and their communication work fine.

@roni-kreinin
Copy link
Contributor

Is the screenshot posted above when you are trying to view the Standard in RVIZ?

@EndlessLoops
Copy link
Author

Yes,it always show it .

@roni-kreinin
Copy link
Contributor

It is showing the correct model. Are you referring to the error messages from rviz2?

@EndlessLoops
Copy link
Author

Can't you see the Create® 3 multizone bumper separating from the robot in the above screenshot ?

@roni-kreinin
Copy link
Contributor

This is just a visual bug. I already have an open ticket on the create3_sim repo (iRobotEducation/create3_sim#170) so I will close this as duplicate.

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

No branches or pull requests

2 participants