Distance sensor plugin. More...
Public Member Functions | |
DistanceSensorPlugin () | |
const message_map | get_rx_handlers () |
void | initialize (UAS &uas_) |
Private Member Functions | |
void | distance_sensor (uint32_t time_boot_ms, uint32_t min_distance, uint32_t max_distance, uint32_t current_distance, uint8_t type, uint8_t id, uint8_t orientation, uint8_t covariance) |
void | handle_distance_sensor (const mavlink_message_t *msg, uint8_t sysid, uint8_t compid) |
Private Attributes | |
ros::NodeHandle | dist_nh |
std::unordered_map< uint8_t, DistanceSensorItem::Ptr > | sensor_map |
UAS * | uas |
Friends | |
class | DistanceSensorItem |
Distance sensor plugin.
This plugin allows publishing distance sensor data, which is connected to an offboard/companion computer through USB/Serial, to the FCU or vice-versa.
Definition at line 106 of file distance_sensor.cpp.