osrf / ros2_test_cases

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

Check ROS 2 Node CLI #1411

Closed marcoag closed 6 months ago

marcoag commented 6 months ago

Configuration

Process

Step 1 - Check info

Actions

Launch a node

# StdIn - terminal 1
ros2 launch demo_nodes_cpp talker_listener_launch.py

Get the info for the talker that was launched.

# StdIn - terminal 2
ros2 node info /talker

Expected Results

You should see something similar to the following

# StdOut - terminal 2
Subscribers:
  /parameter_events: rcl_interfaces/msg/ParameterEvent
Publishers:
  /chatter: std_msgs/msg/String
  /parameter_events: rcl_interfaces/msg/ParameterEvent
  /rosout: rcl_interfaces/msg/Log
Service Servers:
  /talker/describe_parameters: rcl_interfaces/srv/DescribeParameters
  /talker/get_parameter_types: rcl_interfaces/srv/GetParameterTypes
  /talker/get_parameters: rcl_interfaces/srv/GetParameters
  /talker/list_parameters: rcl_interfaces/srv/ListParameters
  /talker/set_parameters: rcl_interfaces/srv/SetParameters
  /talker/set_parameters_atomically: rcl_interfaces/srv/SetParametersAtomically
Service Clients:

Action Servers:

Action Clients:

Step 2 - Check list

Actions

Launch a node

# StdIn - terminal 1
ros2 launch demo_nodes_cpp talker_listener_launch.py
# StdIn - terminal 2
ros2 node list

Expected Result

# StdOut - terminal 2
/listener
/talker
pradyum commented 6 months ago

Setup

Installation Changes

  1. openssl v1.1.1 - downloaded through choco
   PLATFORM INFORMATION
system           : Windows
platform info    : Windows-10-10.0.19041-SP0
release          : 10
processor        : Intel64 Family 6 Model 154 Stepping 4, GenuineIntel

   QOS COMPATIBILITY LIST
compatibility status    : No publisher/subscriber pairs found

   RMW MIDDLEWARE
middleware name    : rmw_cyclonedds_cpp

   ROS 2 INFORMATION
distribution name      : jazzy
distribution type      : ros2
distribution status    : pre-release
release platforms      : {'debian': ['bookworm'], 'rhel': ['9'], 'ubuntu': ['noble']}

Result

The checks are working as expected. This test has passed.

marcoag commented 6 months ago

Thanks!