osrf / ros2_test_cases

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

RQT #1468

Closed marcoag closed 4 months ago

marcoag commented 5 months ago

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

Configuration

Links

Process

Check RQT

Launch using the rqt command.

The rqt window should be generally usable and should be able to populate some of the discovered plugins.

Actions

# StdIn - terminal 1
ros2 launch dummy_robot_bringup dummy_robot_bringup_launch.py
# StdIn - terminal 2
rqt

In the RQT window, select 'Plugins > Visualization > Plot' in the dropdown menu. In the window that opens, set the Topic to /joint_states/position[0]. You should see a Sine wave.

With 'Plugins > Introspection > Node Graph' you should see a network of the nodes and topics that are being published and subscribed by the dummy robot.

With 'Plugins > Logging > Bag' you should be able record a ROS Bag file.

With 'Plugins > Topic > Topic Monitor' you should be able to check the /joint_states topic and view messages streaming in.

Expected Result

Rqt runs smoothly and the plugins work as expected.

Kartik9250 commented 5 months ago

i would like to work on this

Kartik9250 commented 5 months ago

I found the following issues with rqt:

  1. Vizualization: The rqt window goes lagging and goes unresponsive, by pressing wait it continues but still lags. Screenshot from 2024-05-03 15-39-58

  2. Bag file Recording:

    • The terminal prompts some errors but it is able to save bag file. Though they are empty Screenshot from 2024-05-03 21-35-36 Screenshot from 2024-05-03 21-36-11 Screenshot from 2024-05-03 21-40-38

    • Also, the ui doesn't has a stop or pause button, we straight away just have to save the bag file. or it might be disabled due to those errors though I am not sure. Screenshot from 2024-05-03 15-43-03

  3. Topic monitor: It works alright. But it takes a while to load data for the selected topic, it shows unknown for a few seconds at first. Data for four topics still can be seen as unknown, not sure if that's intended. Screenshot from 2024-05-03 21-31-29

One more thing that I would like to add, I found resizing the window a bit laggy.

samuel-ongzx commented 5 months ago

Thanks @Kartik9250. Found similar result, except that rqt was not laggy on resizing.

Setup:

Additional Steps needed:

Test Result:

Verification: Same rqt rosbag error described in #1470. Will wait for fix and validate this again.

image