Monitors the hardware connections and status of sensors (D456, D455, and LIDARs).
More...
Monitors the hardware connections and status of sensors (D456, D455, and LIDARs).
◆ HardwareMonitor()
HardwareMonitor::HardwareMonitor |
( |
| ) |
|
|
inline |
◆ check_connection()
void HardwareMonitor::check_connection |
( |
bool & |
valid_flag, |
|
|
const std::string & |
sensor_name |
|
) |
| |
|
inline |
Checks the connection status and logs a warning if no connection is detected.
- Parameters
-
valid_flag | The validity flag indicating the connection status. |
sensor_name | The name of the sensor. |
◆ reset_timer()
void HardwareMonitor::reset_timer |
( |
rclcpp::TimerBase::SharedPtr & |
timer, |
|
|
bool & |
valid_flag |
|
) |
| |
|
inline |
Resets the timer and sets the validity flag to true.
- Parameters
-
timer | The timer to reset. |
valid_flag | The validity flag to set. |
◆ all_sensors_timer_
rclcpp::TimerBase::SharedPtr HardwareMonitor::all_sensors_timer_ |
|
private |
◆ d455_subscriber_
rclcpp::Subscription<sensor_msgs::msg::Image>::SharedPtr HardwareMonitor::d455_subscriber_ |
|
private |
◆ d455_timer_
rclcpp::TimerBase::SharedPtr HardwareMonitor::d455_timer_ |
|
private |
◆ d455_valid_
bool HardwareMonitor::d455_valid_ |
|
private |
◆ d456_subscriber_
rclcpp::Subscription<sensor_msgs::msg::Image>::SharedPtr HardwareMonitor::d456_subscriber_ |
|
private |
◆ d456_timer_
rclcpp::TimerBase::SharedPtr HardwareMonitor::d456_timer_ |
|
private |
◆ d456_valid_
bool HardwareMonitor::d456_valid_ |
|
private |
◆ lidar1_subscriber_
rclcpp::Subscription<sensor_msgs::msg::LaserScan>::SharedPtr HardwareMonitor::lidar1_subscriber_ |
|
private |
◆ lidar1_timer_
rclcpp::TimerBase::SharedPtr HardwareMonitor::lidar1_timer_ |
|
private |
◆ lidar1_valid_
bool HardwareMonitor::lidar1_valid_ |
|
private |
◆ lidar2_subscriber_
rclcpp::Subscription<sensor_msgs::msg::LaserScan>::SharedPtr HardwareMonitor::lidar2_subscriber_ |
|
private |
◆ lidar2_timer_
rclcpp::TimerBase::SharedPtr HardwareMonitor::lidar2_timer_ |
|
private |
◆ lidar2_valid_
bool HardwareMonitor::lidar2_valid_ |
|
private |
The documentation for this class was generated from the following file: