3#include <mrs_msgs/msg/errorgraph_node_id.hpp>
9 using errorgraph_node_id_msg_t = mrs_msgs::msg::ErrorgraphNodeID;
41 inline errorgraph_node_id_msg_t
to_msg()
const
43 errorgraph_node_id_msg_t ret;
51 inline std::ostream& operator<<(std::ostream& os,
const node_id_t& node_id)
53 return os << node_id.node <<
"." << node_id.component;
All mrs_lib functions, classes, variables and definitions are contained in this namespace.
Definition attitude_converter.h:24
Identifies a specific component within a ROS node for error reporting.
Definition node_id.h:21
errorgraph_node_id_msg_t to_msg() const
Convert to a ROS message.
Definition node_id.h:41
bool operator==(const node_id_t &other) const
Equality comparison by both node and component.
Definition node_id.h:26
std::string component
Name of the logical component within the node (e.g. "lat_gps", "main").
Definition node_id.h:23
static node_id_t from_msg(const errorgraph_node_id_msg_t &msg)
Construct from a ROS message.
Definition node_id.h:32
std::string node
Name of the ROS node (e.g. "EstimationManager", "HwApiManager").
Definition node_id.h:22