Public Member Functions | Private Member Functions | Private Attributes | Friends
mavplugin::DistanceSensorPlugin Class Reference

Distance sensor plugin. More...

Inheritance diagram for mavplugin::DistanceSensorPlugin:
Inheritance graph
[legend]

List of all members.

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
UASuas

Friends

class DistanceSensorItem

Detailed Description

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.


The documentation for this class was generated from the following file:


mavros_extras
Author(s): Vladimir Ermakov
autogenerated on Sat Jun 8 2019 19:55:27