rp_xcore.xcore_flow_state_publisher module

class rp_xcore.xcore_flow_state_publisher.XCoreFlowStatePublisher

Bases: Node

A ROS 2 node that collects the status of active nodes in the ROS 2 network and publishes it to the ‘/xcore/flow_state’ topic.

collect_and_publish_status()

Collects the list of active nodes and publishes their status.

  • Publishes the JSON object to the ‘xcore/flow_state’ topic.

node_state_callback(msg)
rp_xcore.xcore_flow_state_publisher.main(args=None)