Class ModeMonitor

Inheritance Relationships

Base Type

  • public rclcpp::Node

Class Documentation

class ModeMonitor : public rclcpp::Node

Based on mode inference and live updates from the system, this class monitors the live system state and renders a simple command-line view of the known resp. inferred state of all systems and system parts within the SMH file.

Public Functions

ModeMonitor()
ModeMonitor(const ModeMonitor&) = delete
std::shared_ptr<ModeInference> inference()
virtual ~ModeMonitor() = default

Protected Functions

virtual void refresh() const
virtual std::string header() const
virtual std::string format_line(const std::string&, unsigned int, unsigned int, unsigned int, const std::string&, const std::string&) const
inline const std::string MONITOR_HLINE(const std::string &label) const

Protected Attributes

std::shared_ptr<ModeInference> mode_inference_
std::string model_path_