The SystemMonitor node is a monitoring tool used to observe, evaluate and showcase the operational status of the ROS2 nodes. The monitored nodes periodically publish their current state and health quality. The tool provides a summarized system health status of all the nodes it monitors.
- Humble
ament_cmakerclcppstd_msgsstd_srvs
sonia_common_ros2
- Name:
system_monitor
| Type | Name | Direction | Message/Service Type | Description |
|---|---|---|---|---|
| Topic | /system_monitor/node_status |
Subscribed | sonia_common_ros2/msg/NodeStatus |
Message contains stats from a node |
| Topic | /system_monitor/system_status |
Published | sonia_common_ros2/msg/SystemStatus |
Message contains a list of all monitored nodes and their stats |
To build the project, the following commands should be run directly from your ROS2 workspace.
colcon build --packages-select sonia_deploy --symlink-install
source install/setup.bashRequired environment variables to launch the project
export AUV={prototype_identifier}replace {prototype_identifier} with available options: AUV8 | LITE1.
The command launchs the mission server
ros2 launch sonia_deploy launch.pyros2 node list
ros2 node info /system_monitor
ros2 topic echo /system_monitor/node_status
ros2 param list /system_monitor