osrf / ros2_test_cases

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

Topic executables in `demo_nodes_py` #1219

Closed marcoag closed 4 months ago

marcoag commented 4 months ago

Configuration

Process

Step 1 - Check listener and talker

# StdIn - terminal 1
ros2 run demo_nodes_py talker
# StdIn - terminal 2
ros2 run demo_nodes_py listener

Step 2 - Check listener and talker QOS

# StdIn - terminal 1
ros2 run demo_nodes_py talker_qos
# StdIn - terminal 2
ros2 run demo_nodes_py listener_qos

Step 3 - Check serialized listener and talker

# StdIn - terminal 1
ros2 run demo_nodes_py talker
# StdIn - terminal 2
ros2 run demo_nodes_py listener_serialized
mikaelarguedas commented 4 months ago

Step 1 and 2

:heavy_check_mark: test passed

talker <-> listener ok talker <-> listener_qos ok talker_qos <-> listener_qos ok talker_qos <-> listener -> proper warning displayed

Step 3 - Check serialized listener and talker

:heavy_check_mark: test passed (I suppose)

console output ``` root@d8ff93e471d7:/# ros2 run demo_nodes_py listener_serialized [INFO] [1714857572.270797365] [serialized_subscriber]: I heard: "b'\x00\x01\x00\x00\x0f\x00\x00\x00Hello World: 0\x00\x00'" [INFO] [1714857573.248025093] [serialized_subscriber]: I heard: "b'\x00\x01\x00\x00\x0f\x00\x00\x00Hello World: 1\x00\x00'" [INFO] [1714857574.248065217] [serialized_subscriber]: I heard: "b'\x00\x01\x00\x00\x0f\x00\x00\x00Hello World: 2\x00\x00'" ```