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

Setpoint RAW plugin. More...

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

List of all members.

Public Member Functions

const message_map get_rx_handlers ()
 Return map with message rx handlers.
void initialize (UAS &uas_)
 Plugin initializer.
 SetpointRawPlugin ()

Private Member Functions

void attitude_cb (const mavros_msgs::AttitudeTarget::ConstPtr &req)
void global_cb (const mavros_msgs::GlobalPositionTarget::ConstPtr &req)
void handle_attitude_target (const mavlink_message_t *msg, uint8_t sysid, uint8_t compid)
void handle_position_target_global_int (const mavlink_message_t *msg, uint8_t sysid, uint8_t compid)
void handle_position_target_local_ned (const mavlink_message_t *msg, uint8_t sysid, uint8_t compid)
void local_cb (const mavros_msgs::PositionTarget::ConstPtr &req)
void set_attitude_target (uint32_t time_boot_ms, uint8_t type_mask, Eigen::Quaterniond &orientation, Eigen::Vector3d &body_rate, float thrust)
 Message sepecification: http://mavlink.org/messages/common#SET_ATTITIDE_TARGET.
void set_position_target_global_int (uint32_t time_boot_ms, uint8_t coordinate_frame, uint8_t type_mask, int32_t lat_int, int32_t lon_int, float alt, Eigen::Vector3d &velocity, Eigen::Vector3d &af, float yaw, float yaw_rate)
 Message specification: http://mavlink.org/messages/common#SET_POSITION_TARGET_GLOBAL_INT.

Private Attributes

ros::Subscriber attitude_sub
ros::Subscriber global_sub
ros::Subscriber local_sub
ros::NodeHandle sp_nh
ros::Publisher target_attitude_pub
ros::Publisher target_global_pub
ros::Publisher target_local_pub
UASuas

Friends

class SetPositionTargetLocalNEDMixin

Detailed Description

Setpoint RAW plugin.

Send position setpoints and publish current state (return loop). User can decide what set of filed needed for operation via IGNORE bits.

Definition at line 33 of file setpoint_raw.cpp.


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


mavros
Author(s): Vladimir Ermakov
autogenerated on Sat Jun 8 2019 19:55:20