Public Member Functions | Private Member Functions | Private Attributes | List of all members
mavros::extra_plugins::ObstacleDistancePlugin Class Reference

Obstacle distance plugin. More...

Inheritance diagram for mavros::extra_plugins::ObstacleDistancePlugin:
Inheritance graph
[legend]

Public Member Functions

Subscriptions get_subscriptions ()
 
void initialize (UAS &uas_)
 
 ObstacleDistancePlugin ()
 
- Public Member Functions inherited from mavros::plugin::PluginBase
virtual ~PluginBase ()
 

Private Member Functions

void obstacle_cb (const sensor_msgs::LaserScan::ConstPtr &req)
 Send obstacle distance array to the FCU. More...
 

Private Attributes

ros::NodeHandle obstacle_nh
 
ros::Subscriber obstacle_sub
 

Additional Inherited Members

- Public Types inherited from mavros::plugin::PluginBase
typedef boost::shared_ptr< PluginBase const > ConstPtr
 
typedef mavconn::MAVConnInterface::ReceivedCb HandlerCb
 
typedef std::tuple< mavlink::msgid_t, const char *, size_t, HandlerCbHandlerInfo
 
typedef boost::shared_ptr< PluginBasePtr
 
typedef std::vector< HandlerInfoSubscriptions
 
- Protected Member Functions inherited from mavros::plugin::PluginBase
virtual void connection_cb (bool connected)
 
void enable_connection_cb ()
 
HandlerInfo make_handler (void(_C::*fn)(const mavlink::mavlink_message_t *, _T &))
 
HandlerInfo make_handler (const mavlink::msgid_t id, void(_C::*fn)(const mavlink::mavlink_message_t *msg, const mavconn::Framing framing))
 
 PluginBase ()
 
- Protected Attributes inherited from mavros::plugin::PluginBase
UASm_uas
 

Detailed Description

Obstacle distance plugin.

Publishes obstacle distance array to the FCU, in order to assist in an obstacle avoidance flight.

See also
obstacle_cb()

Definition at line 35 of file obstacle_distance.cpp.


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


mavros_extras
Author(s): Vladimir Ermakov
autogenerated on Mon Jul 8 2019 03:20:18