mrs_lib
Various reusable classes, functions and utilities for use in MRS projects
Loading...
Searching...
No Matches
mrs_lib::errorgraph::node_id_t Struct Reference

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").

Detailed Description

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").


The documentation for this struct was generated from the following file:
  • /home/runner/work/mrs_lib/mrs_lib/include/mrs_lib/errorgraph/node_id.h