osrf / ros2_test_cases

Tracking of tests to be performed on a ROS 2 release
16 stars 4 forks source link

Rviz #868

Closed Yadunund closed 1 year ago

Yadunund commented 1 year ago

This is a sanity check to ensure that the GUI tools aren't fundamentally broken.

Setup

Links

Checks


You can find the code used to generate this test case here

iuhilnehc-ynos commented 1 year ago

Use ros2 launch dummy_robot_bringup dummy_robot_bringup_launch.py instead of ros2 launch dummy_robot_bringup dummy_robot_bringup.launch.py.

log

# terminal 1 ```shell $ 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 ```shell $ 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

Problems

After unchecking and checking the LaserScan checkbox, the LaserScan status in the Displays becomes unstable (switch state repeatedly Error <-> Ok ). rviz2 in the console outputs error information frequently.

image image animation

Fixed?

https://github.com/ros2/rviz/issues/852#issuecomment-1523704615

hwoithe commented 1 year ago

For what it's worth, I am also seeing the same behavior.

Yadunund commented 1 year ago

Thanks for highlighting the issue. I've opened this discussion to keep track of it https://github.com/osrf/ros2_test_cases/discussions/1053

Since other rviz functionality works, I'll close this ticket.