-
Notifications
You must be signed in to change notification settings - Fork 4
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
Rviz #868
Comments
Use log
terminal 1$ ros2 launch dummy_robot_bringup dummy_robot_bringup_launch.py
[INFO] [launch]: All log files can be found below /home/chenlh/.ros/log/2023-05-05-16-13-43-514918-OptiPlex-7080-1641639
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [dummy_map_server-1]: process started with pid [1641653]
[INFO] [robot_state_publisher-2]: process started with pid [1641655]
[INFO] [dummy_joint_states-3]: process started with pid [1641657]
[INFO] [dummy_laser-4]: process started with pid [1641659]
[dummy_laser-4] [INFO] [1683274423.710153764] [dummy_laser]: angle inc: 0.004363
[dummy_laser-4] [INFO] [1683274423.710216758] [dummy_laser]: scan size: 1081
[dummy_laser-4] [INFO] [1683274423.710224097] [dummy_laser]: scan time increment: 0.000028
[robot_state_publisher-2] [INFO] [1683274423.714457346] [robot_state_publisher]: got segment single_rrbot_camera_link
[robot_state_publisher-2] [INFO] [1683274423.714513797] [robot_state_publisher]: got segment single_rrbot_hokuyo_link
[robot_state_publisher-2] [INFO] [1683274423.714523662] [robot_state_publisher]: got segment single_rrbot_link1
[robot_state_publisher-2] [INFO] [1683274423.714529837] [robot_state_publisher]: got segment single_rrbot_link2
[robot_state_publisher-2] [INFO] [1683274423.714535203] [robot_state_publisher]: got segment single_rrbot_link3
[robot_state_publisher-2] [INFO] [1683274423.714539993] [robot_state_publisher]: got segment world terminal 2$ rviz2
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
[INFO] [1683274444.811177187] [rviz2]: Stereo is NOT SUPPORTED
[INFO] [1683274444.811222659] [rviz2]: OpenGl version: 4.6 (GLSL 4.6)
[INFO] [1683274444.821606556] [rviz2]: Stereo is NOT SUPPORTED
[ERROR] [1683274840.790165800] [rviz2]: Lookup would require extrapolation into the future. Requested time 1683274840.806912 but the latest data is at time 1683274840.789674, when looking up transform from frame [single_rrbot_hokuyo_link] to frame [world]
[ERROR] [1683274840.874816336] [rviz2]: Lookup would require extrapolation into the future. Requested time 1683274840.873580 but the latest data is at time 1683274840.849708, when looking up transform from frame [single_rrbot_hokuyo_link] to frame [world]
[ERROR] [1683274840.971003047] [rviz2]: Lookup would require extrapolation into the future. Requested time 1683274840.973723 but the latest data is at time 1683274840.969704, when looking up transform from frame [single_rrbot_hokuyo_link] to frame [world]
... Expect
ProblemsAfter unchecking and checking the Fixed? |
For what it's worth, I am also seeing the same behavior. |
Thanks for highlighting the issue. I've opened this discussion to keep track of it #1053 Since other rviz functionality works, I'll close this ticket. |
This is a sanity check to ensure that the GUI tools aren't fundamentally broken.
Setup
Links
Checks
Check Rviz
Launch using the
rviz2
command.The rviz window should be generally usable and should be able to load some of the discovered visualizations.
Loading visualizations into the tree and using the mouse to navigate through the virtual workspace is sufficient for this test.
details
Try
# User input in terminal 1 ros2 launch dummy_robot_bringup dummy_robot_bringup.launch.py
# User input in terminal 2 rviz2
In RViz, in the left pane, click 'Add'. A window will pop up. In that window, under 'rviz_default_plugins', select 'TF' and click 'OK'. Under 'Displays', in the 'Global Options' section, change the 'Fixed Frame' to '/world'.
In RViz, in the left pane, click 'Add'. A window will pop up. In that window, under 'rviz_default_plugins', select 'LaserScan' and click 'OK'. Under 'Displays', in the 'LaserScan' section, change the 'Topic' to '/scan'.
Expect
You should see the dummy robot's kinematic tree waving back and forth in the rviz window.
You should see a laser scan emitting from the waving end of the dummy robot.
Play around, move the camera, enable and disable things in the 'Displays' pane. RViz should be stable.
You can find the code used to generate this test case here
The text was updated successfully, but these errors were encountered: