![]() |
mrs_lib
Various reusable classes, functions and utilities for use in MRS projects
|
Identifies a specific component within a ROS node for error reporting. More...
#include <node_id.h>
Public Member Functions | |
| bool | operator== (const node_id_t &other) const |
| Equality comparison by both node and component. | |
| errorgraph_node_id_msg_t | to_msg () const |
| Convert to a ROS message. | |
Static Public Member Functions | |
| static node_id_t | from_msg (const errorgraph_node_id_msg_t &msg) |
| Construct from a ROS message. | |
Public Attributes | |
| std::string | node |
| Name of the ROS node (e.g. "EstimationManager", "HwApiManager"). | |
| std::string | component |
| Name of the logical component within the node (e.g. "lat_gps", "main"). | |
Identifies a specific component within a ROS node for error reporting.
A single ROS node (e.g. "EstimationManager") may contain multiple logical components (e.g. "lat_gps", "alt_garmin") that report errors independently. The node_id_t uniquely identifies such a component within the Errorgraph.
Formatted as "node.component" for display (e.g. "EstimationManager.lat_gps").