billmania / roboquest_core

The backend functionality for the RoboQuest project
1 stars 0 forks source link

Provide details about the ROS graph #72

Open billmania opened 1 month ago

billmania commented 1 month ago

See https://github.com/billmania/roboquest_ui/issues/146

Implement the necessary functionality to support the first section of the rq_ui Issue above.

billmania commented 1 month ago

There are two methods in the rclpy.node.Node class: get_topic_names_and_types() and get_service_names_and_types(). These will retrieve the current list of, respectively, the available topics and the available services. Each entry will includes its associated interface.

To get the list of attributes, use the command

ros2 interface show <typeName>

and parse the output.

billmania commented 1 week ago

Preserved in the branch, but not released.