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

PX4 Optical Flow plugin. More...

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

Public Member Functions

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

Private Member Functions

void handle_optical_flow_rad (const mavlink::mavlink_message_t *msg, mavlink::common::msg::OPTICAL_FLOW_RAD &flow_rad)
 
void send_cb (const mavros_msgs::OpticalFlowRad::ConstPtr msg)
 

Private Attributes

ros::NodeHandle flow_nh
 
ros::Publisher flow_rad_pub
 
ros::Subscriber flow_rad_sub
 
std::string frame_id
 
ros::Publisher range_pub
 
double ranger_fov
 
double ranger_max_range
 
double ranger_min_range
 
ros::Publisher temp_pub
 

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

PX4 Optical Flow plugin.

This plugin can publish data from PX4Flow camera to ROS

Definition at line 32 of file px4flow.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