Namespaces | Classes | Macros | Typedefs | Enumerations | Enumerator | Functions | Variables | Friends
Plugin

MAVROS Plugin system. More...

Collaboration diagram for Plugin:

Namespaces

 mavros
 
 mavros::plugin
 
 mavros::std_plugins
 

Classes

class  mavros::std_plugins::ActuatorControlPlugin
 ActuatorControl plugin. More...
 
class  mavros::std_plugins::AltitudePlugin
 Altitude plugin. More...
 
class  mavros::std_plugins::BatteryStatusDiag
 Battery diagnostic updater. More...
 
class  mavros::std_plugins::CommandPlugin
 Command plugin. More...
 
class  mavros::std_plugins::CommandTransaction
 
class  mavros::std_plugins::DummyPlugin
 Dummy plugin. More...
 
class  mavros::std_plugins::FTPPlugin
 FTP plugin. More...
 
class  mavros::std_plugins::FTPRequest
 FTP Request message abstraction class. More...
 
class  mavros::std_plugins::GlobalPositionPlugin
 Global position plugin. More...
 
class  mavros::std_plugins::HeartbeatStatus
 
class  mavros::std_plugins::HilPlugin
 Hil plugin. More...
 
class  mavros::std_plugins::HomePositionPlugin
 home position plugin. More...
 
class  mavros::std_plugins::HwStatus
 Hardware status (APM-only) More...
 
class  mavros::std_plugins::IMUPlugin
 IMU and attitude data publication plugin. More...
 
class  mavros::std_plugins::LocalPositionPlugin
 Local position plugin. Publish local position to TF, PositionStamped, TwistStamped and Odometry. More...
 
class  mavros::std_plugins::ManualControlPlugin
 Manual Control plugin. More...
 
class  mavros::std_plugins::MemInfo
 Memory usage diag (APM-only) More...
 
class  mavros::std_plugins::Parameter
 Parameter storage. More...
 
class  mavros::std_plugins::ParamPlugin
 Parameter manipulation plugin. More...
 
class  mavros::std_plugins::ParamSetOpt
 Parameter set transaction data. More...
 
struct  mavros::std_plugins::FTPRequest::PayloadHeader
 This is the payload which is in mavlink_file_transfer_protocol_t.payload. We pad the structure ourselves to 32 bit alignment to avoid usage of any pack pragmas. More...
 
class  mavros::plugin::PluginBase
 MAVROS Plugin base class. More...
 
class  mavros::std_plugins::RCIOPlugin
 RC IO plugin. More...
 
class  mavros::std_plugins::SafetyAreaPlugin
 Safety allopwed area plugin. More...
 
class  mavros::plugin::SetAttitudeTargetMixin< D >
 This mixin adds set_attitude_target() More...
 
class  mavros::std_plugins::SetpointAccelerationPlugin
 Setpoint acceleration/force plugin. More...
 
class  mavros::std_plugins::SetpointAttitudePlugin
 Setpoint attitude plugin. More...
 
class  mavros::std_plugins::SetpointPositionPlugin
 Setpoint position plugin. More...
 
class  mavros::std_plugins::SetpointRawPlugin
 Setpoint RAW plugin. More...
 
class  mavros::std_plugins::SetpointVelocityPlugin
 Setpoint velocity plugin. More...
 
class  mavros::plugin::SetPositionTargetGlobalIntMixin< D >
 This mixin adds set_position_target_global_int() More...
 
class  mavros::plugin::SetPositionTargetLocalNEDMixin< D >
 This mixin adds set_position_target_local_ned() More...
 
class  mavros::std_plugins::SystemStatusDiag
 System status diagnostic updater. More...
 
class  mavros::std_plugins::SystemStatusPlugin
 System status plugin. More...
 
class  mavros::std_plugins::SystemTimePlugin
 System time plugin. More...
 
class  mavros::std_plugins::TDRRadioPlugin
 3DR Radio plugin. More...
 
class  mavros::plugin::TF2ListenerMixin< D >
 This mixin adds TF2 listener thread to plugin. More...
 
class  mavros::std_plugins::TimeSyncStatus
 
class  mavros::std_plugins::VfrHudPlugin
 VFR HUD plugin. More...
 
class  mavros::std_plugins::WaypointItem
 
class  mavros::std_plugins::WaypointPlugin
 Mission manupulation plugin. More...
 
class  mavros::std_plugins::WindEstimationPlugin
 Wind estimation plugin. More...
 

Macros

#define SERVICE_IDLE_CHECK()
 

Typedefs

using BatteryMsg = mavros_msgs::BatteryStatus
 
using mavros::plugin::PluginBase::ConstPtr = boost::shared_ptr< PluginBase const >
 
using mavros::plugin::PluginBase::HandlerCb = mavconn::MAVConnInterface::ReceivedCb
 generic message handler callback More...
 
using mavros::plugin::PluginBase::HandlerInfo = std::tuple< mavlink::msgid_t, const char *, size_t, HandlerCb >
 Tuple: MSG ID, MSG NAME, message type into hash_code, message handler callback. More...
 
using mavros::std_plugins::CommandPlugin::L_CommandTransaction = std::list< CommandTransaction >
 
typedef std::lock_guard< std::recursive_mutex > mavros::plugin::lock_guard
 
using mavros::std_plugins::lock_guard = std::lock_guard< std::mutex >
 
using mavros::std_plugins::RCIOPlugin::lock_guard = std::lock_guard< std::mutex >
 
using mavros::std_plugins::WaypointPlugin::lock_guard = std::lock_guard< std::recursive_mutex >
 
using mavros::std_plugins::ParamPlugin::lock_guard = std::lock_guard< std::recursive_mutex >
 
using mavros::std_plugins::SystemStatusPlugin::M_VehicleInfo = std::unordered_map< uint16_t, mavros_msgs::VehicleInfo >
 
using mavros::std_plugins::MRES = mavlink::common::MAV_MISSION_RESULT
 
using mavros::std_plugins::Parameter::MT = mavlink::common::MAV_PARAM_TYPE
 
using mavros::std_plugins::Parameter::PARAM_SET = mavlink::common::msg::PARAM_SET
 
using mavros::plugin::PluginBase::Ptr = boost::shared_ptr< PluginBase >
 
using mavros::plugin::PluginBase::Subscriptions = std::vector< HandlerInfo >
 Subscriptions vector. More...
 
using mavros::std_plugins::SyncPoseThrust = message_filters::Synchronizer< SyncPoseThrustPolicy >
 
using mavros::std_plugins::SyncPoseThrustPolicy = message_filters::sync_policies::ApproximateTime< geometry_msgs::PoseStamped, mavros_msgs::Thrust >
 
using mavros::std_plugins::SyncTwistThrust = message_filters::Synchronizer< SyncTwistThrustPolicy >
 
using mavros::std_plugins::SyncTwistThrustPolicy = message_filters::sync_policies::ApproximateTime< geometry_msgs::TwistStamped, mavros_msgs::Thrust >
 
using mavros::std_plugins::SystemTimePlugin::TSM = UAS::timesync_mode
 
typedef std::unique_lock< std::recursive_mutex > mavros::plugin::unique_lock
 
using mavros::std_plugins::unique_lock = std::unique_lock< std::mutex >
 
using mavros::std_plugins::WaypointPlugin::unique_lock = std::unique_lock< std::recursive_mutex >
 
using mavros::std_plugins::ParamPlugin::unique_lock = std::unique_lock< std::recursive_mutex >
 
typedef std::vector< uint8_t > mavros::std_plugins::FTPPlugin::V_FileData
 This type used in servicies to store 'data' fileds. More...
 
using mavros::std_plugins::Parameter::XmlRpcValue = XmlRpc::XmlRpcValue
 

Enumerations

enum  mavros::std_plugins::FTPRequest::ErrorCode : uint8_t {
  mavros::std_plugins::FTPRequest::kErrNone, mavros::std_plugins::FTPRequest::kErrFail, mavros::std_plugins::FTPRequest::kErrFailErrno, mavros::std_plugins::FTPRequest::kErrInvalidDataSize,
  mavros::std_plugins::FTPRequest::kErrInvalidSession, mavros::std_plugins::FTPRequest::kErrNoSessionsAvailable, mavros::std_plugins::FTPRequest::kErrEOF, mavros::std_plugins::FTPRequest::kErrUnknownCommand,
  mavros::std_plugins::FTPRequest::kErrFailFileExists, mavros::std_plugins::FTPRequest::kErrFailFileProtected
}
 Error codes returned in Nak response. More...
 
enum  mavros::std_plugins::FTPPlugin::OP {
  mavros::std_plugins::FTPPlugin::OP::IDLE, mavros::std_plugins::FTPPlugin::OP::ACK, mavros::std_plugins::FTPPlugin::OP::LIST, mavros::std_plugins::FTPPlugin::OP::OPEN,
  mavros::std_plugins::FTPPlugin::OP::READ, mavros::std_plugins::FTPPlugin::OP::WRITE, mavros::std_plugins::FTPPlugin::OP::CHECKSUM
}
 
enum  mavros::std_plugins::FTPRequest::Opcode : uint8_t {
  mavros::std_plugins::FTPRequest::kCmdNone, mavros::std_plugins::FTPRequest::kCmdTerminateSession, mavros::std_plugins::FTPRequest::kCmdResetSessions, mavros::std_plugins::FTPRequest::kCmdListDirectory,
  mavros::std_plugins::FTPRequest::kCmdOpenFileRO, mavros::std_plugins::FTPRequest::kCmdReadFile, mavros::std_plugins::FTPRequest::kCmdCreateFile, mavros::std_plugins::FTPRequest::kCmdWriteFile,
  mavros::std_plugins::FTPRequest::kCmdRemoveFile, mavros::std_plugins::FTPRequest::kCmdCreateDirectory, mavros::std_plugins::FTPRequest::kCmdRemoveDirectory, mavros::std_plugins::FTPRequest::kCmdOpenFileWO,
  mavros::std_plugins::FTPRequest::kCmdTruncateFile, mavros::std_plugins::FTPRequest::kCmdRename, mavros::std_plugins::FTPRequest::kCmdCalcFileCRC32, mavros::std_plugins::FTPRequest::kCmdBurstReadFile,
  mavros::std_plugins::FTPRequest::kRspAck = 128, mavros::std_plugins::FTPRequest::kRspNak
}
 Command opcodes. More...
 
enum  mavros::std_plugins::ParamPlugin::PR {
  mavros::std_plugins::ParamPlugin::PR::IDLE, mavros::std_plugins::ParamPlugin::PR::RXLIST, mavros::std_plugins::ParamPlugin::PR::RXPARAM, mavros::std_plugins::ParamPlugin::PR::RXPARAM_TIMEDOUT,
  mavros::std_plugins::ParamPlugin::PR::TXPARAM
}
 
enum  mavros::std_plugins::WaypointPlugin::WP {
  mavros::std_plugins::WaypointPlugin::WP::IDLE, mavros::std_plugins::WaypointPlugin::WP::RXLIST, mavros::std_plugins::WaypointPlugin::WP::RXWP, mavros::std_plugins::WaypointPlugin::WP::TXLIST,
  mavros::std_plugins::WaypointPlugin::WP::TXPARTIAL, mavros::std_plugins::WaypointPlugin::WP::TXWP, mavros::std_plugins::WaypointPlugin::WP::CLEAR, mavros::std_plugins::WaypointPlugin::WP::SET_CUR
}
 

Functions

void mavros::std_plugins::SetpointAccelerationPlugin::accel_cb (const geometry_msgs::Vector3Stamped::ConstPtr &req)
 
void mavros::std_plugins::ActuatorControlPlugin::actuator_control_cb (const mavros_msgs::ActuatorControl::ConstPtr &req)
 
 mavros::std_plugins::ActuatorControlPlugin::ActuatorControlPlugin ()
 
void mavros::std_plugins::FTPPlugin::add_dirent (const char *ptr, size_t slen)
 
void mavros::std_plugins::SystemTimePlugin::add_sample (int64_t offset_ns)
 
void mavros::std_plugins::SystemTimePlugin::add_timesync_observation (int64_t offset_ns, uint64_t local_time_ns, uint64_t remote_time_ns)
 
 mavros::std_plugins::AltitudePlugin::AltitudePlugin ()
 
bool mavros::std_plugins::CommandPlugin::arming_cb (mavros_msgs::CommandBool::Request &req, mavros_msgs::CommandBool::Response &res)
 
void mavros::std_plugins::SetpointRawPlugin::attitude_cb (const mavros_msgs::AttitudeTarget::ConstPtr &req)
 
void mavros::std_plugins::SetpointAttitudePlugin::attitude_pose_cb (const geometry_msgs::PoseStamped::ConstPtr &pose_msg, const mavros_msgs::Thrust::ConstPtr &thrust_msg)
 
void mavros::std_plugins::SetpointAttitudePlugin::attitude_twist_cb (const geometry_msgs::TwistStamped::ConstPtr &req, const mavros_msgs::Thrust::ConstPtr &thrust_msg)
 
void mavros::std_plugins::SystemStatusPlugin::autopilot_version_cb (const ros::TimerEvent &event)
 
 mavros::std_plugins::BatteryStatusDiag::BatteryStatusDiag (const std::string &name)
 
bool mavros::std_plugins::HomePositionPlugin::call_get_home_position (void)
 
static bool mavros::std_plugins::Parameter::check_exclude_param_id (std::string param_id)
 
bool mavros::std_plugins::FTPPlugin::checksum_cb (mavros_msgs::FileChecksum::Request &req, mavros_msgs::FileChecksum::Response &res)
 
void mavros::std_plugins::FTPPlugin::checksum_crc32_file (std::string &path)
 
void mavros::std_plugins::TimeSyncStatus::clear ()
 
void mavros::std_plugins::HeartbeatStatus::clear ()
 
bool mavros::std_plugins::WaypointPlugin::clear_cb (mavros_msgs::WaypointClear::Request &req, mavros_msgs::WaypointClear::Response &res)
 
bool mavros::std_plugins::FTPPlugin::close_cb (mavros_msgs::FileClose::Request &req, mavros_msgs::FileClose::Response &res)
 
bool mavros::std_plugins::FTPPlugin::close_file (std::string &path)
 
void mavros::std_plugins::CommandPlugin::command_int (bool broadcast, uint8_t frame, uint16_t command, uint8_t current, uint8_t autocontinue, float param1, float param2, float param3, float param4, int32_t x, int32_t y, float z)
 
bool mavros::std_plugins::CommandPlugin::command_int_cb (mavros_msgs::CommandInt::Request &req, mavros_msgs::CommandInt::Response &res)
 
void mavros::std_plugins::CommandPlugin::command_long (bool broadcast, uint16_t command, uint8_t confirmation, float param1, float param2, float param3, float param4, float param5, float param6, float param7)
 
bool mavros::std_plugins::CommandPlugin::command_long_cb (mavros_msgs::CommandLong::Request &req, mavros_msgs::CommandLong::Response &res)
 
 mavros::std_plugins::CommandPlugin::CommandPlugin ()
 
 mavros::std_plugins::CommandTransaction::CommandTransaction (uint16_t command)
 
static constexpr int mavros::std_plugins::FTPPlugin::compute_rw_timeout (size_t len)
 
virtual void mavros::plugin::PluginBase::connection_cb (bool connected)
 
void mavros::std_plugins::TDRRadioPlugin::connection_cb (bool connected) override
 
void mavros::std_plugins::HomePositionPlugin::connection_cb (bool connected) override
 
void mavros::std_plugins::RCIOPlugin::connection_cb (bool connected) override
 
void mavros::std_plugins::WaypointPlugin::connection_cb (bool connected) override
 
void mavros::std_plugins::IMUPlugin::connection_cb (bool connected) override
 
void mavros::std_plugins::ParamPlugin::connection_cb (bool connected) override
 
void mavros::std_plugins::SystemStatusPlugin::connection_cb (bool connected) override
 
void mavros::std_plugins::FTPPlugin::create_directory (std::string &path)
 
static std::string mavros::std_plugins::SystemStatusPlugin::custom_version_to_hex_string (std::array< uint8_t, 8 > &array)
 
uint8_t * mavros::std_plugins::FTPRequest::data ()
 
char * mavros::std_plugins::FTPRequest::data_c ()
 
uint32_t * mavros::std_plugins::FTPRequest::data_u32 ()
 
bool mavros::std_plugins::FTPRequest::decode_valid (UAS *uas)
 Decode and check target system. More...
 
void mavros::std_plugins::TDRRadioPlugin::diag_run (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
 mavros::std_plugins::DummyPlugin::DummyPlugin ()
 
void mavros::plugin::PluginBase::enable_connection_cb ()
 
template<typename MsgT >
void mavros::std_plugins::GlobalPositionPlugin::fill_lla (MsgT &msg, sensor_msgs::NavSatFix::Ptr fix)
 
void mavros::std_plugins::GlobalPositionPlugin::fill_unknown_cov (sensor_msgs::NavSatFix::Ptr fix)
 
M_VehicleInfo::iterator mavros::std_plugins::SystemStatusPlugin::find_or_create_vehicle_info (uint8_t sysid, uint8_t compid)
 
static WaypointItem mavros::std_plugins::WaypointItem::from_msg (mavros_msgs::Waypoint &wp, uint16_t seq)
 
 mavros::std_plugins::FTPPlugin::FTPPlugin ()
 
 mavros::std_plugins::FTPRequest::FTPRequest ()
 
 mavros::std_plugins::FTPRequest::FTPRequest (Opcode op, uint8_t session=0)
 
bool mavros::std_plugins::ParamPlugin::get_cb (mavros_msgs::ParamGet::Request &req, mavros_msgs::ParamGet::Response &res)
 get parameter ~param/get More...
 
uint64_t mavros::std_plugins::SystemTimePlugin::get_monotonic_now (void)
 
Subscriptions mavros::std_plugins::ManualControlPlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
Subscriptions mavros::std_plugins::ActuatorControlPlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
Subscriptions mavros::std_plugins::VfrHudPlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
Subscriptions mavros::std_plugins::AltitudePlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
Subscriptions mavros::std_plugins::WindEstimationPlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
Subscriptions mavros::std_plugins::TDRRadioPlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
Subscriptions mavros::std_plugins::RCIOPlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
Subscriptions mavros::std_plugins::SetpointAccelerationPlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
Subscriptions mavros::std_plugins::HomePositionPlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
Subscriptions mavros::std_plugins::DummyPlugin::get_subscriptions ()
 
Subscriptions mavros::std_plugins::SetpointRawPlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
Subscriptions mavros::std_plugins::SetpointVelocityPlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
Subscriptions mavros::std_plugins::HilPlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
virtual Subscriptions mavros::plugin::PluginBase::get_subscriptions ()=0
 Return vector of MAVLink message subscriptions (handlers) More...
 
Subscriptions mavros::std_plugins::LocalPositionPlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
Subscriptions mavros::std_plugins::SafetyAreaPlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
Subscriptions mavros::std_plugins::CommandPlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
Subscriptions mavros::std_plugins::SetpointPositionPlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
Subscriptions mavros::std_plugins::IMUPlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
Subscriptions mavros::std_plugins::GlobalPositionPlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
Subscriptions mavros::std_plugins::SetpointAttitudePlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
Subscriptions mavros::std_plugins::WaypointPlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
Subscriptions mavros::std_plugins::FTPPlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
Subscriptions mavros::std_plugins::SystemTimePlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
Subscriptions mavros::std_plugins::ParamPlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
Subscriptions mavros::std_plugins::SystemStatusPlugin::get_subscriptions ()
 Return vector of MAVLink message subscriptions (handlers) More...
 
uint8_t mavros::std_plugins::FTPRequest::get_target_system_id ()
 
uint16_t mavros::std_plugins::SystemStatusPlugin::get_vehicle_key (uint8_t sysid, uint8_t compid)
 
void mavros::std_plugins::SetpointRawPlugin::global_cb (const mavros_msgs::GlobalPositionTarget::ConstPtr &req)
 
EIGEN_MAKE_ALIGNED_OPERATOR_NEW mavros::std_plugins::GlobalPositionPlugin::GlobalPositionPlugin ()
 
void mavros::std_plugins::FTPPlugin::go_idle (bool is_error_, int r_errno_=0)
 Go to IDLE mode. More...
 
void mavros::std_plugins::WaypointPlugin::go_idle (void)
 
void mavros::std_plugins::ParamPlugin::go_idle ()
 
void mavros::std_plugins::HilPlugin::gps_cb (const mavros_msgs::HilGPS::ConstPtr &req)
 Send hil_gps to FCU. Message specification: https://mavlink.io/en/messages/common.html#HIL_GPS. More...
 
void mavros::std_plugins::SetpointPositionPlugin::gps_cb (const sensor_msgs::NavSatFix::ConstPtr &msg)
 
void mavros::std_plugins::GlobalPositionPlugin::gps_diag_run (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
void mavros::std_plugins::FTPPlugin::handle_ack_checksum (FTPRequest &req)
 
void mavros::std_plugins::FTPPlugin::handle_ack_list (FTPRequest &req)
 
void mavros::std_plugins::FTPPlugin::handle_ack_open (FTPRequest &req)
 
void mavros::std_plugins::FTPPlugin::handle_ack_read (FTPRequest &req)
 
void mavros::std_plugins::FTPPlugin::handle_ack_write (FTPRequest &req)
 
void mavros::std_plugins::ActuatorControlPlugin::handle_actuator_control_target (const mavlink::mavlink_message_t *msg, mavlink::common::msg::ACTUATOR_CONTROL_TARGET &actuator_control_target)
 
void mavros::std_plugins::AltitudePlugin::handle_altitude (const mavlink::mavlink_message_t *msg, mavlink::common::msg::ALTITUDE &altitude)
 
void mavros::std_plugins::WindEstimationPlugin::handle_apm_wind (const mavlink::mavlink_message_t *msg, mavlink::ardupilotmega::msg::WIND &wind)
 
void mavros::std_plugins::IMUPlugin::handle_attitude (const mavlink::mavlink_message_t *msg, mavlink::common::msg::ATTITUDE &att)
 Handle ATTITUDE MAVlink message. Message specification: https://mavlink.io/en/messages/common.html#ATTITUDE. More...
 
void mavros::std_plugins::IMUPlugin::handle_attitude_quaternion (const mavlink::mavlink_message_t *msg, mavlink::common::msg::ATTITUDE_QUATERNION &att_q)
 Handle ATTITUDE_QUATERNION MAVlink message. Message specification: https://mavlink.io/en/messages/common.html/#ATTITUDE_QUATERNION. More...
 
void mavros::std_plugins::SetpointRawPlugin::handle_attitude_target (const mavlink::mavlink_message_t *msg, mavlink::common::msg::ATTITUDE_TARGET &tgt)
 
void mavros::std_plugins::SystemStatusPlugin::handle_autopilot_version (const mavlink::mavlink_message_t *msg, mavlink::common::msg::AUTOPILOT_VERSION &apv)
 
void mavros::std_plugins::SystemStatusPlugin::handle_battery_status (const mavlink::mavlink_message_t *msg, mavlink::common::msg::BATTERY_STATUS &bs)
 
void mavros::std_plugins::CommandPlugin::handle_command_ack (const mavlink::mavlink_message_t *msg, mavlink::common::msg::COMMAND_ACK &ack)
 
void mavros::std_plugins::SystemStatusPlugin::handle_extended_sys_state (const mavlink::mavlink_message_t *msg, mavlink::common::msg::EXTENDED_SYS_STATE &state)
 
void mavros::std_plugins::FTPPlugin::handle_file_transfer_protocol (const mavlink::mavlink_message_t *msg, FTPRequest &req)
 handler for mavlink::common::msg::FILE_TRANSFER_PROTOCOL More...
 
void mavros::std_plugins::GlobalPositionPlugin::handle_global_position_int (const mavlink::mavlink_message_t *msg, mavlink::common::msg::GLOBAL_POSITION_INT &gpos)
 
void mavros::std_plugins::GlobalPositionPlugin::handle_gps_global_origin (const mavlink::mavlink_message_t *msg, mavlink::common::msg::GPS_GLOBAL_ORIGIN &glob_orig)
 
void mavros::std_plugins::GlobalPositionPlugin::handle_gps_raw_int (const mavlink::mavlink_message_t *msg, mavlink::common::msg::GPS_RAW_INT &raw_gps)
 
void mavros::std_plugins::DummyPlugin::handle_heartbeat (const mavlink::mavlink_message_t *msg, mavlink::common::msg::HEARTBEAT &hb)
 
void mavros::std_plugins::SystemStatusPlugin::handle_heartbeat (const mavlink::mavlink_message_t *msg, mavlink::common::msg::HEARTBEAT &hb)
 
void mavros::std_plugins::IMUPlugin::handle_highres_imu (const mavlink::mavlink_message_t *msg, mavlink::common::msg::HIGHRES_IMU &imu_hr)
 Handle HIGHRES_IMU MAVlink message. Message specification: https://mavlink.io/en/messages/common.html/#HIGHRES_IMU. More...
 
void mavros::std_plugins::HilPlugin::handle_hil_actuator_controls (const mavlink::mavlink_message_t *msg, mavlink::common::msg::HIL_ACTUATOR_CONTROLS &hil_actuator_controls)
 
void mavros::std_plugins::HilPlugin::handle_hil_controls (const mavlink::mavlink_message_t *msg, mavlink::common::msg::HIL_CONTROLS &hil_controls)
 
void mavros::std_plugins::HomePositionPlugin::handle_home_position (const mavlink::mavlink_message_t *msg, mavlink::common::msg::HOME_POSITION &home_position)
 
void mavros::std_plugins::SystemStatusPlugin::handle_hwstatus (const mavlink::mavlink_message_t *msg, mavlink::ardupilotmega::msg::HWSTATUS &hwst)
 
void mavros::std_plugins::LocalPositionPlugin::handle_local_position_ned (const mavlink::mavlink_message_t *msg, mavlink::common::msg::LOCAL_POSITION_NED &pos_ned)
 
void mavros::std_plugins::LocalPositionPlugin::handle_local_position_ned_cov (const mavlink::mavlink_message_t *msg, mavlink::common::msg::LOCAL_POSITION_NED_COV &pos_ned)
 
void mavros::std_plugins::GlobalPositionPlugin::handle_lpned_system_global_offset (const mavlink::mavlink_message_t *msg, mavlink::common::msg::LOCAL_POSITION_NED_SYSTEM_GLOBAL_OFFSET &offset)
 
void mavros::std_plugins::ManualControlPlugin::handle_manual_control (const mavlink::mavlink_message_t *msg, mavlink::common::msg::MANUAL_CONTROL &manual_control)
 
void mavros::std_plugins::SystemStatusPlugin::handle_meminfo (const mavlink::mavlink_message_t *msg, mavlink::ardupilotmega::msg::MEMINFO &mem)
 
template<typename msgT >
void mavros::std_plugins::TDRRadioPlugin::handle_message (const mavlink::mavlink_message_t *mmsg, msgT &rst)
 
void mavros::std_plugins::WaypointPlugin::handle_mission_ack (const mavlink::mavlink_message_t *msg, mavlink::common::msg::MISSION_ACK &mack)
 handle MISSION_ACK mavlink msg Handles a MISSION_ACK which marks the end of a push, or a failure More...
 
void mavros::std_plugins::WaypointPlugin::handle_mission_count (const mavlink::mavlink_message_t *msg, mavlink::common::msg::MISSION_COUNT &mcnt)
 handle MISSION_COUNT mavlink msg Handles a mission count from FCU in a Waypoint Pull Triggers a pull GCS seems to be requesting mission More...
 
void mavros::std_plugins::WaypointPlugin::handle_mission_current (const mavlink::mavlink_message_t *msg, mavlink::common::msg::MISSION_CURRENT &mcur)
 handle MISSION_CURRENT mavlink msg This confirms a SET_CUR action More...
 
void mavros::std_plugins::WaypointPlugin::handle_mission_item (const mavlink::mavlink_message_t *msg, WaypointItem &wpi)
 handle MISSION_ITEM mavlink msg handles and stores mission items when pulling waypoints More...
 
void mavros::std_plugins::WaypointPlugin::handle_mission_item_reached (const mavlink::mavlink_message_t *msg, mavlink::common::msg::MISSION_ITEM_REACHED &mitr)
 handle MISSION_ITEM_REACHED mavlink msg More...
 
void mavros::std_plugins::WaypointPlugin::handle_mission_request (const mavlink::mavlink_message_t *msg, mavlink::common::msg::MISSION_REQUEST &mreq)
 handle MISSION_REQUEST mavlink msg handles and acts on misison request from FCU More...
 
void mavros::std_plugins::ParamPlugin::handle_param_value (const mavlink::mavlink_message_t *msg, mavlink::common::msg::PARAM_VALUE &pmsg)
 
void mavros::std_plugins::SetpointRawPlugin::handle_position_target_global_int (const mavlink::mavlink_message_t *msg, mavlink::common::msg::POSITION_TARGET_GLOBAL_INT &tgt)
 
void mavros::std_plugins::SetpointRawPlugin::handle_position_target_local_ned (const mavlink::mavlink_message_t *msg, mavlink::common::msg::POSITION_TARGET_LOCAL_NED &tgt)
 
void mavros::std_plugins::WindEstimationPlugin::handle_px4_wind (const mavlink::mavlink_message_t *msg, mavlink::common::msg::WIND_COV &wind)
 
void mavros::std_plugins::TDRRadioPlugin::handle_radio (const mavlink::mavlink_message_t *msg, mavlink::ardupilotmega::msg::RADIO &rst)
 
void mavros::std_plugins::TDRRadioPlugin::handle_radio_status (const mavlink::mavlink_message_t *msg, mavlink::common::msg::RADIO_STATUS &rst)
 
void mavros::std_plugins::IMUPlugin::handle_raw_imu (const mavlink::mavlink_message_t *msg, mavlink::common::msg::RAW_IMU &imu_raw)
 Handle RAW_IMU MAVlink message. Message specification: https://mavlink.io/en/messages/common.html/#RAW_IMU. More...
 
void mavros::std_plugins::RCIOPlugin::handle_rc_channels (const mavlink::mavlink_message_t *msg, mavlink::common::msg::RC_CHANNELS &channels)
 
void mavros::std_plugins::RCIOPlugin::handle_rc_channels_raw (const mavlink::mavlink_message_t *msg, mavlink::common::msg::RC_CHANNELS_RAW &port)
 
void mavros::std_plugins::FTPPlugin::handle_req_ack (FTPRequest &req)
 
void mavros::std_plugins::FTPPlugin::handle_req_nack (FTPRequest &req)
 
void mavros::std_plugins::SafetyAreaPlugin::handle_safety_allowed_area (const mavlink::mavlink_message_t *msg, mavlink::common::msg::SAFETY_ALLOWED_AREA &saa)
 
void mavros::std_plugins::IMUPlugin::handle_scaled_imu (const mavlink::mavlink_message_t *msg, mavlink::common::msg::SCALED_IMU &imu_raw)
 Handle SCALED_IMU MAVlink message. Message specification: https://mavlink.io/en/messages/common.html/#SCALED_IMU. More...
 
void mavros::std_plugins::IMUPlugin::handle_scaled_pressure (const mavlink::mavlink_message_t *msg, mavlink::common::msg::SCALED_PRESSURE &press)
 Handle SCALED_PRESSURE MAVlink message. Message specification: https://mavlink.io/en/messages/common.html/#SCALED_PRESSURE. More...
 
void mavros::std_plugins::RCIOPlugin::handle_servo_output_raw (const mavlink::mavlink_message_t *msg, mavlink::common::msg::SERVO_OUTPUT_RAW &port)
 
void mavros::std_plugins::DummyPlugin::handle_statustext (const mavlink::mavlink_message_t *msg, mavlink::common::msg::STATUSTEXT &st)
 
void mavros::std_plugins::SystemStatusPlugin::handle_statustext (const mavlink::mavlink_message_t *msg, mavlink::common::msg::STATUSTEXT &textm)
 
void mavros::std_plugins::DummyPlugin::handle_statustext_raw (const mavlink::mavlink_message_t *msg, const mavconn::Framing f)
 
void mavros::std_plugins::DummyPlugin::handle_sys_status (const mavlink::mavlink_message_t *msg, mavlink::common::msg::SYS_STATUS &st)
 
void mavros::std_plugins::SystemStatusPlugin::handle_sys_status (const mavlink::mavlink_message_t *msg, mavlink::common::msg::SYS_STATUS &stat)
 
void mavros::std_plugins::SystemTimePlugin::handle_system_time (const mavlink::mavlink_message_t *msg, mavlink::common::msg::SYSTEM_TIME &mtime)
 
void mavros::std_plugins::SystemTimePlugin::handle_timesync (const mavlink::mavlink_message_t *msg, mavlink::common::msg::TIMESYNC &tsync)
 
void mavros::std_plugins::VfrHudPlugin::handle_vfr_hud (const mavlink::mavlink_message_t *msg, mavlink::common::msg::VFR_HUD &vfr_hud)
 
PayloadHeader * mavros::std_plugins::FTPRequest::header ()
 
void mavros::std_plugins::SystemStatusPlugin::heartbeat_cb (const ros::TimerEvent &event)
 
 mavros::std_plugins::HeartbeatStatus::HeartbeatStatus (const std::string &name, size_t win_size)
 
EIGEN_MAKE_ALIGNED_OPERATOR_NEW mavros::std_plugins::HilPlugin::HilPlugin ()
 
void mavros::std_plugins::HomePositionPlugin::home_position_cb (const mavros_msgs::HomePosition::ConstPtr &req)
 
void mavros::std_plugins::GlobalPositionPlugin::home_position_cb (const mavros_msgs::HomePosition::ConstPtr &req)
 
 mavros::std_plugins::HomePositionPlugin::HomePositionPlugin ()
 
 mavros::std_plugins::HwStatus::HwStatus (const std::string &name)
 
EIGEN_MAKE_ALIGNED_OPERATOR_NEW mavros::std_plugins::IMUPlugin::IMUPlugin ()
 
void mavros::std_plugins::ManualControlPlugin::initialize (UAS &uas_)
 Plugin initializer. More...
 
void mavros::std_plugins::ActuatorControlPlugin::initialize (UAS &uas_)
 Plugin initializer. More...
 
void mavros::std_plugins::TDRRadioPlugin::initialize (UAS &uas_)
 Plugin initializer. More...
 
void mavros::std_plugins::SafetyAreaPlugin::initialize (UAS &uas_)
 Plugin initializer. More...
 
void mavros::std_plugins::AltitudePlugin::initialize (UAS &uas_)
 
void mavros::std_plugins::VfrHudPlugin::initialize (UAS &uas_)
 
void mavros::std_plugins::DummyPlugin::initialize (UAS &uas_)
 
void mavros::std_plugins::RCIOPlugin::initialize (UAS &uas_)
 Plugin initializer. More...
 
void mavros::std_plugins::WindEstimationPlugin::initialize (UAS &uas_)
 
void mavros::std_plugins::HomePositionPlugin::initialize (UAS &uas_)
 Plugin initializer. More...
 
void mavros::std_plugins::SetpointAccelerationPlugin::initialize (UAS &uas_)
 Plugin initializer. More...
 
void mavros::std_plugins::SetpointVelocityPlugin::initialize (UAS &uas_)
 Plugin initializer. More...
 
void mavros::std_plugins::SetpointRawPlugin::initialize (UAS &uas_)
 Plugin initializer. More...
 
void mavros::std_plugins::LocalPositionPlugin::initialize (UAS &uas_)
 Plugin initializer. More...
 
void mavros::std_plugins::HilPlugin::initialize (UAS &uas_)
 Plugin initializer. More...
 
void mavros::std_plugins::SetpointPositionPlugin::initialize (UAS &uas_)
 Plugin initializer. More...
 
void mavros::std_plugins::SetpointAttitudePlugin::initialize (UAS &uas_)
 Plugin initializer. More...
 
void mavros::std_plugins::GlobalPositionPlugin::initialize (UAS &uas_)
 Plugin initializer. More...
 
void mavros::std_plugins::IMUPlugin::initialize (UAS &uas_)
 Plugin initializer. More...
 
virtual void mavros::plugin::PluginBase::initialize (UAS &uas)
 Plugin initializer. More...
 
void mavros::std_plugins::CommandPlugin::initialize (UAS &uas_)
 Plugin initializer. More...
 
void mavros::std_plugins::WaypointPlugin::initialize (UAS &uas_)
 Plugin initializer. More...
 
void mavros::std_plugins::SystemTimePlugin::initialize (UAS &uas_)
 Plugin initializer. More...
 
void mavros::std_plugins::FTPPlugin::initialize (UAS &uas_)
 Plugin initializer. More...
 
void mavros::std_plugins::ParamPlugin::initialize (UAS &uas_)
 Plugin initializer. More...
 
void mavros::std_plugins::SystemStatusPlugin::initialize (UAS &uas_)
 Plugin initializer. More...
 
bool mavros::std_plugins::SetpointAttitudePlugin::is_normalized (float thrust)
 Function to verify if the thrust values are normalized; considers also the reversed trust values. More...
 
bool mavros::std_plugins::CommandPlugin::land_cb (mavros_msgs::CommandTOL::Request &req, mavros_msgs::CommandTOL::Response &res)
 
bool mavros::std_plugins::FTPPlugin::list_cb (mavros_msgs::FileList::Request &req, mavros_msgs::FileList::Response &res)
 
void mavros::std_plugins::FTPPlugin::list_directory (std::string &path)
 
void mavros::std_plugins::FTPPlugin::list_directory_end ()
 
void mavros::std_plugins::SetpointRawPlugin::local_cb (const mavros_msgs::PositionTarget::ConstPtr &req)
 
void mavros::std_plugins::SetpointPositionPlugin::local_cb (const geometry_msgs::PoseStamped::ConstPtr &msg)
 
 mavros::std_plugins::LocalPositionPlugin::LocalPositionPlugin ()
 
template<class _C >
HandlerInfo mavros::plugin::PluginBase::make_handler (const mavlink::msgid_t id, void(_C::*fn)(const mavlink::mavlink_message_t *msg, const mavconn::Framing framing))
 
template<class _C , class _T >
HandlerInfo mavros::plugin::PluginBase::make_handler (void(_C::*fn)(const mavlink::mavlink_message_t *, _T &))
 
 mavros::std_plugins::ManualControlPlugin::ManualControlPlugin ()
 
 mavros::std_plugins::MemInfo::MemInfo (const std::string &name)
 
void mavros::std_plugins::WaypointPlugin::mission_ack (MRES type)
 
void mavros::std_plugins::WaypointPlugin::mission_clear_all ()
 
void mavros::std_plugins::WaypointPlugin::mission_count (uint16_t cnt)
 
void mavros::std_plugins::WaypointPlugin::mission_item (WaypointItem &wp)
 
void mavros::std_plugins::WaypointPlugin::mission_request (uint16_t seq)
 
void mavros::std_plugins::WaypointPlugin::mission_request_list ()
 
void mavros::std_plugins::WaypointPlugin::mission_set_current (uint16_t seq)
 
void mavros::std_plugins::WaypointPlugin::mission_write_partial_list (uint16_t start_index, uint16_t end_index)
 
bool mavros::std_plugins::FTPPlugin::mkdir_cb (mavros_msgs::FileMakeDir::Request &req, mavros_msgs::FileMakeDir::Response &res)
 
bool mavros::std_plugins::FTPPlugin::open_cb (mavros_msgs::FileOpen::Request &req, mavros_msgs::FileOpen::Response &res)
 
bool mavros::std_plugins::FTPPlugin::open_file (std::string &path, int mode)
 
void mavros::std_plugins::HilPlugin::optical_flow_cb (const mavros_msgs::OpticalFlowRad::ConstPtr &req)
 Send simulated optical flow to FCU. Message specification: https://mavlink.io/en/messages/common.html#HIL_OPTICAL_FLOW. More...
 
void mavros::std_plugins::RCIOPlugin::override_cb (const mavros_msgs::OverrideRCIn::ConstPtr req)
 
void mavros::std_plugins::ParamPlugin::param_request_list ()
 
void mavros::std_plugins::ParamPlugin::param_request_read (std::string id, int16_t index=-1)
 
void mavros::std_plugins::ParamPlugin::param_set (Parameter &param)
 
 mavros::std_plugins::ParamPlugin::ParamPlugin ()
 
 mavros::std_plugins::ParamSetOpt::ParamSetOpt (Parameter &_p, size_t _rem)
 
 mavros::plugin::PluginBase::PluginBase (const PluginBase &)=delete
 
 mavros::plugin::PluginBase::PluginBase ()
 Plugin constructor Should not do anything before initialize() More...
 
void mavros::std_plugins::SystemStatusPlugin::process_autopilot_version_apm_quirk (mavlink::common::msg::AUTOPILOT_VERSION &apv, uint8_t sysid, uint8_t compid)
 
void mavros::std_plugins::SystemStatusPlugin::process_autopilot_version_normal (mavlink::common::msg::AUTOPILOT_VERSION &apv, uint8_t sysid, uint8_t compid)
 
void mavros::std_plugins::SystemStatusPlugin::process_statustext_normal (uint8_t severity, std::string &text)
 
void mavros::std_plugins::SystemStatusPlugin::publish_disconnection ()
 
void mavros::std_plugins::IMUPlugin::publish_imu_data (uint32_t time_boot_ms, Eigen::Quaterniond &orientation_enu, Eigen::Quaterniond &orientation_ned, Eigen::Vector3d &gyro_flu, Eigen::Vector3d &gyro_frd)
 Fill and publish IMU data message. More...
 
void mavros::std_plugins::IMUPlugin::publish_imu_data_raw (std_msgs::Header &header, Eigen::Vector3d &gyro_flu, Eigen::Vector3d &accel_flu, Eigen::Vector3d &accel_frd)
 Fill and publish IMU data_raw message; store linear acceleration for IMU data. More...
 
void mavros::std_plugins::IMUPlugin::publish_mag (std_msgs::Header &header, Eigen::Vector3d &mag_field)
 Publish magnetic field data. More...
 
void mavros::std_plugins::LocalPositionPlugin::publish_tf (boost::shared_ptr< nav_msgs::Odometry > &odom)
 
void mavros::std_plugins::WaypointPlugin::publish_waypoints ()
 publish the updated waypoint list after operation More...
 
bool mavros::std_plugins::WaypointPlugin::pull_cb (mavros_msgs::WaypointPull::Request &req, mavros_msgs::WaypointPull::Response &res)
 
bool mavros::std_plugins::ParamPlugin::pull_cb (mavros_msgs::ParamPull::Request &req, mavros_msgs::ParamPull::Response &res)
 fetches all parameters from device ~param/pull More...
 
bool mavros::std_plugins::WaypointPlugin::push_cb (mavros_msgs::WaypointPush::Request &req, mavros_msgs::WaypointPush::Response &res)
 
bool mavros::std_plugins::ParamPlugin::push_cb (mavros_msgs::ParamPush::Request &req, mavros_msgs::ParamPush::Response &res)
 push all parameter value to device ~param/push More...
 
uint8_t * mavros::std_plugins::FTPRequest::raw_payload ()
 
void mavros::std_plugins::HilPlugin::rcin_raw_cb (const mavros_msgs::RCIn::ConstPtr &req)
 Send simulated received RAW values of the RC channels to the FCU. Message specification: https://mavlink.io/en/messages/common.html#HIL_RC_INPUTS_RAW. More...
 
 mavros::std_plugins::RCIOPlugin::RCIOPlugin ()
 
bool mavros::std_plugins::FTPPlugin::read_cb (mavros_msgs::FileRead::Request &req, mavros_msgs::FileRead::Response &res)
 
bool mavros::std_plugins::FTPPlugin::read_file (std::string &path, size_t off, size_t len)
 
void mavros::std_plugins::FTPPlugin::read_file_end ()
 
bool mavros::std_plugins::FTPPlugin::remove_cb (mavros_msgs::FileRemove::Request &req, mavros_msgs::FileRemove::Response &res)
 
void mavros::std_plugins::FTPPlugin::remove_directory (std::string &path)
 
void mavros::std_plugins::FTPPlugin::remove_file (std::string &path)
 
bool mavros::std_plugins::FTPPlugin::rename_ (std::string &old_path, std::string &new_path)
 
bool mavros::std_plugins::FTPPlugin::rename_cb (mavros_msgs::FileRename::Request &req, mavros_msgs::FileRename::Response &res)
 
bool mavros::std_plugins::HomePositionPlugin::req_update_cb (std_srvs::Trigger::Request &req, std_srvs::Trigger::Response &res)
 
void mavros::std_plugins::WaypointPlugin::request_mission_done (void)
 Send ACK back to FCU after pull. More...
 
bool mavros::std_plugins::FTPPlugin::reset_cb (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res)
 Reset communication on both sides. More...
 
void mavros::std_plugins::SystemTimePlugin::reset_filter ()
 
void mavros::std_plugins::WaypointPlugin::restart_timeout_timer (void)
 
void mavros::std_plugins::ParamPlugin::restart_timeout_timer ()
 
void mavros::std_plugins::WaypointPlugin::restart_timeout_timer_int (void)
 
bool mavros::std_plugins::FTPPlugin::rmdir_cb (mavros_msgs::FileRemoveDir::Request &req, mavros_msgs::FileRemoveDir::Response &res)
 
bool mavros::std_plugins::ParamPlugin::rosparam_set_allowed (const Parameter &p)
 Set ROS param only if name is good. More...
 
void mavros::std_plugins::TimeSyncStatus::run (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
void mavros::std_plugins::HeartbeatStatus::run (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
void mavros::std_plugins::SystemStatusDiag::run (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
void mavros::std_plugins::BatteryStatusDiag::run (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
void mavros::std_plugins::MemInfo::run (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
void mavros::std_plugins::HwStatus::run (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
void mavros::std_plugins::SafetyAreaPlugin::safetyarea_cb (const geometry_msgs::PolygonStamped::ConstPtr &req)
 
 mavros::std_plugins::SafetyAreaPlugin::SafetyAreaPlugin ()
 
void mavros::std_plugins::WaypointPlugin::schedule_pull (const ros::Duration &dt)
 
void mavros::std_plugins::WaypointPlugin::scheduled_pull_cb (const ros::TimerEvent &event)
 Callback for scheduled waypoint pull. More...
 
void mavros::std_plugins::FTPRequest::send (UAS *uas, uint16_t seqNumber)
 Encode and send message. More...
 
void mavros::std_plugins::FTPPlugin::send_any_path_command (FTPRequest::Opcode op, const std::string &debug_msg, std::string &path, uint32_t offset)
 Send any command with string payload (usually file/dir path) More...
 
void mavros::std_plugins::SetpointAttitudePlugin::send_attitude_ang_velocity (const ros::Time &stamp, const Eigen::Vector3d &ang_vel, const float thrust)
 Send angular velocity setpoint and thrust to FCU attitude controller. More...
 
void mavros::std_plugins::SetpointAttitudePlugin::send_attitude_quaternion (const ros::Time &stamp, const Eigen::Affine3d &tr, const float thrust)
 Send attitude setpoint and thrust to FCU attitude controller. More...
 
void mavros::std_plugins::FTPPlugin::send_calc_file_crc32_command (std::string &path)
 
void mavros::std_plugins::ManualControlPlugin::send_cb (const mavros_msgs::ManualControl::ConstPtr req)
 
bool mavros::std_plugins::CommandPlugin::send_command_int (bool broadcast, uint8_t frame, uint16_t command, uint8_t current, uint8_t autocontinue, float param1, float param2, float param3, float param4, int32_t x, int32_t y, float z, unsigned char &success)
 
bool mavros::std_plugins::CommandPlugin::send_command_long_and_wait (bool broadcast, uint16_t command, uint8_t confirmation, float param1, float param2, float param3, float param4, float param5, float param6, float param7, unsigned char &success, uint8_t &result)
 
void mavros::std_plugins::FTPPlugin::send_create_command ()
 
void mavros::std_plugins::FTPPlugin::send_create_dir_command (std::string &path)
 
void mavros::std_plugins::FTPPlugin::send_list_command ()
 
void mavros::std_plugins::FTPPlugin::send_open_ro_command ()
 
void mavros::std_plugins::FTPPlugin::send_open_wo_command ()
 
bool mavros::std_plugins::ParamPlugin::send_param_set_and_wait (Parameter &param)
 
void mavros::std_plugins::SetpointPositionPlugin::send_position_target (const ros::Time &stamp, const Eigen::Affine3d &tr)
 Send setpoint to FCU position controller. More...
 
void mavros::std_plugins::FTPPlugin::send_read_command ()
 
void mavros::std_plugins::FTPPlugin::send_remove_command (std::string &path)
 
void mavros::std_plugins::FTPPlugin::send_remove_dir_command (std::string &path)
 
bool mavros::std_plugins::FTPPlugin::send_rename_command (std::string &old_path, std::string &new_path)
 
void mavros::std_plugins::FTPPlugin::send_reset ()
 
void mavros::std_plugins::SafetyAreaPlugin::send_safety_set_allowed_area (Eigen::Vector3d p1, Eigen::Vector3d p2)
 Send a safety zone (volume), which is defined by two corners of a cube, to the FCU. More...
 
void mavros::std_plugins::SetpointAccelerationPlugin::send_setpoint_acceleration (const ros::Time &stamp, Eigen::Vector3d &accel_enu)
 Send acceleration/force to FCU acceleration controller. More...
 
void mavros::std_plugins::SetpointVelocityPlugin::send_setpoint_velocity (const ros::Time &stamp, Eigen::Vector3d &vel_enu, double yaw_rate)
 Send velocity to FCU velocity controller. More...
 
void mavros::std_plugins::FTPPlugin::send_terminate_command (uint32_t session)
 
void mavros::std_plugins::SystemTimePlugin::send_timesync_msg (uint64_t tc1, uint64_t ts1)
 
void mavros::std_plugins::FTPPlugin::send_truncate_command (std::string &path, size_t length)
 
void mavros::std_plugins::WaypointPlugin::send_waypoint (size_t seq)
 send a single waypoint to FCU More...
 
void mavros::std_plugins::FTPPlugin::send_write_command (const size_t bytes_to_copy)
 
void mavros::std_plugins::HilPlugin::sensor_cb (const mavros_msgs::HilSensor::ConstPtr &req)
 Send hil_sensor to FCU. Message specification: https://mavlink.io/en/messages/common.html#HIL_SENSOR. More...
 
void mavros::std_plugins::SystemStatusDiag::set (mavlink::common::msg::SYS_STATUS &st)
 
void mavros::std_plugins::BatteryStatusDiag::set (float volt, float curr, float rem)
 
void mavros::std_plugins::MemInfo::set (uint16_t f, uint16_t b)
 
void mavros::std_plugins::HwStatus::set (uint16_t v, uint8_t e)
 
void mavros::plugin::SetAttitudeTargetMixin< D >::set_attitude_target (uint32_t time_boot_ms, uint8_t type_mask, Eigen::Quaterniond orientation, Eigen::Vector3d body_rate, float thrust)
 Message sepecification: https://mavlink.io/en/messages/common.html#SET_ATTITUDE_TARGET. More...
 
bool mavros::std_plugins::ParamPlugin::set_cb (mavros_msgs::ParamSet::Request &req, mavros_msgs::ParamSet::Response &res)
 sets parameter value ~param/set More...
 
bool mavros::std_plugins::WaypointPlugin::set_cur_cb (mavros_msgs::WaypointSetCurrent::Request &req, mavros_msgs::WaypointSetCurrent::Response &res)
 
void mavros::std_plugins::WaypointPlugin::set_current_waypoint (size_t seq)
 set the FCU current waypoint More...
 
void mavros::std_plugins::FTPRequest::set_data_string (std::string &s)
 Copy string to payload. More...
 
void mavros::std_plugins::GlobalPositionPlugin::set_gp_origin_cb (const geographic_msgs::GeoPointStamped::ConstPtr &req)
 
bool mavros::std_plugins::CommandPlugin::set_home_cb (mavros_msgs::CommandHome::Request &req, mavros_msgs::CommandHome::Response &res)
 
bool mavros::std_plugins::SetpointVelocityPlugin::set_mav_frame_cb (mavros_msgs::SetMavFrame::Request &req, mavros_msgs::SetMavFrame::Response &res)
 
bool mavros::std_plugins::SetpointPositionPlugin::set_mav_frame_cb (mavros_msgs::SetMavFrame::Request &req, mavros_msgs::SetMavFrame::Response &res)
 
bool mavros::std_plugins::SystemStatusPlugin::set_message_interval_cb (mavros_msgs::MessageInterval::Request &req, mavros_msgs::MessageInterval::Response &res)
 
void mavros::std_plugins::BatteryStatusDiag::set_min_voltage (float volt)
 
bool mavros::std_plugins::SystemStatusPlugin::set_mode_cb (mavros_msgs::SetMode::Request &req, mavros_msgs::SetMode::Response &res)
 
void mavros::plugin::SetPositionTargetGlobalIntMixin< D >::set_position_target_global_int (uint32_t time_boot_ms, uint8_t coordinate_frame, uint16_t type_mask, int32_t lat_int, int32_t lon_int, float alt, Eigen::Vector3d v, Eigen::Vector3d af, float yaw, float yaw_rate)
 Message specification: https://mavlink.io/en/messages/common.html#SET_POSITION_TARGET_GLOBAL_INT. More...
 
void mavros::plugin::SetPositionTargetLocalNEDMixin< D >::set_position_target_local_ned (uint32_t time_boot_ms, uint8_t coordinate_frame, uint16_t type_mask, Eigen::Vector3d p, Eigen::Vector3d v, Eigen::Vector3d af, float yaw, float yaw_rate)
 Message specification: https://mavlink.io/en/messages/common.html#SET_POSITION_TARGET_LOCAL_NED. More...
 
bool mavros::std_plugins::SystemStatusPlugin::set_rate_cb (mavros_msgs::StreamRate::Request &req, mavros_msgs::StreamRate::Response &res)
 
template<typename MsgT >
void mavros::std_plugins::CommandPlugin::set_target (MsgT &cmd, bool broadcast)
 
void mavros::std_plugins::TimeSyncStatus::set_timestamp (uint64_t remote_timestamp_ns)
 
void mavros::std_plugins::Parameter::set_value (mavlink::common::msg::PARAM_VALUE &pmsg)
 
void mavros::std_plugins::Parameter::set_value_apm_quirk (mavlink::common::msg::PARAM_VALUE &pmsg)
 
void mavros::std_plugins::SetpointPositionPlugin::setpoint_cb (const geometry_msgs::PoseStamped::ConstPtr &req)
 
 mavros::std_plugins::SetpointAccelerationPlugin::SetpointAccelerationPlugin ()
 
 mavros::std_plugins::SetpointAttitudePlugin::SetpointAttitudePlugin ()
 
void mavros::std_plugins::SetpointPositionPlugin::setpointg_cb (const mavros_msgs::GlobalPositionTarget::ConstPtr &req)
 
EIGEN_MAKE_ALIGNED_OPERATOR_NEW mavros::std_plugins::SetpointPositionPlugin::SetpointPositionPlugin ()
 
 mavros::std_plugins::SetpointRawPlugin::SetpointRawPlugin ()
 
 mavros::std_plugins::SetpointVelocityPlugin::SetpointVelocityPlugin ()
 
void mavros::std_plugins::IMUPlugin::setup_covariance (ftf::Covariance3d &cov, double stdev)
 Setup 3x3 covariance matrix. More...
 
void mavros::std_plugins::ParamPlugin::shedule_cb (const ros::TimerEvent &event)
 
void mavros::std_plugins::ParamPlugin::shedule_pull (const ros::Duration &dt)
 
void mavros::std_plugins::HilPlugin::state_quat_cb (const mavros_msgs::HilStateQuaternion::ConstPtr &req)
 Send hil_state_quaternion to FCU. Message specification: https://mavlink.io/en/messages/common.html#HIL_STATE_QUATERNION. More...
 
void mavros::std_plugins::SystemStatusPlugin::statustext_cb (const mavros_msgs::StatusText::ConstPtr &req)
 
bool mavros::std_plugins::SystemTimePlugin::sync_converged ()
 
void mavros::std_plugins::SystemTimePlugin::sys_time_cb (const ros::TimerEvent &event)
 
 mavros::std_plugins::SystemStatusDiag::SystemStatusDiag (const std::string &name)
 
 mavros::std_plugins::SystemStatusPlugin::SystemStatusPlugin ()
 
 mavros::std_plugins::SystemTimePlugin::SystemTimePlugin ()
 
bool mavros::std_plugins::CommandPlugin::takeoff_cb (mavros_msgs::CommandTOL::Request &req, mavros_msgs::CommandTOL::Response &res)
 
 mavros::std_plugins::TDRRadioPlugin::TDRRadioPlugin ()
 
void mavros::plugin::TF2ListenerMixin< D >::tf2_start (const char *_thd_name, void(D::*cbp)(const geometry_msgs::TransformStamped &))
 start tf listener More...
 
template<class T >
void mavros::plugin::TF2ListenerMixin< D >::tf2_start (const char *_thd_name, message_filters::Subscriber< T > &topic_sub, void(D::*cbp)(const geometry_msgs::TransformStamped &, const typename T::ConstPtr &))
 start tf listener syncronized with another topic More...
 
void mavros::std_plugins::TimeSyncStatus::tick (int64_t rtt_ns, uint64_t remote_timestamp_ns, int64_t time_offset_ns)
 
void mavros::std_plugins::HeartbeatStatus::tick (uint8_t type_, uint8_t autopilot_, std::string &mode_, uint8_t system_status_)
 
void mavros::std_plugins::HomePositionPlugin::timeout_cb (const ros::TimerEvent &event)
 
void mavros::std_plugins::WaypointPlugin::timeout_cb (const ros::TimerEvent &event)
 Act on a timeout Resend the message that may have been lost. More...
 
void mavros::std_plugins::ParamPlugin::timeout_cb (const ros::TimerEvent &event)
 
void mavros::std_plugins::SystemStatusPlugin::timeout_cb (const ros::TimerEvent &event)
 
void mavros::std_plugins::SystemTimePlugin::timesync_cb (const ros::TimerEvent &event)
 
 mavros::std_plugins::TimeSyncStatus::TimeSyncStatus (const std::string &name, size_t win_size)
 
int64_t mavros::std_plugins::Parameter::to_integer ()
 
mavros_msgs::Waypoint mavros::std_plugins::WaypointItem::to_msg ()
 
mavros_msgs::Param mavros::std_plugins::Parameter::to_msg ()
 
PARAM_SET mavros::std_plugins::Parameter::to_param_set ()
 Make PARAM_SET message. Set target ids manually! More...
 
PARAM_SET mavros::std_plugins::Parameter::to_param_set_apm_qurk ()
 Make PARAM_SET message. Set target ids manually! More...
 
double mavros::std_plugins::Parameter::to_real ()
 
std::string mavros::std_plugins::WaypointItem::to_string ()
 
std::string mavros::std_plugins::Parameter::to_string () const
 
void mavros::std_plugins::SetpointPositionPlugin::transform_cb (const geometry_msgs::TransformStamped &transform)
 
void mavros::std_plugins::SetpointAttitudePlugin::transform_cb (const geometry_msgs::TransformStamped &transform, const mavros_msgs::Thrust::ConstPtr &thrust_msg)
 
bool mavros::std_plugins::CommandPlugin::trigger_control_cb (mavros_msgs::CommandTriggerControl::Request &req, mavros_msgs::CommandTriggerControl::Response &res)
 
bool mavros::std_plugins::CommandPlugin::trigger_interval_cb (mavros_msgs::CommandTriggerInterval::Request &req, mavros_msgs::CommandTriggerInterval::Response &res)
 
bool mavros::std_plugins::FTPPlugin::truncate_cb (mavros_msgs::FileTruncate::Request &req, mavros_msgs::FileTruncate::Response &res)
 
void mavros::std_plugins::FTPPlugin::truncate_file (std::string &path, size_t length)
 
bool mavros::std_plugins::SystemStatusPlugin::vehicle_info_get_cb (mavros_msgs::VehicleInfoGet::Request &req, mavros_msgs::VehicleInfoGet::Response &res)
 
void mavros::std_plugins::SetpointVelocityPlugin::vel_cb (const geometry_msgs::TwistStamped::ConstPtr &req)
 
void mavros::std_plugins::SetpointVelocityPlugin::vel_unstamped_cb (const geometry_msgs::Twist::ConstPtr &req)
 
 mavros::std_plugins::VfrHudPlugin::VfrHudPlugin ()
 
bool mavros::std_plugins::CommandPlugin::wait_ack_for (CommandTransaction &tr)
 
bool mavros::std_plugins::FTPPlugin::wait_completion (const int msecs)
 
bool mavros::std_plugins::WaypointPlugin::wait_fetch_all ()
 wait until a waypoint pull is complete. Pull happens asyncronously, this function blocks until it is done. More...
 
bool mavros::std_plugins::ParamPlugin::wait_fetch_all ()
 
bool mavros::std_plugins::ParamPlugin::wait_param_set_ack_for (std::shared_ptr< ParamSetOpt > opt)
 
bool mavros::std_plugins::WaypointPlugin::wait_push_all ()
 wait until a waypoint push is complete. Push happens asyncronously, this function blocks until it is done. More...
 
 mavros::std_plugins::WaypointPlugin::WaypointPlugin ()
 
 mavros::std_plugins::WindEstimationPlugin::WindEstimationPlugin ()
 
size_t mavros::std_plugins::FTPPlugin::write_bytes_to_copy ()
 
bool mavros::std_plugins::FTPPlugin::write_cb (mavros_msgs::FileWrite::Request &req, mavros_msgs::FileWrite::Response &res)
 
bool mavros::std_plugins::FTPPlugin::write_file (std::string &path, size_t off, V_FileData &data)
 
void mavros::std_plugins::FTPPlugin::write_file_end ()
 
virtual mavros::plugin::PluginBase::~PluginBase ()
 

Variables

static constexpr int mavros::std_plugins::ParamPlugin::_RETRIES_COUNT = 3
 
ros::Subscriber mavros::std_plugins::SetpointAccelerationPlugin::accel_sub
 
std::condition_variable mavros::std_plugins::CommandTransaction::ack
 
std::condition_variable mavros::std_plugins::ParamSetOpt::ack
 
const ros::Duration mavros::std_plugins::CommandPlugin::ACK_TIMEOUT_DT
 
static constexpr int mavros::std_plugins::CommandPlugin::ACK_TIMEOUT_MS = 5000
 
L_CommandTransaction mavros::std_plugins::CommandPlugin::ack_waiting_list
 
uint32_t mavros::std_plugins::FTPPlugin::active_session
 session id of current operation More...
 
ros::Subscriber mavros::std_plugins::ActuatorControlPlugin::actuator_control_sub
 
ros::Publisher mavros::std_plugins::AltitudePlugin::altitude_pub
 
ftf::Covariance3d mavros::std_plugins::IMUPlugin::angular_velocity_cov
 
ros::ServiceServer mavros::std_plugins::CommandPlugin::arming_srv
 
ros::Subscriber mavros::std_plugins::SetpointRawPlugin::attitude_sub
 
MAV_AUTOPILOT mavros::std_plugins::HeartbeatStatus::autopilot
 
ros::Timer mavros::std_plugins::SystemStatusPlugin::autopilot_version_timer
 
BatteryStatusDiag mavros::std_plugins::SystemStatusPlugin::batt_diag
 
ros::Publisher mavros::std_plugins::SystemStatusPlugin::batt_pub
 
float mavros::std_plugins::SystemStatusPlugin::battery_voltage
 
const ros::Duration mavros::std_plugins::WaypointPlugin::BOOTUP_TIME_DT
 
const ros::Duration mavros::std_plugins::ParamPlugin::BOOTUP_TIME_DT
 
static constexpr int mavros::std_plugins::WaypointPlugin::BOOTUP_TIME_MS = 15000
 
static constexpr int mavros::std_plugins::ParamPlugin::BOOTUP_TIME_MS = 10000
 APM boot time. More...
 
std::atomic< uint16_t > mavros::std_plugins::MemInfo::brkval
 
uint32_t mavros::std_plugins::FTPPlugin::checksum_crc32
 
ros::ServiceServer mavros::std_plugins::FTPPlugin::checksum_srv
 
std::string mavros::std_plugins::GlobalPositionPlugin::child_frame_id
 body-fixed frame for topic headers More...
 
static constexpr int mavros::std_plugins::FTPPlugin::CHUNK_TIMEOUT_MS = 200
 
ros::ServiceServer mavros::std_plugins::WaypointPlugin::clear_srv
 
ros::ServiceServer mavros::std_plugins::FTPPlugin::close_srv
 
ros::NodeHandle mavros::std_plugins::CommandPlugin::cmd_nh
 
ros::ServiceServer mavros::std_plugins::CommandPlugin::command_int_srv
 
ros::ServiceServer mavros::std_plugins::CommandPlugin::command_long_srv
 
std::condition_variable mavros::std_plugins::FTPPlugin::cond
 wait condvar More...
 
std::mutex mavros::std_plugins::CommandTransaction::cond_mutex
 
std::mutex mavros::std_plugins::FTPPlugin::cond_mutex
 
std::mutex mavros::std_plugins::ParamSetOpt::cond_mutex
 
MAV_TYPE mavros::std_plugins::SystemStatusPlugin::conn_heartbeat_mav_type
 
ros::Publisher mavros::std_plugins::ManualControlPlugin::control_pub
 
int mavros::std_plugins::SystemTimePlugin::convergence_window
 
int mavros::std_plugins::TimeSyncStatus::count_
 
int mavros::std_plugins::HeartbeatStatus::count_
 
float mavros::std_plugins::BatteryStatusDiag::current
 
Eigen::Vector3d mavros::std_plugins::SetpointPositionPlugin::current_gps
 geodetic coordinates LLA More...
 
Eigen::Vector3d mavros::std_plugins::SetpointPositionPlugin::current_local_pos
 Current local position in ENU. More...
 
uint8_t mavros::std_plugins::FTPRequest::PayloadHeader::data []
 command data, varies by Opcode More...
 
static const uint8_t mavros::std_plugins::FTPRequest::DATA_MAXSZ = 251 - sizeof(PayloadHeader)
 payload.size() - header bytes More...
 
bool mavros::std_plugins::TDRRadioPlugin::diag_added
 
std::mutex mavros::std_plugins::TDRRadioPlugin::diag_mutex
 
ros::Publisher mavros::std_plugins::IMUPlugin::diff_press_pub
 
static const char mavros::std_plugins::FTPRequest::DIRENT_DIR = 'D'
 
static const char mavros::std_plugins::FTPRequest::DIRENT_FILE = 'F'
 
static const char mavros::std_plugins::FTPRequest::DIRENT_SKIP = 'S'
 
bool mavros::std_plugins::SystemStatusPlugin::disable_diag
 
bool mavros::std_plugins::WaypointPlugin::do_pull_after_gcs
 
TimeSyncStatus mavros::std_plugins::SystemTimePlugin::dt_diag
 
Eigen::Vector3d mavros::std_plugins::GlobalPositionPlugin::ecef_origin {}
 geocentric origin of map frame [m] More...
 
bool mavros::std_plugins::WaypointPlugin::enable_partial_push
 
Eigen::Quaterniond mavros::std_plugins::HilPlugin::enu_orientation
 
uint16_t mavros::std_plugins::CommandTransaction::expected_command
 
ros::Publisher mavros::std_plugins::SystemStatusPlugin::extended_state_pub
 
double mavros::std_plugins::SystemTimePlugin::filter_alpha
 
float mavros::std_plugins::SystemTimePlugin::filter_alpha_final
 
float mavros::std_plugins::SystemTimePlugin::filter_alpha_initial
 
double mavros::std_plugins::SystemTimePlugin::filter_beta
 
float mavros::std_plugins::SystemTimePlugin::filter_beta_final
 
float mavros::std_plugins::SystemTimePlugin::filter_beta_initial
 
std::string mavros::std_plugins::AltitudePlugin::frame_id
 
std::string mavros::std_plugins::SafetyAreaPlugin::frame_id
 
std::string mavros::std_plugins::LocalPositionPlugin::frame_id
 frame for Pose More...
 
std::string mavros::std_plugins::IMUPlugin::frame_id
 
std::string mavros::std_plugins::GlobalPositionPlugin::frame_id
 origin frame for topic headers More...
 
std::atomic< ssize_t > mavros::std_plugins::MemInfo::freemem
 
ros::NodeHandle mavros::std_plugins::FTPPlugin::ftp_nh
 
static constexpr double mavros::std_plugins::GAUSS_TO_TESLA = 1.0e-4
 Gauss to Tesla coeff. More...
 
ros::ServiceServer mavros::std_plugins::ParamPlugin::get_srv
 
ros::Subscriber mavros::std_plugins::SetpointRawPlugin::global_sub
 
ros::Publisher mavros::std_plugins::GlobalPositionPlugin::gp_fix_pub
 
ros::Publisher mavros::std_plugins::GlobalPositionPlugin::gp_global_offset_pub
 
ros::Publisher mavros::std_plugins::GlobalPositionPlugin::gp_global_origin_pub
 
ros::Publisher mavros::std_plugins::GlobalPositionPlugin::gp_hdg_pub
 
ros::NodeHandle mavros::std_plugins::GlobalPositionPlugin::gp_nh
 
ros::Publisher mavros::std_plugins::GlobalPositionPlugin::gp_odom_pub
 
ros::Publisher mavros::std_plugins::GlobalPositionPlugin::gp_rel_alt_pub
 
ros::Subscriber mavros::std_plugins::GlobalPositionPlugin::gp_set_global_origin_sub
 
ros::Subscriber mavros::std_plugins::SetpointPositionPlugin::gps_sub
 current GPS More...
 
double mavros::std_plugins::GlobalPositionPlugin::gps_uere
 
bool mavros::std_plugins::IMUPlugin::has_att_quat
 
bool mavros::std_plugins::SystemStatusPlugin::has_battery_status
 
bool mavros::std_plugins::IMUPlugin::has_hr_imu
 
bool mavros::std_plugins::LocalPositionPlugin::has_local_position_ned
 
bool mavros::std_plugins::LocalPositionPlugin::has_local_position_ned_cov
 
bool mavros::std_plugins::TDRRadioPlugin::has_radio_status
 
bool mavros::std_plugins::IMUPlugin::has_raw_imu
 
std::atomic< bool > mavros::std_plugins::RCIOPlugin::has_rc_channels_msg
 
bool mavros::std_plugins::IMUPlugin::has_scaled_imu
 
HeartbeatStatus mavros::std_plugins::SystemStatusPlugin::hb_diag
 
ros::Timer mavros::std_plugins::SystemStatusPlugin::heartbeat_timer
 
int mavros::std_plugins::SystemTimePlugin::high_deviation_count
 
int mavros::std_plugins::SystemTimePlugin::high_rtt_count
 
ros::Publisher mavros::std_plugins::HilPlugin::hil_actuator_controls_pub
 
ros::Publisher mavros::std_plugins::HilPlugin::hil_controls_pub
 
ros::Subscriber mavros::std_plugins::HilPlugin::hil_flow_sub
 
ros::Subscriber mavros::std_plugins::HilPlugin::hil_gps_sub
 
ros::NodeHandle mavros::std_plugins::HilPlugin::hil_nh
 
ros::Subscriber mavros::std_plugins::HilPlugin::hil_rcin_sub
 
ros::Subscriber mavros::std_plugins::HilPlugin::hil_sensor_sub
 
ros::Subscriber mavros::std_plugins::HilPlugin::hil_state_quaternion_sub
 
int mavros::std_plugins::TimeSyncStatus::hist_indx_
 
int mavros::std_plugins::HeartbeatStatus::hist_indx_
 
ros::NodeHandle mavros::std_plugins::HomePositionPlugin::hp_nh
 
ros::Publisher mavros::std_plugins::HomePositionPlugin::hp_pub
 
ros::Subscriber mavros::std_plugins::HomePositionPlugin::hp_sub
 
ros::Subscriber mavros::std_plugins::GlobalPositionPlugin::hp_sub
 
HwStatus mavros::std_plugins::SystemStatusPlugin::hwst_diag
 
size_t mavros::std_plugins::HwStatus::i2cerr
 
size_t mavros::std_plugins::HwStatus::i2cerr_last
 
ros::NodeHandle mavros::std_plugins::IMUPlugin::imu_nh
 
ros::Publisher mavros::std_plugins::IMUPlugin::imu_pub
 
ros::Publisher mavros::std_plugins::IMUPlugin::imu_raw_pub
 
bool mavros::std_plugins::FTPPlugin::is_error
 error signaling flag (timeout/proto error) More...
 
bool mavros::std_plugins::GlobalPositionPlugin::is_map_init
 
bool mavros::std_plugins::WaypointPlugin::is_timedout
 
bool mavros::std_plugins::ParamSetOpt::is_timedout
 
bool mavros::std_plugins::ParamPlugin::is_timedout
 
ros::ServiceServer mavros::std_plugins::CommandPlugin::land_srv
 
uint64_t mavros::std_plugins::TimeSyncStatus::last_remote_ts
 
int64_t mavros::std_plugins::TimeSyncStatus::last_rtt
 
uint16_t mavros::std_plugins::FTPPlugin::last_send_seqnr
 seqNumber for send. More...
 
mavlink::common::msg::SYS_STATUS mavros::std_plugins::SystemStatusDiag::last_st
 
mavros_msgs::RadioStatus::Ptr mavros::std_plugins::TDRRadioPlugin::last_status
 
Eigen::Vector3d mavros::std_plugins::IMUPlugin::linear_accel_vec_flu
 
Eigen::Vector3d mavros::std_plugins::IMUPlugin::linear_accel_vec_frd
 
ftf::Covariance3d mavros::std_plugins::IMUPlugin::linear_acceleration_cov
 
std::mutex mavros::std_plugins::ParamPlugin::list_cond_mutex
 
std::vector< mavros_msgs::FileEntry > mavros::std_plugins::FTPPlugin::list_entries
 
uint32_t mavros::std_plugins::FTPPlugin::list_offset
 
std::string mavros::std_plugins::FTPPlugin::list_path
 
std::condition_variable mavros::std_plugins::WaypointPlugin::list_receiving
 
std::condition_variable mavros::std_plugins::ParamPlugin::list_receiving
 
std::condition_variable mavros::std_plugins::WaypointPlugin::list_sending
 
ros::ServiceServer mavros::std_plugins::FTPPlugin::list_srv
 
const ros::Duration mavros::std_plugins::WaypointPlugin::LIST_TIMEOUT_DT
 
const ros::Duration mavros::std_plugins::ParamPlugin::LIST_TIMEOUT_DT
 
static constexpr int mavros::std_plugins::WaypointPlugin::LIST_TIMEOUT_MS = 30000
 system startup delay before start pull More...
 
static constexpr int mavros::std_plugins::FTPPlugin::LIST_TIMEOUT_MS = 5000
 
static constexpr int mavros::std_plugins::ParamPlugin::LIST_TIMEOUT_MS = 30000
 Receive all time. More...
 
ros::Publisher mavros::std_plugins::LocalPositionPlugin::local_accel
 
Eigen::Vector3d mavros::std_plugins::GlobalPositionPlugin::local_ecef {}
 local ECEF coordinates on map frame [m] More...
 
ros::Publisher mavros::std_plugins::LocalPositionPlugin::local_odom
 
ros::Publisher mavros::std_plugins::LocalPositionPlugin::local_position
 
ros::Publisher mavros::std_plugins::LocalPositionPlugin::local_position_cov
 
ros::Subscriber mavros::std_plugins::SetpointRawPlugin::local_sub
 
ros::Subscriber mavros::std_plugins::SetpointPositionPlugin::local_sub
 current local ENU More...
 
ros::Publisher mavros::std_plugins::LocalPositionPlugin::local_velocity_body
 
ros::Publisher mavros::std_plugins::LocalPositionPlugin::local_velocity_cov
 
ros::Publisher mavros::std_plugins::LocalPositionPlugin::local_velocity_local
 
int mavros::std_plugins::TDRRadioPlugin::low_rssi
 
ros::NodeHandle mavros::std_plugins::LocalPositionPlugin::lp_nh
 
UAS * mavros::plugin::PluginBase::m_uas
 
ros::Publisher mavros::std_plugins::IMUPlugin::magn_pub
 
ftf::Covariance3d mavros::std_plugins::IMUPlugin::magnetic_cov
 
ros::NodeHandle mavros::std_plugins::ManualControlPlugin::manual_control_nh
 
Eigen::Vector3d mavros::std_plugins::GlobalPositionPlugin::map_origin {}
 geodetic origin of map frame [lla] More...
 
MAV_FRAME mavros::std_plugins::SetpointVelocityPlugin::mav_frame
 
MAV_FRAME mavros::std_plugins::SetpointPositionPlugin::mav_frame
 
ros::ServiceServer mavros::std_plugins::SetpointVelocityPlugin::mav_frame_srv
 
ros::ServiceServer mavros::std_plugins::SetpointPositionPlugin::mav_frame_srv
 
int mavros::std_plugins::SystemTimePlugin::max_cons_high_deviation
 
int mavros::std_plugins::SystemTimePlugin::max_cons_high_rtt
 
int mavros::std_plugins::SystemTimePlugin::max_deviation_sample
 
const double mavros::std_plugins::TimeSyncStatus::max_freq_
 
const double mavros::std_plugins::HeartbeatStatus::max_freq_
 
static constexpr size_t mavros::std_plugins::FTPPlugin::MAX_RESERVE_DIFF = 0x10000
 Maximum difference between allocated space and used. More...
 
int mavros::std_plugins::SystemTimePlugin::max_rtt_sample
 
MemInfo mavros::std_plugins::SystemStatusPlugin::mem_diag
 
ros::ServiceServer mavros::std_plugins::SystemStatusPlugin::message_interval_srv
 
static constexpr double mavros::std_plugins::MILLIBAR_TO_PASCAL = 1.0e2
 millBar to Pascal coeff More...
 
static constexpr double mavros::std_plugins::MILLIG_TO_MS2 = 9.80665 / 1000.0
 millG to m/s**2 coeff More...
 
static constexpr double mavros::std_plugins::MILLIMS2_TO_MS2 = 1.0e-3
 millm/s**2 to m/s**2 coeff More...
 
static constexpr double mavros::std_plugins::MILLIRS_TO_RADSEC = 1.0e-3
 millRad/Sec to Rad/Sec coeff More...
 
static constexpr double mavros::std_plugins::MILLIT_TO_TESLA = 1000.0
 millTesla to Tesla coeff More...
 
const double mavros::std_plugins::TimeSyncStatus::min_freq_
 
const double mavros::std_plugins::HeartbeatStatus::min_freq_
 
float mavros::std_plugins::BatteryStatusDiag::min_voltage
 
ros::ServiceServer mavros::std_plugins::FTPPlugin::mkdir_srv
 
std::string mavros::std_plugins::HeartbeatStatus::mode
 
ros::ServiceServer mavros::std_plugins::SystemStatusPlugin::mode_srv
 
std::mutex mavros::std_plugins::RCIOPlugin::mutex
 
std::mutex mavros::std_plugins::CommandPlugin::mutex
 
std::mutex mavros::std_plugins::TimeSyncStatus::mutex
 
std::mutex mavros::std_plugins::HeartbeatStatus::mutex
 
std::recursive_mutex mavros::std_plugins::WaypointPlugin::mutex
 
std::mutex mavros::std_plugins::SystemStatusDiag::mutex
 
std::mutex mavros::std_plugins::BatteryStatusDiag::mutex
 
std::recursive_mutex mavros::std_plugins::ParamPlugin::mutex
 
std::mutex mavros::std_plugins::HwStatus::mutex
 
ros::NodeHandle mavros::std_plugins::ActuatorControlPlugin::nh
 
ros::NodeHandle mavros::std_plugins::VfrHudPlugin::nh
 
ros::NodeHandle mavros::std_plugins::AltitudePlugin::nh
 
ros::NodeHandle mavros::std_plugins::WindEstimationPlugin::nh
 
ros::NodeHandle mavros::std_plugins::TDRRadioPlugin::nh
 
ros::NodeHandle mavros::std_plugins::DummyPlugin::nh
 
ros::NodeHandle mavros::std_plugins::SystemTimePlugin::nh
 
ros::NodeHandle mavros::std_plugins::SystemStatusPlugin::nh
 
float mavros::std_plugins::SetpointAttitudePlugin::normalized_thrust
 
uint32_t mavros::std_plugins::FTPRequest::PayloadHeader::offset
 Offsets for List and Read commands. More...
 
int64_t mavros::std_plugins::TimeSyncStatus::offset
 
uint32_t mavros::std_plugins::SetpointPositionPlugin::old_gps_stamp = 0
 old time gps time stamp in [ms], to check if new gps msg is received More...
 
OP mavros::std_plugins::FTPPlugin::op_state
 
uint8_t mavros::std_plugins::FTPRequest::PayloadHeader::opcode
 Command opcode. More...
 
std::string mavros::std_plugins::FTPPlugin::open_path
 
size_t mavros::std_plugins::FTPPlugin::open_size
 
ros::ServiceServer mavros::std_plugins::FTPPlugin::open_srv
 
static constexpr int mavros::std_plugins::FTPPlugin::OPEN_TIMEOUT_MS = 200
 
ftf::Covariance3d mavros::std_plugins::IMUPlugin::orientation_cov
 
ros::Subscriber mavros::std_plugins::RCIOPlugin::override_sub
 
uint8_t mavros::std_plugins::FTPRequest::PayloadHeader::padding [2]
 32 bit aligment padding More...
 
Parameter mavros::std_plugins::ParamSetOpt::param
 
uint16_t mavros::std_plugins::Parameter::param_count
 
ssize_t mavros::std_plugins::ParamPlugin::param_count
 
std::string mavros::std_plugins::Parameter::param_id
 
uint16_t mavros::std_plugins::Parameter::param_index
 
ros::NodeHandle mavros::std_plugins::ParamPlugin::param_nh
 
size_t mavros::std_plugins::ParamPlugin::param_rx_retries
 
PR mavros::std_plugins::ParamPlugin::param_state
 
const ros::Duration mavros::std_plugins::ParamPlugin::PARAM_TIMEOUT_DT
 
static constexpr int mavros::std_plugins::ParamPlugin::PARAM_TIMEOUT_MS = 1000
 Param wait time. More...
 
XmlRpcValue mavros::std_plugins::Parameter::param_value
 
ros::Publisher mavros::std_plugins::ParamPlugin::param_value_pub
 
std::unordered_map< std::string, Parameter > mavros::std_plugins::ParamPlugin::parameters
 
std::list< uint16_t > mavros::std_plugins::ParamPlugin::parameters_missing_idx
 
static constexpr double mavros::std_plugins::PASCAL_TO_MILLIBAR = 1.0e-2
 Pascal to millBar coeff. More...
 
ros::Timer mavros::std_plugins::HomePositionPlugin::poll_timer
 
message_filters::Subscriber< geometry_msgs::PoseStamped > mavros::std_plugins::SetpointAttitudePlugin::pose_sub
 
ros::ServiceServer mavros::std_plugins::WaypointPlugin::pull_srv
 
ros::ServiceServer mavros::std_plugins::ParamPlugin::pull_srv
 
ros::ServiceServer mavros::std_plugins::WaypointPlugin::push_srv
 
ros::ServiceServer mavros::std_plugins::ParamPlugin::push_srv
 
int mavros::std_plugins::FTPPlugin::r_errno
 store errno from server More...
 
static constexpr double mavros::std_plugins::RAD_TO_DEG = 180.0 / M_PI
 Radians to degrees. More...
 
ros::ServiceServer mavros::std_plugins::SystemStatusPlugin::rate_srv
 
ros::Publisher mavros::std_plugins::GlobalPositionPlugin::raw_fix_pub
 
std::vector< uint16_t > mavros::std_plugins::RCIOPlugin::raw_rc_in
 
std::vector< uint16_t > mavros::std_plugins::RCIOPlugin::raw_rc_out
 
ros::Publisher mavros::std_plugins::GlobalPositionPlugin::raw_vel_pub
 
ros::Publisher mavros::std_plugins::RCIOPlugin::rc_in_pub
 
ros::NodeHandle mavros::std_plugins::RCIOPlugin::rc_nh
 
ros::Publisher mavros::std_plugins::RCIOPlugin::rc_out_pub
 
V_FileData mavros::std_plugins::FTPPlugin::read_buffer
 
uint32_t mavros::std_plugins::FTPPlugin::read_offset
 
size_t mavros::std_plugins::FTPPlugin::read_size
 
ros::ServiceServer mavros::std_plugins::FTPPlugin::read_srv
 
std::mutex mavros::std_plugins::WaypointPlugin::recv_cond_mutex
 
float mavros::std_plugins::BatteryStatusDiag::remaining
 
ros::ServiceServer mavros::std_plugins::FTPPlugin::remove_srv
 
ros::ServiceServer mavros::std_plugins::FTPPlugin::rename_srv
 
uint8_t mavros::std_plugins::FTPRequest::PayloadHeader::req_opcode
 Request opcode returned in kRspAck, kRspNak message. More...
 
const ros::Duration mavros::std_plugins::HomePositionPlugin::REQUEST_POLL_TIME_DT
 position refresh poll interval More...
 
static constexpr int mavros::std_plugins::HomePositionPlugin::REQUEST_POLL_TIME_MS = 10000
 
const ros::Duration mavros::std_plugins::WaypointPlugin::RESCHEDULE_DT
 
static constexpr int mavros::std_plugins::WaypointPlugin::RESCHEDULE_MS = 5000
 
bool mavros::std_plugins::WaypointPlugin::reschedule_pull
 
ros::ServiceServer mavros::std_plugins::FTPPlugin::reset_srv
 
uint8_t mavros::std_plugins::CommandTransaction::result
 
static constexpr int mavros::std_plugins::WaypointPlugin::RETRIES_COUNT = 3
 
const int mavros::std_plugins::ParamPlugin::RETRIES_COUNT
 
static constexpr int mavros::std_plugins::SystemStatusPlugin::RETRIES_COUNT = 6
 
size_t mavros::std_plugins::ParamSetOpt::retries_remaining
 
bool mavros::std_plugins::SetpointAttitudePlugin::reverse_thrust
 
ros::ServiceServer mavros::std_plugins::FTPPlugin::rmdir_srv
 
double mavros::std_plugins::GlobalPositionPlugin::rot_cov
 
int64_t mavros::std_plugins::TimeSyncStatus::rtt_sum
 
ros::NodeHandle mavros::std_plugins::SafetyAreaPlugin::safety_nh
 
ros::Publisher mavros::std_plugins::SafetyAreaPlugin::safetyarea_pub
 
ros::Subscriber mavros::std_plugins::SafetyAreaPlugin::safetyarea_sub
 
ros::Timer mavros::std_plugins::WaypointPlugin::schedule_timer
 
std::mutex mavros::std_plugins::WaypointPlugin::send_cond_mutex
 
bool mavros::std_plugins::SetpointAccelerationPlugin::send_force
 
ros::Subscriber mavros::std_plugins::ManualControlPlugin::send_sub
 
std::vector< WaypointItem > mavros::std_plugins::WaypointPlugin::send_waypoints
 
std::vector< intmavros::std_plugins::TimeSyncStatus::seq_nums_
 
std::vector< intmavros::std_plugins::HeartbeatStatus::seq_nums_
 
uint16_t mavros::std_plugins::FTPRequest::PayloadHeader::seqNumber
 sequence number for message More...
 
uint32_t mavros::std_plugins::SystemTimePlugin::sequence
 
uint8_t mavros::std_plugins::FTPRequest::PayloadHeader::session
 Session id for read and write commands. More...
 
std::map< std::string, uint32_t > mavros::std_plugins::FTPPlugin::session_file_map
 
ros::ServiceServer mavros::std_plugins::WaypointPlugin::set_cur_srv
 
ros::ServiceServer mavros::std_plugins::CommandPlugin::set_home_srv
 
std::unordered_map< std::string, std::shared_ptr< ParamSetOpt > > mavros::std_plugins::ParamPlugin::set_parameters
 
ros::ServiceServer mavros::std_plugins::ParamPlugin::set_srv
 
ros::Subscriber mavros::std_plugins::SetpointPositionPlugin::setpoint_sub
 
ros::Subscriber mavros::std_plugins::SetpointPositionPlugin::setpointg_sub
 GPS setpoint. More...
 
ros::Timer mavros::std_plugins::ParamPlugin::shedule_timer
 for startup shedule fetch More...
 
uint8_t mavros::std_plugins::FTPRequest::PayloadHeader::size
 Size of data. More...
 
ros::NodeHandle mavros::std_plugins::SetpointAccelerationPlugin::sp_nh
 
ros::NodeHandle mavros::std_plugins::SetpointVelocityPlugin::sp_nh
 
ros::NodeHandle mavros::std_plugins::SetpointRawPlugin::sp_nh
 
ros::NodeHandle mavros::std_plugins::SetpointPositionPlugin::sp_nh
 
ros::NodeHandle mavros::std_plugins::SetpointAttitudePlugin::sp_nh
 
ros::NodeHandle mavros::std_plugins::SetpointPositionPlugin::spg_nh
 to get local position and gps coord which are not under sp_h() More...
 
ros::Publisher mavros::std_plugins::SystemStatusPlugin::state_pub
 
ros::Publisher mavros::std_plugins::IMUPlugin::static_press_pub
 
ros::Publisher mavros::std_plugins::TDRRadioPlugin::status_pub
 
ros::Publisher mavros::std_plugins::SystemStatusPlugin::statustext_pub
 
ros::Subscriber mavros::std_plugins::SystemStatusPlugin::statustext_sub
 
std::unique_ptr< SyncPoseThrust > mavros::std_plugins::SetpointAttitudePlugin::sync_pose
 
std::unique_ptr< SyncTwistThrust > mavros::std_plugins::SetpointAttitudePlugin::sync_twist
 
SystemStatusDiag mavros::std_plugins::SystemStatusPlugin::sys_diag
 
ros::Timer mavros::std_plugins::SystemTimePlugin::sys_time_timer
 
MAV_STATE mavros::std_plugins::HeartbeatStatus::system_status
 
ros::ServiceServer mavros::std_plugins::CommandPlugin::takeoff_srv
 
ros::Publisher mavros::std_plugins::ActuatorControlPlugin::target_actuator_control_pub
 
ros::Publisher mavros::std_plugins::SetpointRawPlugin::target_attitude_pub
 
ros::Publisher mavros::std_plugins::SetpointRawPlugin::target_global_pub
 
ros::Publisher mavros::std_plugins::SetpointRawPlugin::target_local_pub
 
ros::Publisher mavros::std_plugins::IMUPlugin::temp_baro_pub
 
ros::Publisher mavros::std_plugins::IMUPlugin::temp_imu_pub
 
static constexpr double mavros::std_plugins::TESLA_TO_GAUSS = 1.0e4
 Tesla to Gauss coeff. More...
 
std::string mavros::std_plugins::LocalPositionPlugin::tf_child_frame_id
 frame for TF More...
 
std::string mavros::std_plugins::SetpointPositionPlugin::tf_child_frame_id
 
std::string mavros::std_plugins::SetpointAttitudePlugin::tf_child_frame_id
 
std::string mavros::std_plugins::GlobalPositionPlugin::tf_child_frame_id
 frame for TF and Pose More...
 
std::string mavros::std_plugins::LocalPositionPlugin::tf_frame_id
 origin for TF More...
 
std::string mavros::std_plugins::SetpointPositionPlugin::tf_frame_id
 
std::string mavros::std_plugins::SetpointAttitudePlugin::tf_frame_id
 
std::string mavros::std_plugins::GlobalPositionPlugin::tf_frame_id
 origin for TF More...
 
std::string mavros::std_plugins::GlobalPositionPlugin::tf_global_frame_id
 global origin for TF More...
 
bool mavros::std_plugins::SetpointPositionPlugin::tf_listen
 
bool mavros::std_plugins::SetpointAttitudePlugin::tf_listen
 
double mavros::std_plugins::SetpointPositionPlugin::tf_rate
 
double mavros::std_plugins::SetpointAttitudePlugin::tf_rate
 
bool mavros::std_plugins::LocalPositionPlugin::tf_send
 
bool mavros::std_plugins::GlobalPositionPlugin::tf_send
 
std::string mavros::plugin::TF2ListenerMixin< D >::tf_thd_name
 
std::thread mavros::plugin::TF2ListenerMixin< D >::tf_thread
 
message_filters::Subscriber< mavros_msgs::Thrust > mavros::std_plugins::SetpointAttitudePlugin::th_sub
 
double mavros::std_plugins::SystemTimePlugin::time_offset
 
ros::Publisher mavros::std_plugins::SystemTimePlugin::time_ref_pub
 
std::string mavros::std_plugins::SystemTimePlugin::time_ref_source
 
double mavros::std_plugins::SystemTimePlugin::time_skew
 
ros::Timer mavros::std_plugins::ParamPlugin::timeout_timer
 for timeout resend More...
 
ros::Timer mavros::std_plugins::SystemStatusPlugin::timeout_timer
 
std::vector< ros::Timemavros::std_plugins::TimeSyncStatus::times_
 
std::vector< ros::Timemavros::std_plugins::HeartbeatStatus::times_
 
ros::Publisher mavros::std_plugins::SystemTimePlugin::timesync_status_pub
 
ros::Timer mavros::std_plugins::SystemTimePlugin::timesync_timer
 
const double mavros::std_plugins::TimeSyncStatus::tolerance_
 
const double mavros::std_plugins::HeartbeatStatus::tolerance_
 
ros::ServiceServer mavros::std_plugins::CommandPlugin::trigger_control_srv
 
ros::ServiceServer mavros::std_plugins::CommandPlugin::trigger_interval_srv
 
ros::ServiceServer mavros::std_plugins::FTPPlugin::truncate_srv
 
message_filters::Subscriber< geometry_msgs::TwistStamped > mavros::std_plugins::SetpointAttitudePlugin::twist_sub
 
MAV_TYPE mavros::std_plugins::HeartbeatStatus::type
 
ftf::Covariance3d mavros::std_plugins::IMUPlugin::unk_orientation_cov
 
ros::ServiceServer mavros::std_plugins::HomePositionPlugin::update_srv
 
bool mavros::std_plugins::CommandPlugin::use_comp_id_system_control
 
bool mavros::std_plugins::SetpointAttitudePlugin::use_quaternion
 
bool mavros::std_plugins::GlobalPositionPlugin::use_relative_alt
 
float mavros::std_plugins::HwStatus::vcc
 
ros::ServiceServer mavros::std_plugins::SystemStatusPlugin::vehicle_info_get_srv
 
M_VehicleInfo mavros::std_plugins::SystemStatusPlugin::vehicles
 
ros::Subscriber mavros::std_plugins::SetpointVelocityPlugin::vel_sub
 
ros::Subscriber mavros::std_plugins::SetpointVelocityPlugin::vel_unstamped_sub
 
int mavros::std_plugins::SystemStatusPlugin::version_retries
 
ros::Publisher mavros::std_plugins::VfrHudPlugin::vfr_pub
 
float mavros::std_plugins::BatteryStatusDiag::voltage
 
std::vector< WaypointItem > mavros::std_plugins::WaypointPlugin::waypoints
 
ros::Publisher mavros::std_plugins::WindEstimationPlugin::wind_pub
 
const size_t mavros::std_plugins::TimeSyncStatus::window_size_
 
const size_t mavros::std_plugins::HeartbeatStatus::window_size_
 
size_t mavros::std_plugins::WaypointPlugin::wp_count
 
size_t mavros::std_plugins::WaypointPlugin::wp_cur_active
 
size_t mavros::std_plugins::WaypointPlugin::wp_cur_id
 
size_t mavros::std_plugins::WaypointPlugin::wp_end_id
 
ros::Publisher mavros::std_plugins::WaypointPlugin::wp_list_pub
 
ros::NodeHandle mavros::std_plugins::WaypointPlugin::wp_nh
 
ros::Publisher mavros::std_plugins::WaypointPlugin::wp_reached_pub
 
size_t mavros::std_plugins::WaypointPlugin::wp_retries
 
size_t mavros::std_plugins::WaypointPlugin::wp_set_active
 
size_t mavros::std_plugins::WaypointPlugin::wp_start_id
 
WP mavros::std_plugins::WaypointPlugin::wp_state
 
const ros::Duration mavros::std_plugins::WaypointPlugin::WP_TIMEOUT_DT
 
static constexpr int mavros::std_plugins::WaypointPlugin::WP_TIMEOUT_MS = 1000
 Timeout for pull/push operations. More...
 
ros::Timer mavros::std_plugins::WaypointPlugin::wp_timer
 
V_FileData mavros::std_plugins::FTPPlugin::write_buffer
 
V_FileData::iterator mavros::std_plugins::FTPPlugin::write_it
 
uint32_t mavros::std_plugins::FTPPlugin::write_offset
 
ros::ServiceServer mavros::std_plugins::FTPPlugin::write_srv
 
double mavros::std_plugins::WaypointItem::x_lat
 
double mavros::std_plugins::WaypointItem::y_long
 
double mavros::std_plugins::WaypointItem::z_alt
 

Friends

class mavros::std_plugins::SetpointRawPlugin::SetAttitudeTargetMixin
 
class mavros::std_plugins::SetpointAttitudePlugin::SetAttitudeTargetMixin
 
class mavros::std_plugins::SetpointRawPlugin::SetPositionTargetGlobalIntMixin
 
class mavros::std_plugins::SetpointAccelerationPlugin::SetPositionTargetLocalNEDMixin
 
class mavros::std_plugins::SetpointVelocityPlugin::SetPositionTargetLocalNEDMixin
 
class mavros::std_plugins::SetpointRawPlugin::SetPositionTargetLocalNEDMixin
 
class mavros::std_plugins::SetpointPositionPlugin::SetPositionTargetLocalNEDMixin
 
class mavros::std_plugins::SetpointPositionPlugin::TF2ListenerMixin
 
class mavros::std_plugins::SetpointAttitudePlugin::TF2ListenerMixin
 

Detailed Description

MAVROS Plugin system.

Macro Definition Documentation

#define SERVICE_IDLE_CHECK ( )
Value:
if (op_state != OP::IDLE) { \
ROS_ERROR_NAMED("ftp", "FTP: Busy"); \
return false; \
}

Service handler common header code.

Definition at line 889 of file ftp.cpp.

Typedef Documentation

using BatteryMsg = mavros_msgs::BatteryStatus

Definition at line 35 of file sys_status.cpp.

Definition at line 52 of file mavros_plugin.h.

generic message handler callback

Definition at line 44 of file mavros_plugin.h.

using mavros::plugin::PluginBase::HandlerInfo = std::tuple<mavlink::msgid_t, const char*, size_t, HandlerCb>

Tuple: MSG ID, MSG NAME, message type into hash_code, message handler callback.

Definition at line 46 of file mavros_plugin.h.

using mavros::std_plugins::CommandPlugin::L_CommandTransaction = std::list<CommandTransaction>
private

Definition at line 87 of file command.cpp.

typedef std::lock_guard<std::recursive_mutex> mavros::plugin::lock_guard

Definition at line 31 of file mavros_plugin.h.

using mavros::std_plugins::lock_guard = typedef std::lock_guard<std::mutex>

Definition at line 32 of file command.cpp.

using mavros::std_plugins::RCIOPlugin::lock_guard = std::lock_guard<std::mutex>
private

Definition at line 57 of file rc_io.cpp.

using mavros::std_plugins::WaypointPlugin::lock_guard = std::lock_guard<std::recursive_mutex>
private

Definition at line 187 of file waypoint.cpp.

using mavros::std_plugins::ParamPlugin::lock_guard = std::lock_guard<std::recursive_mutex>
private

Definition at line 393 of file param.cpp.

using mavros::std_plugins::SystemStatusPlugin::M_VehicleInfo = std::unordered_map<uint16_t, mavros_msgs::VehicleInfo>
private

Definition at line 540 of file sys_status.cpp.

using mavros::std_plugins::MRES = typedef mavlink::common::MAV_MISSION_RESULT

Definition at line 34 of file waypoint.cpp.

using mavros::std_plugins::Parameter::MT = mavlink::common::MAV_PARAM_TYPE

Definition at line 51 of file param.cpp.

using mavros::std_plugins::Parameter::PARAM_SET = mavlink::common::msg::PARAM_SET

Definition at line 52 of file param.cpp.

Definition at line 51 of file mavros_plugin.h.

using mavros::plugin::PluginBase::Subscriptions = std::vector<HandlerInfo>

Subscriptions vector.

Examples:
dummy.cpp.

Definition at line 48 of file mavros_plugin.h.

Definition at line 35 of file setpoint_attitude.cpp.

using mavros::std_plugins::SyncPoseThrustPolicy = typedef message_filters::sync_policies::ApproximateTime<geometry_msgs::PoseStamped, mavros_msgs::Thrust>

Definition at line 33 of file setpoint_attitude.cpp.

Definition at line 36 of file setpoint_attitude.cpp.

using mavros::std_plugins::SyncTwistThrustPolicy = typedef message_filters::sync_policies::ApproximateTime<geometry_msgs::TwistStamped, mavros_msgs::Thrust>

Definition at line 34 of file setpoint_attitude.cpp.

using mavros::std_plugins::SystemTimePlugin::TSM = UAS::timesync_mode

Definition at line 151 of file sys_time.cpp.

typedef std::unique_lock<std::recursive_mutex> mavros::plugin::unique_lock

Definition at line 32 of file mavros_plugin.h.

using mavros::std_plugins::unique_lock = typedef std::unique_lock<std::mutex>

Definition at line 33 of file command.cpp.

using mavros::std_plugins::WaypointPlugin::unique_lock = std::unique_lock<std::recursive_mutex>
private

Definition at line 186 of file waypoint.cpp.

using mavros::std_plugins::ParamPlugin::unique_lock = std::unique_lock<std::recursive_mutex>
private

Definition at line 394 of file param.cpp.

typedef std::vector<uint8_t> mavros::std_plugins::FTPPlugin::V_FileData
private

This type used in servicies to store 'data' fileds.

Definition at line 260 of file ftp.cpp.

Definition at line 53 of file param.cpp.

Enumeration Type Documentation

Error codes returned in Nak response.

Enumerator
kErrNone 
kErrFail 

Unknown failure.

kErrFailErrno 

Command failed, errno sent back in PayloadHeader.data[1].

kErrInvalidDataSize 

PayloadHeader.size is invalid.

kErrInvalidSession 

Session is not currently open.

kErrNoSessionsAvailable 

All available Sessions in use.

kErrEOF 

Offset past end of file for List and Read commands.

kErrUnknownCommand 

Unknown command opcode.

kErrFailFileExists 

File exists already.

kErrFailFileProtected 

File is write protected.

Definition at line 87 of file ftp.cpp.

Enumerator
IDLE 
ACK 
LIST 
OPEN 
READ 
WRITE 
CHECKSUM 

Definition at line 262 of file ftp.cpp.

Command opcodes.

Enumerator
kCmdNone 

ignored, always acked

kCmdTerminateSession 

Terminates open Read session.

kCmdResetSessions 

Terminates all open Read sessions.

kCmdListDirectory 

List files in <path> from <offset>

kCmdOpenFileRO 

Opens file at <path> for reading, returns <session>

kCmdReadFile 

Reads <size> bytes from <offset> in <session>

kCmdCreateFile 

Creates file at <path> for writing, returns <session>

kCmdWriteFile 

Writes <size> bytes to <offset> in <session>

kCmdRemoveFile 

Remove file at <path>

kCmdCreateDirectory 

Creates directory at <path>

kCmdRemoveDirectory 

Removes Directory at <path>, must be empty.

kCmdOpenFileWO 

Opens file at <path> for writing, returns <session>

kCmdTruncateFile 

Truncate file at <path> to <offset> length.

kCmdRename 

Rename <path1> to <path2>

kCmdCalcFileCRC32 

Calculate CRC32 for file at <path>

kCmdBurstReadFile 

Burst download session file.

kRspAck 

Ack response.

kRspNak 

Nak response.

Definition at line 64 of file ftp.cpp.

Enumerator
IDLE 
RXLIST 
RXPARAM 
RXPARAM_TIMEDOUT 
TXPARAM 

Definition at line 423 of file param.cpp.

Enumerator
IDLE 
RXLIST 
RXWP 
TXLIST 
TXPARTIAL 
TXWP 
CLEAR 
SET_CUR 

Definition at line 202 of file waypoint.cpp.

Function Documentation

void mavros::std_plugins::SetpointAccelerationPlugin::accel_cb ( const geometry_msgs::Vector3Stamped::ConstPtr req)
inlineprivate

Definition at line 94 of file setpoint_accel.cpp.

void mavros::std_plugins::ActuatorControlPlugin::actuator_control_cb ( const mavros_msgs::ActuatorControl::ConstPtr req)
inlineprivate

about groups, mixing and channels: https://pixhawk.org/dev/mixing message definiton here: https://mavlink.io/en/messages/common.html#SET_ACTUATOR_CONTROL_TARGET

Definition at line 71 of file actuator_control.cpp.

mavros::std_plugins::ActuatorControlPlugin::ActuatorControlPlugin ( )
inline

Definition at line 30 of file actuator_control.cpp.

void mavros::std_plugins::FTPPlugin::add_dirent ( const char *  ptr,
size_t  slen 
)
inlineprivate

Definition at line 690 of file ftp.cpp.

void mavros::std_plugins::SystemTimePlugin::add_sample ( int64_t  offset_ns)
inlineprivate

Definition at line 440 of file sys_time.cpp.

void mavros::std_plugins::SystemTimePlugin::add_timesync_observation ( int64_t  offset_ns,
uint64_t  local_time_ns,
uint64_t  remote_time_ns 
)
inlineprivate

Definition at line 357 of file sys_time.cpp.

mavros::std_plugins::AltitudePlugin::AltitudePlugin ( )
inline

Definition at line 28 of file altitude.cpp.

bool mavros::std_plugins::CommandPlugin::arming_cb ( mavros_msgs::CommandBool::Request &  req,
mavros_msgs::CommandBool::Response &  res 
)
inlineprivate

Definition at line 318 of file command.cpp.

void mavros::std_plugins::SetpointRawPlugin::attitude_cb ( const mavros_msgs::AttitudeTarget::ConstPtr req)
inlineprivate

Definition at line 217 of file setpoint_raw.cpp.

void mavros::std_plugins::SetpointAttitudePlugin::attitude_pose_cb ( const geometry_msgs::PoseStamped::ConstPtr pose_msg,
const mavros_msgs::Thrust::ConstPtr thrust_msg 
)
inlineprivate

Definition at line 202 of file setpoint_attitude.cpp.

void mavros::std_plugins::SetpointAttitudePlugin::attitude_twist_cb ( const geometry_msgs::TwistStamped::ConstPtr req,
const mavros_msgs::Thrust::ConstPtr thrust_msg 
)
inlineprivate

Definition at line 210 of file setpoint_attitude.cpp.

void mavros::std_plugins::SystemStatusPlugin::autopilot_version_cb ( const ros::TimerEvent event)
inlineprivate

Definition at line 932 of file sys_status.cpp.

mavros::std_plugins::BatteryStatusDiag::BatteryStatusDiag ( const std::string &  name)
inline

Definition at line 280 of file sys_status.cpp.

bool mavros::std_plugins::HomePositionPlugin::call_get_home_position ( void  )
inlineprivate

Definition at line 71 of file home_position.cpp.

static bool mavros::std_plugins::Parameter::check_exclude_param_id ( std::string  param_id)
inlinestatic

Exclude this parameters from ~param/push

Definition at line 315 of file param.cpp.

bool mavros::std_plugins::FTPPlugin::checksum_cb ( mavros_msgs::FileChecksum::Request &  req,
mavros_msgs::FileChecksum::Response &  res 
)
inlineprivate

Definition at line 1045 of file ftp.cpp.

void mavros::std_plugins::FTPPlugin::checksum_crc32_file ( std::string &  path)
inlineprivate

Definition at line 851 of file ftp.cpp.

void mavros::std_plugins::TimeSyncStatus::clear ( )
inline

Definition at line 49 of file sys_time.cpp.

void mavros::std_plugins::HeartbeatStatus::clear ( )
inline

Definition at line 68 of file sys_status.cpp.

bool mavros::std_plugins::WaypointPlugin::clear_cb ( mavros_msgs::WaypointClear::Request &  req,
mavros_msgs::WaypointClear::Response &  res 
)
inlineprivate

Definition at line 853 of file waypoint.cpp.

bool mavros::std_plugins::FTPPlugin::close_cb ( mavros_msgs::FileClose::Request &  req,
mavros_msgs::FileClose::Response &  res 
)
inlineprivate

Definition at line 934 of file ftp.cpp.

bool mavros::std_plugins::FTPPlugin::close_file ( std::string &  path)
inlineprivate

Definition at line 758 of file ftp.cpp.

void mavros::std_plugins::CommandPlugin::command_int ( bool  broadcast,
uint8_t  frame,
uint16_t  command,
uint8_t  current,
uint8_t  autocontinue,
float  param1,
float  param2,
float  param3,
float  param4,
int32_t  x,
int32_t  y,
float  z 
)
inlineprivate

Definition at line 266 of file command.cpp.

bool mavros::std_plugins::CommandPlugin::command_int_cb ( mavros_msgs::CommandInt::Request &  req,
mavros_msgs::CommandInt::Response &  res 
)
inlineprivate

Definition at line 306 of file command.cpp.

void mavros::std_plugins::CommandPlugin::command_long ( bool  broadcast,
uint16_t  command,
uint8_t  confirmation,
float  param1,
float  param2,
float  param3,
float  param4,
float  param5,
float  param6,
float  param7 
)
inlineprivate

Definition at line 241 of file command.cpp.

bool mavros::std_plugins::CommandPlugin::command_long_cb ( mavros_msgs::CommandLong::Request &  req,
mavros_msgs::CommandLong::Response &  res 
)
inlineprivate

Definition at line 294 of file command.cpp.

mavros::std_plugins::CommandPlugin::CommandPlugin ( )
inline

Definition at line 57 of file command.cpp.

mavros::std_plugins::CommandTransaction::CommandTransaction ( uint16_t  command)
inlineexplicit

Definition at line 42 of file command.cpp.

static constexpr int mavros::std_plugins::FTPPlugin::compute_rw_timeout ( size_t  len)
inlinestaticprivate

Definition at line 857 of file ftp.cpp.

virtual void mavros::plugin::PluginBase::connection_cb ( bool  connected)
inlineprotectedvirtual
void mavros::std_plugins::TDRRadioPlugin::connection_cb ( bool  connected)
inlineoverrideprivatevirtual

Common callback called on connection change

Reimplemented from mavros::plugin::PluginBase.

Definition at line 149 of file 3dr_radio.cpp.

void mavros::std_plugins::HomePositionPlugin::connection_cb ( bool  connected)
inlineoverrideprivatevirtual

Common callback called on connection change

Reimplemented from mavros::plugin::PluginBase.

Definition at line 169 of file home_position.cpp.

void mavros::std_plugins::RCIOPlugin::connection_cb ( bool  connected)
inlineoverrideprivatevirtual

Common callback called on connection change

Reimplemented from mavros::plugin::PluginBase.

Definition at line 221 of file rc_io.cpp.

void mavros::std_plugins::WaypointPlugin::connection_cb ( bool  connected)
inlineoverrideprivatevirtual

Common callback called on connection change

Reimplemented from mavros::plugin::PluginBase.

Definition at line 534 of file waypoint.cpp.

void mavros::std_plugins::IMUPlugin::connection_cb ( bool  connected)
inlineoverrideprivatevirtual

Common callback called on connection change

Reimplemented from mavros::plugin::PluginBase.

Definition at line 551 of file imu.cpp.

void mavros::std_plugins::ParamPlugin::connection_cb ( bool  connected)
inlineoverrideprivatevirtual

Common callback called on connection change

Reimplemented from mavros::plugin::PluginBase.

Definition at line 594 of file param.cpp.

void mavros::std_plugins::SystemStatusPlugin::connection_cb ( bool  connected)
inlineoverrideprivatevirtual

Common callback called on connection change

Reimplemented from mavros::plugin::PluginBase.

Definition at line 976 of file sys_status.cpp.

void mavros::std_plugins::FTPPlugin::create_directory ( std::string &  path)
inlineprivate

Definition at line 841 of file ftp.cpp.

static std::string mavros::std_plugins::SystemStatusPlugin::custom_version_to_hex_string ( std::array< uint8_t, 8 > &  array)
inlinestaticprivate

Definition at line 615 of file sys_status.cpp.

uint8_t* mavros::std_plugins::FTPRequest::data ( )
inline

Definition at line 114 of file ftp.cpp.

char* mavros::std_plugins::FTPRequest::data_c ( )
inline

Definition at line 118 of file ftp.cpp.

uint32_t* mavros::std_plugins::FTPRequest::data_u32 ( )
inline

Definition at line 122 of file ftp.cpp.

bool mavros::std_plugins::FTPRequest::decode_valid ( UAS uas)
inline

Decode and check target system.

Definition at line 149 of file ftp.cpp.

void mavros::std_plugins::TDRRadioPlugin::diag_run ( diagnostic_updater::DiagnosticStatusWrapper stat)
inlineprivate

Definition at line 123 of file 3dr_radio.cpp.

mavros::std_plugins::DummyPlugin::DummyPlugin ( )
inline
Examples:
dummy.cpp.

Definition at line 30 of file dummy.cpp.

void mavros::plugin::PluginBase::enable_connection_cb ( )
inlineprotected

Shortcut for connection_cb() registration

Definition at line 132 of file mavros_plugin.h.

template<typename MsgT >
void mavros::std_plugins::GlobalPositionPlugin::fill_lla ( MsgT &  msg,
sensor_msgs::NavSatFix::Ptr  fix 
)
inlineprivate

Definition at line 140 of file global_position.cpp.

void mavros::std_plugins::GlobalPositionPlugin::fill_unknown_cov ( sensor_msgs::NavSatFix::Ptr  fix)
inlineprivate

Definition at line 147 of file global_position.cpp.

M_VehicleInfo::iterator mavros::std_plugins::SystemStatusPlugin::find_or_create_vehicle_info ( uint8_t  sysid,
uint8_t  compid 
)
inlineprivate

Definition at line 551 of file sys_status.cpp.

static WaypointItem mavros::std_plugins::WaypointItem::from_msg ( mavros_msgs::Waypoint &  wp,
uint16_t  seq 
)
inlinestatic

Definition at line 80 of file waypoint.cpp.

mavros::std_plugins::FTPPlugin::FTPPlugin ( )
inline

Definition at line 199 of file ftp.cpp.

mavros::std_plugins::FTPRequest::FTPRequest ( )
inline

Definition at line 181 of file ftp.cpp.

mavros::std_plugins::FTPRequest::FTPRequest ( Opcode  op,
uint8_t  session = 0 
)
inlineexplicit

Definition at line 185 of file ftp.cpp.

bool mavros::std_plugins::ParamPlugin::get_cb ( mavros_msgs::ParamGet::Request &  req,
mavros_msgs::ParamGet::Response &  res 
)
inlineprivate

get parameter ~param/get

Definition at line 913 of file param.cpp.

uint64_t mavros::std_plugins::SystemTimePlugin::get_monotonic_now ( void  )
inlineprivate

Definition at line 477 of file sys_time.cpp.

Subscriptions mavros::std_plugins::ManualControlPlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 40 of file manual_control.cpp.

Subscriptions mavros::std_plugins::ActuatorControlPlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 42 of file actuator_control.cpp.

Subscriptions mavros::std_plugins::VfrHudPlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 43 of file vfr_hud.cpp.

Subscriptions mavros::std_plugins::AltitudePlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 43 of file altitude.cpp.

Subscriptions mavros::std_plugins::WindEstimationPlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 45 of file wind_estimation.cpp.

Subscriptions mavros::std_plugins::TDRRadioPlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 46 of file 3dr_radio.cpp.

Subscriptions mavros::std_plugins::RCIOPlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 48 of file rc_io.cpp.

Subscriptions mavros::std_plugins::SetpointAccelerationPlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 49 of file setpoint_accel.cpp.

Subscriptions mavros::std_plugins::HomePositionPlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 52 of file home_position.cpp.

Subscriptions mavros::std_plugins::DummyPlugin::get_subscriptions ( )
inlinevirtual

This function returns message subscriptions.

Each subscription made by PluginBase::make_handler() template. Two variations:

  • With automatic decoding and framing error filtering (see handle_heartbeat)
  • Raw message with framig status (see handle_systemtext)

Implements mavros::plugin::PluginBase.

Examples:
dummy.cpp.

Definition at line 52 of file dummy.cpp.

Subscriptions mavros::std_plugins::SetpointRawPlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 56 of file setpoint_raw.cpp.

Subscriptions mavros::std_plugins::SetpointVelocityPlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 60 of file setpoint_velocity.cpp.

Subscriptions mavros::std_plugins::HilPlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 62 of file hil.cpp.

virtual Subscriptions mavros::plugin::PluginBase::get_subscriptions ( )
pure virtual
Subscriptions mavros::std_plugins::LocalPositionPlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 69 of file local_position.cpp.

Subscriptions mavros::std_plugins::SafetyAreaPlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 73 of file safety_area.cpp.

Subscriptions mavros::std_plugins::CommandPlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 79 of file command.cpp.

Subscriptions mavros::std_plugins::SetpointPositionPlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 86 of file setpoint_position.cpp.

Subscriptions mavros::std_plugins::IMUPlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 94 of file imu.cpp.

Subscriptions mavros::std_plugins::GlobalPositionPlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 96 of file global_position.cpp.

Subscriptions mavros::std_plugins::SetpointAttitudePlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 98 of file setpoint_attitude.cpp.

Subscriptions mavros::std_plugins::WaypointPlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 174 of file waypoint.cpp.

Subscriptions mavros::std_plugins::FTPPlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 237 of file ftp.cpp.

Subscriptions mavros::std_plugins::SystemTimePlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 241 of file sys_time.cpp.

Subscriptions mavros::std_plugins::ParamPlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 385 of file param.cpp.

Subscriptions mavros::std_plugins::SystemStatusPlugin::get_subscriptions ( )
inlinevirtual

Return vector of MAVLink message subscriptions (handlers)

Implements mavros::plugin::PluginBase.

Definition at line 498 of file sys_status.cpp.

uint8_t mavros::std_plugins::FTPRequest::get_target_system_id ( )
inline

Definition at line 142 of file ftp.cpp.

uint16_t mavros::std_plugins::SystemStatusPlugin::get_vehicle_key ( uint8_t  sysid,
uint8_t  compid 
)
inlineprivate

Definition at line 546 of file sys_status.cpp.

void mavros::std_plugins::SetpointRawPlugin::global_cb ( const mavros_msgs::GlobalPositionTarget::ConstPtr req)
inlineprivate

Definition at line 186 of file setpoint_raw.cpp.

EIGEN_MAKE_ALIGNED_OPERATOR_NEW mavros::std_plugins::GlobalPositionPlugin::GlobalPositionPlugin ( )
inline

Definition at line 48 of file global_position.cpp.

void mavros::std_plugins::FTPPlugin::go_idle ( bool  is_error_,
int  r_errno_ = 0 
)
inlineprivate

Go to IDLE mode.

Parameters
is_error_mark that caused in error case
r_errno_set r_errno in error case

Definition at line 571 of file ftp.cpp.

void mavros::std_plugins::WaypointPlugin::go_idle ( void  )
inlineprivate

Definition at line 581 of file waypoint.cpp.

void mavros::std_plugins::ParamPlugin::go_idle ( void  )
inlineprivate

Definition at line 708 of file param.cpp.

void mavros::std_plugins::HilPlugin::gps_cb ( const mavros_msgs::HilGPS::ConstPtr req)
inlineprivate

Send hil_gps to FCU. Message specification: https://mavlink.io/en/messages/common.html#HIL_GPS.

Definition at line 181 of file hil.cpp.

void mavros::std_plugins::SetpointPositionPlugin::gps_cb ( const sensor_msgs::NavSatFix::ConstPtr msg)
inlineprivate

Current GPS coordinates

Definition at line 240 of file setpoint_position.cpp.

void mavros::std_plugins::GlobalPositionPlugin::gps_diag_run ( diagnostic_updater::DiagnosticStatusWrapper stat)
inlineprivate

Definition at line 427 of file global_position.cpp.

void mavros::std_plugins::FTPPlugin::handle_ack_checksum ( FTPRequest req)
inlineprivate

Definition at line 551 of file ftp.cpp.

void mavros::std_plugins::FTPPlugin::handle_ack_list ( FTPRequest req)
inlineprivate

Definition at line 406 of file ftp.cpp.

void mavros::std_plugins::FTPPlugin::handle_ack_open ( FTPRequest req)
inlineprivate

Definition at line 465 of file ftp.cpp.

void mavros::std_plugins::FTPPlugin::handle_ack_read ( FTPRequest req)
inlineprivate

Definition at line 479 of file ftp.cpp.

void mavros::std_plugins::FTPPlugin::handle_ack_write ( FTPRequest req)
inlineprivate

Definition at line 513 of file ftp.cpp.

void mavros::std_plugins::ActuatorControlPlugin::handle_actuator_control_target ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::ACTUATOR_CONTROL_TARGET &  actuator_control_target 
)
inlineprivate

Definition at line 57 of file actuator_control.cpp.

void mavros::std_plugins::AltitudePlugin::handle_altitude ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::ALTITUDE &  altitude 
)
inlineprivate

Definition at line 56 of file altitude.cpp.

void mavros::std_plugins::WindEstimationPlugin::handle_apm_wind ( const mavlink::mavlink_message_t msg,
mavlink::ardupilotmega::msg::WIND &  wind 
)
inlineprivate

Handle APM specific wind estimation message

Definition at line 61 of file wind_estimation.cpp.

void mavros::std_plugins::IMUPlugin::handle_attitude ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::ATTITUDE &  att 
)
inlineprivate

Handle ATTITUDE MAVlink message. Message specification: https://mavlink.io/en/messages/common.html#ATTITUDE.

Parameters
msgReceived Mavlink msg
attATTITUDE msg

Orientation on the NED-aicraft frame:

auto ned_aircraft_orientation = ftf::quaternion_from_rpy(att.roll, att.pitch, att.yaw);

Angular velocity on the NED-aicraft frame:

The RPY describes the rotation: aircraft->NED. It is required to change this to aircraft->base_link:

auto enu_baselink_orientation = ftf::transform_orientation_aircraft_baselink(
ftf::transform_orientation_ned_enu(ned_aircraft_orientation));

The angular velocity expressed in the aircraft frame. It is required to apply the static rotation to get it into the base_link frame:

auto gyro_flu = ftf::transform_frame_aircraft_baselink(gyro_frd);

Definition at line 270 of file imu.cpp.

void mavros::std_plugins::IMUPlugin::handle_attitude_quaternion ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::ATTITUDE_QUATERNION &  att_q 
)
inlineprivate

Handle ATTITUDE_QUATERNION MAVlink message. Message specification: https://mavlink.io/en/messages/common.html/#ATTITUDE_QUATERNION.

Parameters
msgReceived Mavlink msg
att_qATTITUDE_QUATERNION msg

Orientation on the NED-aicraft frame:

auto ned_aircraft_orientation = Eigen::Quaterniond(att_q.q1, att_q.q2, att_q.q3, att_q.q4);

Angular velocity on the NED-aicraft frame:

MAVLink quaternion exactly matches Eigen convention. The RPY describes the rotation: aircraft->NED. It is required to change this to aircraft->base_link:

auto enu_baselink_orientation = ftf::transform_orientation_aircraft_baselink(
ftf::transform_orientation_ned_enu(ned_aircraft_orientation));

The angular velocity expressed in the aircraft frame. It is required to apply the static rotation to get it into the base_link frame:

auto gyro_flu = ftf::transform_frame_aircraft_baselink(gyro_frd);

Definition at line 315 of file imu.cpp.

void mavros::std_plugins::SetpointRawPlugin::handle_attitude_target ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::ATTITUDE_TARGET &  tgt 
)
inlineprivate

Definition at line 132 of file setpoint_raw.cpp.

void mavros::std_plugins::SystemStatusPlugin::handle_autopilot_version ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::AUTOPILOT_VERSION &  apv 
)
inlineprivate

Definition at line 809 of file sys_status.cpp.

void mavros::std_plugins::SystemStatusPlugin::handle_battery_status ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::BATTERY_STATUS &  bs 
)
inlineprivate

Definition at line 839 of file sys_status.cpp.

void mavros::std_plugins::CommandPlugin::handle_command_ack ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::COMMAND_ACK &  ack 
)
inlineprivate

Definition at line 110 of file command.cpp.

void mavros::std_plugins::SystemStatusPlugin::handle_extended_sys_state ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::EXTENDED_SYS_STATE &  state 
)
inlineprivate

Definition at line 738 of file sys_status.cpp.

void mavros::std_plugins::FTPPlugin::handle_file_transfer_protocol ( const mavlink::mavlink_message_t msg,
FTPRequest req 
)
inlineprivate

handler for mavlink::common::msg::FILE_TRANSFER_PROTOCOL

Todo:

exchange speed calculation

diagnostics

multisession not present anymore

Definition at line 321 of file ftp.cpp.

void mavros::std_plugins::GlobalPositionPlugin::handle_global_position_int ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::GLOBAL_POSITION_INT &  gpos 
)
inlineprivate
Todo:
Handler for GLOBAL_POSITION_INT_COV

Global position odometry:

X: spherical coordinate X-axis (meters) Y: spherical coordinate Y-axis (meters) Z: spherical coordinate Z-axis (meters) VX: latitude vel (m/s) VY: longitude vel (m/s) VZ: altitude vel (m/s) Angular rates: unknown Pose covariance: computed, with fixed diagonal Velocity covariance: unknown

Conversion from geodetic coordinates (LLA) to ECEF (Earth-Centered, Earth-Fixed)

Note: "ecef_origin" is the origin of "map" frame, in ECEF, and the local coordinates are in spherical coordinates, with the orientation in ENU (just like what is applied on Gazebo)

Checks if the "map" origin is set.

  • If not, and the home position is also not received, it sets the current fix as the origin;
  • If the home position is received, it sets the "map" origin;
  • If the "map" origin is set, then it applies the rotations to the offset between the origin and the current local geocentric coordinates.

By default, we are using the relative altitude instead of the geocentric altitude, which is relative to the WGS-84 ellipsoid

Definition at line 242 of file global_position.cpp.

void mavros::std_plugins::GlobalPositionPlugin::handle_gps_global_origin ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::GPS_GLOBAL_ORIGIN &  glob_orig 
)
inlineprivate

Conversion from geodetic coordinates (LLA) to ECEF (Earth-Centered, Earth-Fixed) Note: "earth" frame, in ECEF, of the global origin

Definition at line 214 of file global_position.cpp.

void mavros::std_plugins::GlobalPositionPlugin::handle_gps_raw_int ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::GPS_RAW_INT &  raw_gps 
)
inlineprivate

Definition at line 156 of file global_position.cpp.

void mavros::std_plugins::DummyPlugin::handle_heartbeat ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::HEARTBEAT &  hb 
)
inlineprivate
Examples:
dummy.cpp.

Definition at line 66 of file dummy.cpp.

void mavros::std_plugins::SystemStatusPlugin::handle_heartbeat ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::HEARTBEAT &  hb 
)
inlineprivate

Definition at line 687 of file sys_status.cpp.

void mavros::std_plugins::IMUPlugin::handle_highres_imu ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::HIGHRES_IMU &  imu_hr 
)
inlineprivate

Handle HIGHRES_IMU MAVlink message. Message specification: https://mavlink.io/en/messages/common.html/#HIGHRES_IMU.

Parameters
msgReceived Mavlink msg
imu_hrHIGHRES_IMU msg
Todo:
Make more paranoic check of HIGHRES_IMU.fields_updated

Check if accelerometer + gyroscope data are available. Data is expressed in aircraft frame it is required to rotate to the base_link frame:

if (imu_hr.fields_updated & ((7 << 3) | (7 << 0))) {
auto gyro_flu = ftf::transform_frame_aircraft_baselink(Eigen::Vector3d(imu_hr.xgyro, imu_hr.ygyro, imu_hr.zgyro));
auto accel_frd = Eigen::Vector3d(imu_hr.xacc, imu_hr.yacc, imu_hr.zacc);
auto accel_flu = ftf::transform_frame_aircraft_baselink(accel_frd);
publish_imu_data_raw(header, gyro_flu, accel_flu, accel_frd);
}

Check if magnetometer data is available:

if (imu_hr.fields_updated & (7 << 6)) {
auto mag_field = ftf::transform_frame_aircraft_baselink<Eigen::Vector3d>(
Eigen::Vector3d(imu_hr.xmag, imu_hr.ymag, imu_hr.zmag) * GAUSS_TO_TESLA);
publish_mag(header, mag_field);
}

Check if static pressure sensor data is available:

if (imu_hr.fields_updated & (1 << 9)) {
auto static_pressure_msg = boost::make_shared<sensor_msgs::FluidPressure>();
static_pressure_msg->header = header;
static_pressure_msg->fluid_pressure = imu_hr.abs_pressure;
static_press_pub.publish(static_pressure_msg);
}

Check if differential pressure sensor data is available:

if (imu_hr.fields_updated & (1 << 10)) {
auto differential_pressure_msg = boost::make_shared<sensor_msgs::FluidPressure>();
differential_pressure_msg->header = header;
differential_pressure_msg->fluid_pressure = imu_hr.diff_pressure;
diff_press_pub.publish(differential_pressure_msg);
}

Check if temperature data is available:

if (imu_hr.fields_updated & (1 << 12)) {
auto temp_msg = boost::make_shared<sensor_msgs::Temperature>();
temp_msg->header = header;
temp_msg->temperature = imu_hr.temperature;
temp_imu_pub.publish(temp_msg);
}

Definition at line 357 of file imu.cpp.

void mavros::std_plugins::HilPlugin::handle_hil_actuator_controls ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::HIL_ACTUATOR_CONTROLS &  hil_actuator_controls 
)
inlineprivate

Definition at line 111 of file hil.cpp.

void mavros::std_plugins::HilPlugin::handle_hil_controls ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::HIL_CONTROLS &  hil_controls 
)
inlineprivate

Definition at line 86 of file hil.cpp.

void mavros::std_plugins::HomePositionPlugin::handle_home_position ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::HOME_POSITION &  home_position 
)
inlineprivate

Definition at line 95 of file home_position.cpp.

void mavros::std_plugins::SystemStatusPlugin::handle_hwstatus ( const mavlink::mavlink_message_t msg,
mavlink::ardupilotmega::msg::HWSTATUS &  hwst 
)
inlineprivate

Definition at line 804 of file sys_status.cpp.

void mavros::std_plugins::LocalPositionPlugin::handle_local_position_ned ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::LOCAL_POSITION_NED &  pos_ned 
)
inlineprivate

Definition at line 109 of file local_position.cpp.

void mavros::std_plugins::LocalPositionPlugin::handle_local_position_ned_cov ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::LOCAL_POSITION_NED_COV &  pos_ned 
)
inlineprivate

Definition at line 167 of file local_position.cpp.

void mavros::std_plugins::GlobalPositionPlugin::handle_lpned_system_global_offset ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::LOCAL_POSITION_NED_SYSTEM_GLOBAL_OFFSET &  offset 
)
inlineprivate

Definition at line 391 of file global_position.cpp.

void mavros::std_plugins::ManualControlPlugin::handle_manual_control ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::MANUAL_CONTROL &  manual_control 
)
inlineprivate

Definition at line 54 of file manual_control.cpp.

void mavros::std_plugins::SystemStatusPlugin::handle_meminfo ( const mavlink::mavlink_message_t msg,
mavlink::ardupilotmega::msg::MEMINFO &  mem 
)
inlineprivate

Definition at line 799 of file sys_status.cpp.

template<typename msgT >
void mavros::std_plugins::TDRRadioPlugin::handle_message ( const mavlink::mavlink_message_t mmsg,
msgT &  rst 
)
inlineprivate

Definition at line 84 of file 3dr_radio.cpp.

void mavros::std_plugins::WaypointPlugin::handle_mission_ack ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::MISSION_ACK &  mack 
)
inlineprivate

handle MISSION_ACK mavlink msg Handles a MISSION_ACK which marks the end of a push, or a failure

Parameters
msgReceived Mavlink msg
mackMISSION_ACK from msg

Definition at line 427 of file waypoint.cpp.

void mavros::std_plugins::WaypointPlugin::handle_mission_count ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::MISSION_COUNT &  mcnt 
)
inlineprivate

handle MISSION_COUNT mavlink msg Handles a mission count from FCU in a Waypoint Pull Triggers a pull GCS seems to be requesting mission

Parameters
msgReceived Mavlink msg
mcntMISSION_COUNT from msg

Definition at line 367 of file waypoint.cpp.

void mavros::std_plugins::WaypointPlugin::handle_mission_current ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::MISSION_CURRENT &  mcur 
)
inlineprivate

handle MISSION_CURRENT mavlink msg This confirms a SET_CUR action

Parameters
msgReceived Mavlink msg
mcurMISSION_CURRENT from msg

Definition at line 334 of file waypoint.cpp.

void mavros::std_plugins::WaypointPlugin::handle_mission_item ( const mavlink::mavlink_message_t msg,
WaypointItem wpi 
)
inlineprivate

handle MISSION_ITEM mavlink msg handles and stores mission items when pulling waypoints

Parameters
msgReceived Mavlink msg
wpiWaypointItem from msg

Definition at line 253 of file waypoint.cpp.

void mavros::std_plugins::WaypointPlugin::handle_mission_item_reached ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::MISSION_ITEM_REACHED &  mitr 
)
inlineprivate

handle MISSION_ITEM_REACHED mavlink msg

Parameters
msgReceived Mavlink msg
mitrMISSION_ITEM_REACHED from msg

Definition at line 408 of file waypoint.cpp.

void mavros::std_plugins::WaypointPlugin::handle_mission_request ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::MISSION_REQUEST &  mreq 
)
inlineprivate

handle MISSION_REQUEST mavlink msg handles and acts on misison request from FCU

Parameters
msgReceived Mavlink msg
mreqMISSION_REQUEST from msg

Definition at line 303 of file waypoint.cpp.

void mavros::std_plugins::ParamPlugin::handle_param_value ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::PARAM_VALUE &  pmsg 
)
inlineprivate

Definition at line 439 of file param.cpp.

void mavros::std_plugins::SetpointRawPlugin::handle_position_target_global_int ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::POSITION_TARGET_GLOBAL_INT &  tgt 
)
inlineprivate

Definition at line 103 of file setpoint_raw.cpp.

void mavros::std_plugins::SetpointRawPlugin::handle_position_target_local_ned ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::POSITION_TARGET_LOCAL_NED &  tgt 
)
inlineprivate

Definition at line 75 of file setpoint_raw.cpp.

void mavros::std_plugins::WindEstimationPlugin::handle_px4_wind ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::WIND_COV &  wind 
)
inlineprivate

Handle PX4 specific wind estimation message

Definition at line 84 of file wind_estimation.cpp.

void mavros::std_plugins::TDRRadioPlugin::handle_radio ( const mavlink::mavlink_message_t msg,
mavlink::ardupilotmega::msg::RADIO &  rst 
)
inlineprivate

Definition at line 74 of file 3dr_radio.cpp.

void mavros::std_plugins::TDRRadioPlugin::handle_radio_status ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::RADIO_STATUS &  rst 
)
inlineprivate

Definition at line 68 of file 3dr_radio.cpp.

void mavros::std_plugins::IMUPlugin::handle_raw_imu ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::RAW_IMU &  imu_raw 
)
inlineprivate

Handle RAW_IMU MAVlink message. Message specification: https://mavlink.io/en/messages/common.html/#RAW_IMU.

Parameters
msgReceived Mavlink msg
imu_rawRAW_IMU msg
Note
APM send SCALED_IMU data as RAW_IMU

Magnetic field data:

auto mag_field = ftf::transform_frame_aircraft_baselink<Eigen::Vector3d>(
Eigen::Vector3d(imu_raw.xmag, imu_raw.ymag, imu_raw.zmag) * MILLIT_TO_TESLA);

Definition at line 442 of file imu.cpp.

void mavros::std_plugins::RCIOPlugin::handle_rc_channels ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::RC_CHANNELS &  channels 
)
inlineprivate

Definition at line 107 of file rc_io.cpp.

void mavros::std_plugins::RCIOPlugin::handle_rc_channels_raw ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::RC_CHANNELS_RAW &  port 
)
inlineprivate

Definition at line 71 of file rc_io.cpp.

void mavros::std_plugins::FTPPlugin::handle_req_ack ( FTPRequest req)
inlineprivate

Definition at line 351 of file ftp.cpp.

void mavros::std_plugins::FTPPlugin::handle_req_nack ( FTPRequest req)
inlineprivate

Definition at line 367 of file ftp.cpp.

void mavros::std_plugins::SafetyAreaPlugin::handle_safety_allowed_area ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::SAFETY_ALLOWED_AREA &  saa 
)
inlineprivate

Definition at line 89 of file safety_area.cpp.

void mavros::std_plugins::IMUPlugin::handle_scaled_imu ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::SCALED_IMU &  imu_raw 
)
inlineprivate

Handle SCALED_IMU MAVlink message. Message specification: https://mavlink.io/en/messages/common.html/#SCALED_IMU.

Parameters
msgReceived Mavlink msg
imu_rawSCALED_IMU msg

Magnetic field data:

auto mag_field = ftf::transform_frame_aircraft_baselink<Eigen::Vector3d>(
Eigen::Vector3d(imu_raw.xmag, imu_raw.ymag, imu_raw.zmag) * MILLIT_TO_TESLA);

Definition at line 494 of file imu.cpp.

void mavros::std_plugins::IMUPlugin::handle_scaled_pressure ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::SCALED_PRESSURE &  press 
)
inlineprivate

Handle SCALED_PRESSURE MAVlink message. Message specification: https://mavlink.io/en/messages/common.html/#SCALED_PRESSURE.

Parameters
msgReceived Mavlink msg
pressSCALED_PRESSURE msg

Definition at line 527 of file imu.cpp.

void mavros::std_plugins::RCIOPlugin::handle_servo_output_raw ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::SERVO_OUTPUT_RAW &  port 
)
inlineprivate

Definition at line 162 of file rc_io.cpp.

void mavros::std_plugins::DummyPlugin::handle_statustext ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::STATUSTEXT &  st 
)
inlineprivate
Examples:
dummy.cpp.

Definition at line 74 of file dummy.cpp.

void mavros::std_plugins::SystemStatusPlugin::handle_statustext ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::STATUSTEXT &  textm 
)
inlineprivate

Definition at line 787 of file sys_status.cpp.

void mavros::std_plugins::DummyPlugin::handle_statustext_raw ( const mavlink::mavlink_message_t msg,
const mavconn::Framing  f 
)
inlineprivate
Examples:
dummy.cpp.

Definition at line 78 of file dummy.cpp.

void mavros::std_plugins::DummyPlugin::handle_sys_status ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::SYS_STATUS &  st 
)
inlineprivate
Examples:
dummy.cpp.

Definition at line 70 of file dummy.cpp.

void mavros::std_plugins::SystemStatusPlugin::handle_sys_status ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::SYS_STATUS &  stat 
)
inlineprivate

Definition at line 748 of file sys_status.cpp.

void mavros::std_plugins::SystemTimePlugin::handle_system_time ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::SYSTEM_TIME &  mtime 
)
inlineprivate

Definition at line 285 of file sys_time.cpp.

void mavros::std_plugins::SystemTimePlugin::handle_timesync ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::TIMESYNC &  tsync 
)
inlineprivate

Definition at line 308 of file sys_time.cpp.

void mavros::std_plugins::VfrHudPlugin::handle_vfr_hud ( const mavlink::mavlink_message_t msg,
mavlink::common::msg::VFR_HUD &  vfr_hud 
)
inlineprivate

Definition at line 55 of file vfr_hud.cpp.

PayloadHeader* mavros::std_plugins::FTPRequest::header ( )
inline

Definition at line 110 of file ftp.cpp.

void mavros::std_plugins::SystemStatusPlugin::heartbeat_cb ( const ros::TimerEvent event)
inlineprivate
Todo:
patch PX4 so it can also handle this type as datalink

Definition at line 917 of file sys_status.cpp.

mavros::std_plugins::HeartbeatStatus::HeartbeatStatus ( const std::string &  name,
size_t  win_size 
)
inline

Definition at line 53 of file sys_status.cpp.

EIGEN_MAKE_ALIGNED_OPERATOR_NEW mavros::std_plugins::HilPlugin::HilPlugin ( )
inline

Definition at line 44 of file hil.cpp.

void mavros::std_plugins::HomePositionPlugin::home_position_cb ( const mavros_msgs::HomePosition::ConstPtr req)
inlineprivate

Definition at line 117 of file home_position.cpp.

void mavros::std_plugins::GlobalPositionPlugin::home_position_cb ( const mavros_msgs::HomePosition::ConstPtr req)
inlineprivate

Conversion from geodetic coordinates (LLA) to ECEF (Earth-Centered, Earth-Fixed)

Definition at line 459 of file global_position.cpp.

mavros::std_plugins::HomePositionPlugin::HomePositionPlugin ( )
inline

Definition at line 34 of file home_position.cpp.

mavros::std_plugins::HwStatus::HwStatus ( const std::string &  name)
inline

Definition at line 370 of file sys_status.cpp.

EIGEN_MAKE_ALIGNED_OPERATOR_NEW mavros::std_plugins::IMUPlugin::IMUPlugin ( )
inline

Definition at line 50 of file imu.cpp.

void mavros::std_plugins::ManualControlPlugin::initialize ( UAS uas)
inlinevirtual

Plugin initializer.

Parameters
[in]uasUAS instance

Reimplemented from mavros::plugin::PluginBase.

Definition at line 32 of file manual_control.cpp.

void mavros::std_plugins::ActuatorControlPlugin::initialize ( UAS uas)
inlinevirtual

Plugin initializer.

Parameters
[in]uasUAS instance

Reimplemented from mavros::plugin::PluginBase.

Definition at line 34 of file actuator_control.cpp.

void mavros::std_plugins::TDRRadioPlugin::initialize ( UAS uas)
inlinevirtual

Plugin initializer.

Parameters
[in]uasUAS instance

Reimplemented from mavros::plugin::PluginBase.

Definition at line 35 of file 3dr_radio.cpp.

void mavros::std_plugins::SafetyAreaPlugin::initialize ( UAS uas)
inlinevirtual

Plugin initializer.

Parameters
[in]uasUAS instance

Reimplemented from mavros::plugin::PluginBase.

Definition at line 35 of file safety_area.cpp.

void mavros::std_plugins::AltitudePlugin::initialize ( UAS uas_)
inlinevirtual

Plugin initializer. Constructor should not do this.

Reimplemented from mavros::plugin::PluginBase.

Definition at line 35 of file altitude.cpp.

void mavros::std_plugins::VfrHudPlugin::initialize ( UAS uas_)
inlinevirtual

Plugin initializer. Constructor should not do this.

Reimplemented from mavros::plugin::PluginBase.

Definition at line 36 of file vfr_hud.cpp.

void mavros::std_plugins::DummyPlugin::initialize ( UAS uas_)
inlinevirtual

Plugin initializer. Constructor should not do this.

Reimplemented from mavros::plugin::PluginBase.

Examples:
dummy.cpp.

Definition at line 37 of file dummy.cpp.

void mavros::std_plugins::RCIOPlugin::initialize ( UAS uas)
inlinevirtual

Plugin initializer.

Parameters
[in]uasUAS instance

Reimplemented from mavros::plugin::PluginBase.

Definition at line 37 of file rc_io.cpp.

void mavros::std_plugins::WindEstimationPlugin::initialize ( UAS uas_)
inlinevirtual

Plugin initializer. Constructor should not do this.

Reimplemented from mavros::plugin::PluginBase.

Definition at line 38 of file wind_estimation.cpp.

void mavros::std_plugins::HomePositionPlugin::initialize ( UAS uas)
inlinevirtual

Plugin initializer.

Parameters
[in]uasUAS instance

Reimplemented from mavros::plugin::PluginBase.

Definition at line 39 of file home_position.cpp.

void mavros::std_plugins::SetpointAccelerationPlugin::initialize ( UAS uas)
inlinevirtual

Plugin initializer.

Parameters
[in]uasUAS instance

Reimplemented from mavros::plugin::PluginBase.

Definition at line 40 of file setpoint_accel.cpp.

void mavros::std_plugins::SetpointVelocityPlugin::initialize ( UAS uas)
inlinevirtual

Plugin initializer.

Parameters
[in]uasUAS instance

Reimplemented from mavros::plugin::PluginBase.

Definition at line 42 of file setpoint_velocity.cpp.

void mavros::std_plugins::SetpointRawPlugin::initialize ( UAS uas)
inlinevirtual

Plugin initializer.

Parameters
[in]uasUAS instance

Reimplemented from mavros::plugin::PluginBase.

Definition at line 42 of file setpoint_raw.cpp.

void mavros::std_plugins::LocalPositionPlugin::initialize ( UAS uas)
inlinevirtual

Plugin initializer.

Parameters
[in]uasUAS instance

Reimplemented from mavros::plugin::PluginBase.

Definition at line 47 of file local_position.cpp.

void mavros::std_plugins::HilPlugin::initialize ( UAS uas)
inlinevirtual

Plugin initializer.

Parameters
[in]uasUAS instance

Reimplemented from mavros::plugin::PluginBase.

Definition at line 48 of file hil.cpp.

void mavros::std_plugins::SetpointPositionPlugin::initialize ( UAS uas)
inlinevirtual

Plugin initializer.

Parameters
[in]uasUAS instance

Reimplemented from mavros::plugin::PluginBase.

Definition at line 50 of file setpoint_position.cpp.

void mavros::std_plugins::SetpointAttitudePlugin::initialize ( UAS uas)
inlinevirtual

Plugin initializer.

Parameters
[in]uasUAS instance

Use message_filters to sync attitude and thrust msg coming from different topics

Matches messages, even if they have different time stamps, by using an adaptative algorithm http://wiki.ros.org/message_filters/ApproximateTime

Reimplemented from mavros::plugin::PluginBase.

Definition at line 55 of file setpoint_attitude.cpp.

void mavros::std_plugins::GlobalPositionPlugin::initialize ( UAS uas)
inlinevirtual

Plugin initializer.

Parameters
[in]uasUAS instance

Reimplemented from mavros::plugin::PluginBase.

Definition at line 56 of file global_position.cpp.

void mavros::std_plugins::IMUPlugin::initialize ( UAS uas)
inlinevirtual

Plugin initializer.

Parameters
[in]uasUAS instance
Warning
A rotation from the aircraft-frame to the base_link frame is applied. Additionally, it is reported the orientation of the vehicle to describe the transformation from the ENU frame to the base_link frame (ENU <-> base_link). THIS ORIENTATION IS NOT THE SAME AS THAT REPORTED BY THE FCU (NED <-> aircraft).

Reimplemented from mavros::plugin::PluginBase.

Definition at line 58 of file imu.cpp.

virtual void mavros::plugin::PluginBase::initialize ( UAS uas)
inlinevirtual
void mavros::std_plugins::CommandPlugin::initialize ( UAS uas)
inlinevirtual

Plugin initializer.

Parameters
[in]uasUAS instance

Reimplemented from mavros::plugin::PluginBase.

Definition at line 63 of file command.cpp.

void mavros::std_plugins::WaypointPlugin::initialize ( UAS uas)
inlinevirtual

Plugin initializer.

Parameters
[in]uasUAS instance

Reimplemented from mavros::plugin::PluginBase.

Definition at line 152 of file waypoint.cpp.

void mavros::std_plugins::SystemTimePlugin::initialize ( UAS uas)
inlinevirtual

Plugin initializer.

Parameters
[in]uasUAS instance

Reimplemented from mavros::plugin::PluginBase.

Definition at line 153 of file sys_time.cpp.

void mavros::std_plugins::FTPPlugin::initialize ( UAS uas)
inlinevirtual

Plugin initializer.

Parameters
[in]uasUAS instance

Reimplemented from mavros::plugin::PluginBase.

Definition at line 215 of file ftp.cpp.

void mavros::std_plugins::ParamPlugin::initialize ( UAS uas)
inlinevirtual

Plugin initializer.

Parameters
[in]uasUAS instance

Reimplemented from mavros::plugin::PluginBase.

Definition at line 367 of file param.cpp.

void mavros::std_plugins::SystemStatusPlugin::initialize ( UAS uas)
inlinevirtual

Plugin initializer.

Parameters
[in]uasUAS instance

Reimplemented from mavros::plugin::PluginBase.

Definition at line 432 of file sys_status.cpp.

bool mavros::std_plugins::SetpointAttitudePlugin::is_normalized ( float  thrust)
inlineprivate

Function to verify if the thrust values are normalized; considers also the reversed trust values.

Definition at line 130 of file setpoint_attitude.cpp.

bool mavros::std_plugins::CommandPlugin::land_cb ( mavros_msgs::CommandTOL::Request &  req,
mavros_msgs::CommandTOL::Response &  res 
)
inlineprivate

Definition at line 353 of file command.cpp.

bool mavros::std_plugins::FTPPlugin::list_cb ( mavros_msgs::FileList::Request &  req,
mavros_msgs::FileList::Response &  res 
)
inlineprivate

Definition at line 895 of file ftp.cpp.

void mavros::std_plugins::FTPPlugin::list_directory ( std::string &  path)
inlineprivate

Definition at line 726 of file ftp.cpp.

void mavros::std_plugins::FTPPlugin::list_directory_end ( )
inlineprivate

Definition at line 721 of file ftp.cpp.

void mavros::std_plugins::SetpointRawPlugin::local_cb ( const mavros_msgs::PositionTarget::ConstPtr req)
inlineprivate

Definition at line 155 of file setpoint_raw.cpp.

void mavros::std_plugins::SetpointPositionPlugin::local_cb ( const geometry_msgs::PoseStamped::ConstPtr msg)
inlineprivate

current local position in ENU

Definition at line 248 of file setpoint_position.cpp.

mavros::std_plugins::LocalPositionPlugin::LocalPositionPlugin ( )
inline

Definition at line 40 of file local_position.cpp.

template<class _C >
HandlerInfo mavros::plugin::PluginBase::make_handler ( const mavlink::msgid_t  id,
void(_C::*)(const mavlink::mavlink_message_t *msg, const mavconn::Framing framing)  fn 
)
inlineprotected

Make subscription to raw message.

Parameters
[in]idmessage id
[in]fnpointer to member function (handler)
Examples:
dummy.cpp.

Definition at line 88 of file mavros_plugin.h.

template<class _C , class _T >
HandlerInfo mavros::plugin::PluginBase::make_handler ( void(_C::*)(const mavlink::mavlink_message_t *, _T &)  fn)
inlineprotected

Make subscription to message with automatic decoding.

Parameters
[in]fnpointer to member function (handler)

Definition at line 101 of file mavros_plugin.h.

mavros::std_plugins::ManualControlPlugin::ManualControlPlugin ( )
inline

Definition at line 28 of file manual_control.cpp.

mavros::std_plugins::MemInfo::MemInfo ( const std::string &  name)
inline

Definition at line 331 of file sys_status.cpp.

void mavros::std_plugins::WaypointPlugin::mission_ack ( MRES  type)
inlineprivate

Definition at line 742 of file waypoint.cpp.

void mavros::std_plugins::WaypointPlugin::mission_clear_all ( )
inlineprivate

Definition at line 732 of file waypoint.cpp.

void mavros::std_plugins::WaypointPlugin::mission_count ( uint16_t  cnt)
inlineprivate

Definition at line 709 of file waypoint.cpp.

void mavros::std_plugins::WaypointPlugin::mission_item ( WaypointItem wp)
inlineprivate

Definition at line 670 of file waypoint.cpp.

void mavros::std_plugins::WaypointPlugin::mission_request ( uint16_t  seq)
inlineprivate

Definition at line 677 of file waypoint.cpp.

void mavros::std_plugins::WaypointPlugin::mission_request_list ( )
inlineprivate

Definition at line 699 of file waypoint.cpp.

void mavros::std_plugins::WaypointPlugin::mission_set_current ( uint16_t  seq)
inlineprivate

Definition at line 688 of file waypoint.cpp.

void mavros::std_plugins::WaypointPlugin::mission_write_partial_list ( uint16_t  start_index,
uint16_t  end_index 
)
inlineprivate

Definition at line 720 of file waypoint.cpp.

bool mavros::std_plugins::FTPPlugin::mkdir_cb ( mavros_msgs::FileMakeDir::Request &  req,
mavros_msgs::FileMakeDir::Response &  res 
)
inlineprivate

Definition at line 1021 of file ftp.cpp.

bool mavros::std_plugins::FTPPlugin::open_cb ( mavros_msgs::FileOpen::Request &  req,
mavros_msgs::FileOpen::Response &  res 
)
inlineprivate

Definition at line 911 of file ftp.cpp.

bool mavros::std_plugins::FTPPlugin::open_file ( std::string &  path,
int  mode 
)
inlineprivate

Definition at line 736 of file ftp.cpp.

void mavros::std_plugins::HilPlugin::optical_flow_cb ( const mavros_msgs::OpticalFlowRad::ConstPtr req)
inlineprivate

Send simulated optical flow to FCU. Message specification: https://mavlink.io/en/messages/common.html#HIL_OPTICAL_FLOW.

Definition at line 260 of file hil.cpp.

void mavros::std_plugins::RCIOPlugin::override_cb ( const mavros_msgs::OverrideRCIn::ConstPtr  req)
inlineprivate

Definition at line 229 of file rc_io.cpp.

void mavros::std_plugins::ParamPlugin::param_request_list ( )
inlineprivate

Definition at line 548 of file param.cpp.

void mavros::std_plugins::ParamPlugin::param_request_read ( std::string  id,
int16_t  index = -1 
)
inlineprivate

Definition at line 558 of file param.cpp.

void mavros::std_plugins::ParamPlugin::param_set ( Parameter param)
inlineprivate

Definition at line 575 of file param.cpp.

mavros::std_plugins::ParamPlugin::ParamPlugin ( )
inline

Definition at line 355 of file param.cpp.

mavros::std_plugins::ParamSetOpt::ParamSetOpt ( Parameter _p,
size_t  _rem 
)
inline

Definition at line 336 of file param.cpp.

mavros::plugin::PluginBase::PluginBase ( const PluginBase )
privatedelete
mavros::plugin::PluginBase::PluginBase ( )
inlineprotected

Plugin constructor Should not do anything before initialize()

Examples:
dummy.cpp.

Definition at line 75 of file mavros_plugin.h.

void mavros::std_plugins::SystemStatusPlugin::process_autopilot_version_apm_quirk ( mavlink::common::msg::AUTOPILOT_VERSION &  apv,
uint8_t  sysid,
uint8_t  compid 
)
inlineprivate

Definition at line 648 of file sys_status.cpp.

void mavros::std_plugins::SystemStatusPlugin::process_autopilot_version_normal ( mavlink::common::msg::AUTOPILOT_VERSION &  apv,
uint8_t  sysid,
uint8_t  compid 
)
inlineprivate

Definition at line 625 of file sys_status.cpp.

void mavros::std_plugins::SystemStatusPlugin::process_statustext_normal ( uint8_t  severity,
std::string &  text 
)
inlineprivate

Sent STATUSTEXT message to rosout

Parameters
[in]severityLevels defined in common.xml

Definition at line 575 of file sys_status.cpp.

void mavros::std_plugins::SystemStatusPlugin::publish_disconnection ( )
inlineprivate

Definition at line 673 of file sys_status.cpp.

void mavros::std_plugins::IMUPlugin::publish_imu_data ( uint32_t  time_boot_ms,
Eigen::Quaterniond &  orientation_enu,
Eigen::Quaterniond &  orientation_ned,
Eigen::Vector3d &  gyro_flu,
Eigen::Vector3d &  gyro_frd 
)
inlineprivate

Fill and publish IMU data message.

Parameters
time_boot_msMessage timestamp (not syncronized)
orientation_enuOrientation in the base_link ENU frame
orientation_nedOrientation in the aircraft NED frame
gyro_fluAngular velocity/rate in the base_link Forward-Left-Up frame
gyro_frdAngular velocity/rate in the aircraft Forward-Right-Down frame

Store attitude in base_link ENU

Store attitude in aircraft NED

Publish only base_link ENU message

imu_pub.publish(imu_enu_msg);

Definition at line 159 of file imu.cpp.

void mavros::std_plugins::IMUPlugin::publish_imu_data_raw ( std_msgs::Header header,
Eigen::Vector3d &  gyro_flu,
Eigen::Vector3d &  accel_flu,
Eigen::Vector3d &  accel_frd 
)
inlineprivate

Fill and publish IMU data_raw message; store linear acceleration for IMU data.

Parameters
headerMessage frame_id and timestamp
gyro_fluOrientation in the base_link Forward-Left-Up frame
accel_fluLinear acceleration in the base_link Forward-Left-Up frame
accel_frdLinear acceleration in the aircraft Forward-Right-Down frame

Definition at line 220 of file imu.cpp.

void mavros::std_plugins::IMUPlugin::publish_mag ( std_msgs::Header header,
Eigen::Vector3d &  mag_field 
)
inlineprivate

Publish magnetic field data.

Parameters
headerMessage frame_id and timestamp
mag_fieldMagnetic field in the base_link ENU frame

Definition at line 248 of file imu.cpp.

void mavros::std_plugins::LocalPositionPlugin::publish_tf ( boost::shared_ptr< nav_msgs::Odometry > &  odom)
inlineprivate

Definition at line 94 of file local_position.cpp.

void mavros::std_plugins::WaypointPlugin::publish_waypoints ( )
inlineprivate

publish the updated waypoint list after operation

Definition at line 652 of file waypoint.cpp.

bool mavros::std_plugins::WaypointPlugin::pull_cb ( mavros_msgs::WaypointPull::Request &  req,
mavros_msgs::WaypointPull::Response &  res 
)
inlineprivate

Definition at line 754 of file waypoint.cpp.

bool mavros::std_plugins::ParamPlugin::pull_cb ( mavros_msgs::ParamPull::Request &  req,
mavros_msgs::ParamPull::Response &  res 
)
inlineprivate

fetches all parameters from device ~param/pull

Definition at line 774 of file param.cpp.

bool mavros::std_plugins::WaypointPlugin::push_cb ( mavros_msgs::WaypointPush::Request &  req,
mavros_msgs::WaypointPush::Response &  res 
)
inlineprivate

Definition at line 777 of file waypoint.cpp.

bool mavros::std_plugins::ParamPlugin::push_cb ( mavros_msgs::ParamPush::Request &  req,
mavros_msgs::ParamPush::Response &  res 
)
inlineprivate

push all parameter value to device ~param/push

Definition at line 822 of file param.cpp.

uint8_t* mavros::std_plugins::FTPRequest::raw_payload ( )
inline

Definition at line 106 of file ftp.cpp.

void mavros::std_plugins::HilPlugin::rcin_raw_cb ( const mavros_msgs::RCIn::ConstPtr req)
inlineprivate

Send simulated received RAW values of the RC channels to the FCU. Message specification: https://mavlink.io/en/messages/common.html#HIL_RC_INPUTS_RAW.

Definition at line 303 of file hil.cpp.

mavros::std_plugins::RCIOPlugin::RCIOPlugin ( )
inline

Definition at line 30 of file rc_io.cpp.

bool mavros::std_plugins::FTPPlugin::read_cb ( mavros_msgs::FileRead::Request &  req,
mavros_msgs::FileRead::Response &  res 
)
inlineprivate

Definition at line 948 of file ftp.cpp.

bool mavros::std_plugins::FTPPlugin::read_file ( std::string &  path,
size_t  off,
size_t  len 
)
inlineprivate

Definition at line 778 of file ftp.cpp.

void mavros::std_plugins::FTPPlugin::read_file_end ( )
inlineprivate

Definition at line 773 of file ftp.cpp.

bool mavros::std_plugins::FTPPlugin::remove_cb ( mavros_msgs::FileRemove::Request &  req,
mavros_msgs::FileRemove::Response &  res 
)
inlineprivate

Definition at line 981 of file ftp.cpp.

void mavros::std_plugins::FTPPlugin::remove_directory ( std::string &  path)
inlineprivate

Definition at line 846 of file ftp.cpp.

void mavros::std_plugins::FTPPlugin::remove_file ( std::string &  path)
inlineprivate

Definition at line 826 of file ftp.cpp.

bool mavros::std_plugins::FTPPlugin::rename_ ( std::string &  old_path,
std::string &  new_path 
)
inlineprivate

Definition at line 831 of file ftp.cpp.

bool mavros::std_plugins::FTPPlugin::rename_cb ( mavros_msgs::FileRename::Request &  req,
mavros_msgs::FileRename::Response &  res 
)
inlineprivate

Definition at line 993 of file ftp.cpp.

bool mavros::std_plugins::HomePositionPlugin::req_update_cb ( std_srvs::Trigger::Request &  req,
std_srvs::Trigger::Response &  res 
)
inlineprivate

Definition at line 157 of file home_position.cpp.

void mavros::std_plugins::WaypointPlugin::request_mission_done ( void  )
inlineprivate

Send ACK back to FCU after pull.

Definition at line 571 of file waypoint.cpp.

bool mavros::std_plugins::FTPPlugin::reset_cb ( std_srvs::Empty::Request &  req,
std_srvs::Empty::Response &  res 
)
inlineprivate

Reset communication on both sides.

Note
This call break other calls, so use carefully.

Definition at line 1064 of file ftp.cpp.

void mavros::std_plugins::SystemTimePlugin::reset_filter ( )
inlineprivate

Definition at line 460 of file sys_time.cpp.

void mavros::std_plugins::WaypointPlugin::restart_timeout_timer ( void  )
inlineprivate

Definition at line 588 of file waypoint.cpp.

void mavros::std_plugins::ParamPlugin::restart_timeout_timer ( void  )
inlineprivate

Definition at line 701 of file param.cpp.

void mavros::std_plugins::WaypointPlugin::restart_timeout_timer_int ( void  )
inlineprivate

Definition at line 594 of file waypoint.cpp.

bool mavros::std_plugins::FTPPlugin::rmdir_cb ( mavros_msgs::FileRemoveDir::Request &  req,
mavros_msgs::FileRemoveDir::Response &  res 
)
inlineprivate

Definition at line 1033 of file ftp.cpp.

bool mavros::std_plugins::ParamPlugin::rosparam_set_allowed ( const Parameter p)
inlineprivate

Set ROS param only if name is good.

Definition at line 756 of file param.cpp.

void mavros::std_plugins::TimeSyncStatus::run ( diagnostic_updater::DiagnosticStatusWrapper stat)
inlinevirtual

Implements diagnostic_updater::DiagnosticTask.

Definition at line 83 of file sys_time.cpp.

void mavros::std_plugins::HeartbeatStatus::run ( diagnostic_updater::DiagnosticStatusWrapper stat)
inlinevirtual

Implements diagnostic_updater::DiagnosticTask.

Definition at line 94 of file sys_status.cpp.

void mavros::std_plugins::SystemStatusDiag::run ( diagnostic_updater::DiagnosticStatusWrapper stat)
inlinevirtual

Implements diagnostic_updater::DiagnosticTask.

Definition at line 163 of file sys_status.cpp.

void mavros::std_plugins::BatteryStatusDiag::run ( diagnostic_updater::DiagnosticStatusWrapper stat)
inlinevirtual

Implements diagnostic_updater::DiagnosticTask.

Definition at line 300 of file sys_status.cpp.

void mavros::std_plugins::MemInfo::run ( diagnostic_updater::DiagnosticStatusWrapper stat)
inlinevirtual

Implements diagnostic_updater::DiagnosticTask.

Definition at line 342 of file sys_status.cpp.

void mavros::std_plugins::HwStatus::run ( diagnostic_updater::DiagnosticStatusWrapper stat)
inlinevirtual

Implements diagnostic_updater::DiagnosticTask.

Definition at line 383 of file sys_status.cpp.

void mavros::std_plugins::SafetyAreaPlugin::safetyarea_cb ( const geometry_msgs::PolygonStamped::ConstPtr req)
inlineprivate

Definition at line 153 of file safety_area.cpp.

mavros::std_plugins::SafetyAreaPlugin::SafetyAreaPlugin ( )
inline

Definition at line 31 of file safety_area.cpp.

void mavros::std_plugins::WaypointPlugin::schedule_pull ( const ros::Duration dt)
inlineprivate

Definition at line 601 of file waypoint.cpp.

void mavros::std_plugins::WaypointPlugin::scheduled_pull_cb ( const ros::TimerEvent event)
inlineprivate

Callback for scheduled waypoint pull.

Definition at line 553 of file waypoint.cpp.

void mavros::std_plugins::FTPRequest::send ( UAS uas,
uint16_t  seqNumber 
)
inline

Encode and send message.

Definition at line 163 of file ftp.cpp.

void mavros::std_plugins::FTPPlugin::send_any_path_command ( FTPRequest::Opcode  op,
const std::string &  debug_msg,
std::string &  path,
uint32_t  offset 
)
inlineprivate

Send any command with string payload (usually file/dir path)

Definition at line 595 of file ftp.cpp.

void mavros::std_plugins::SetpointAttitudePlugin::send_attitude_ang_velocity ( const ros::Time stamp,
const Eigen::Vector3d &  ang_vel,
const float  thrust 
)
inlineprivate

Send angular velocity setpoint and thrust to FCU attitude controller.

Note
Q, also bits noumbering started from 1 in docs

Definition at line 177 of file setpoint_attitude.cpp.

void mavros::std_plugins::SetpointAttitudePlugin::send_attitude_quaternion ( const ros::Time stamp,
const Eigen::Affine3d &  tr,
const float  thrust 
)
inlineprivate

Send attitude setpoint and thrust to FCU attitude controller.

Note
RPY, also bits numbering started from 1 in docs

Definition at line 156 of file setpoint_attitude.cpp.

void mavros::std_plugins::FTPPlugin::send_calc_file_crc32_command ( std::string &  path)
inlineprivate

Definition at line 684 of file ftp.cpp.

void mavros::std_plugins::ManualControlPlugin::send_cb ( const mavros_msgs::ManualControl::ConstPtr  req)
inlineprivate

Definition at line 70 of file manual_control.cpp.

bool mavros::std_plugins::CommandPlugin::send_command_int ( bool  broadcast,
uint8_t  frame,
uint16_t  command,
uint8_t  current,
uint8_t  autocontinue,
float  param1,
float  param2,
float  param3,
float  param4,
int32_t  x,
int32_t  y,
float  z,
unsigned char &  success 
)
inlineprivate

Common function for COMMAND_INT service callbacks.

Definition at line 203 of file command.cpp.

bool mavros::std_plugins::CommandPlugin::send_command_long_and_wait ( bool  broadcast,
uint16_t  command,
uint8_t  confirmation,
float  param1,
float  param2,
float  param3,
float  param4,
float  param5,
float  param6,
float  param7,
unsigned char &  success,
uint8_t &  result 
)
inlineprivate

Common function for command service callbacks.

NOTE: success is bool in messages, but has unsigned char type in C++

Note
APM & PX4 master always send COMMAND_ACK. Old PX4 never. Don't expect any ACK in broadcast mode.

Definition at line 145 of file command.cpp.

void mavros::std_plugins::FTPPlugin::send_create_command ( )
inlineprivate

Definition at line 616 of file ftp.cpp.

void mavros::std_plugins::FTPPlugin::send_create_dir_command ( std::string &  path)
inlineprivate

Definition at line 676 of file ftp.cpp.

void mavros::std_plugins::FTPPlugin::send_list_command ( )
inlineprivate

Definition at line 604 of file ftp.cpp.

void mavros::std_plugins::FTPPlugin::send_open_ro_command ( )
inlineprivate

Definition at line 608 of file ftp.cpp.

void mavros::std_plugins::FTPPlugin::send_open_wo_command ( )
inlineprivate

Definition at line 612 of file ftp.cpp.

bool mavros::std_plugins::ParamPlugin::send_param_set_and_wait ( Parameter param)
inlineprivate

Definition at line 732 of file param.cpp.

void mavros::std_plugins::SetpointPositionPlugin::send_position_target ( const ros::Time stamp,
const Eigen::Affine3d &  tr 
)
inlineprivate

Send setpoint to FCU position controller.

Warning
Send only XYZ, Yaw. ENU frame.

Definition at line 124 of file setpoint_position.cpp.

void mavros::std_plugins::FTPPlugin::send_read_command ( )
inlineprivate

Definition at line 629 of file ftp.cpp.

void mavros::std_plugins::FTPPlugin::send_remove_command ( std::string &  path)
inlineprivate

Definition at line 650 of file ftp.cpp.

void mavros::std_plugins::FTPPlugin::send_remove_dir_command ( std::string &  path)
inlineprivate

Definition at line 680 of file ftp.cpp.

bool mavros::std_plugins::FTPPlugin::send_rename_command ( std::string &  old_path,
std::string &  new_path 
)
inlineprivate

Definition at line 654 of file ftp.cpp.

void mavros::std_plugins::FTPPlugin::send_reset ( )
inlineprivate

Definition at line 580 of file ftp.cpp.

void mavros::std_plugins::SafetyAreaPlugin::send_safety_set_allowed_area ( Eigen::Vector3d  p1,
Eigen::Vector3d  p2 
)
inlineprivate

Send a safety zone (volume), which is defined by two corners of a cube, to the FCU.

Note
ENU frame.

Definition at line 122 of file safety_area.cpp.

void mavros::std_plugins::SetpointAccelerationPlugin::send_setpoint_acceleration ( const ros::Time stamp,
Eigen::Vector3d &  accel_enu 
)
inlineprivate

Send acceleration/force to FCU acceleration controller.

Warning
Send only AFX AFY AFZ. ENU frame.

Definition at line 69 of file setpoint_accel.cpp.

void mavros::std_plugins::SetpointVelocityPlugin::send_setpoint_velocity ( const ros::Time stamp,
Eigen::Vector3d &  vel_enu,
double  yaw_rate 
)
inlineprivate

Send velocity to FCU velocity controller.

Warning
Send only VX VY VZ. ENU frame.

Documentation start from bit 1 instead 0; Ignore position and accel vectors, yaw.

Definition at line 82 of file setpoint_velocity.cpp.

void mavros::std_plugins::FTPPlugin::send_terminate_command ( uint32_t  session)
inlineprivate

Definition at line 620 of file ftp.cpp.

void mavros::std_plugins::SystemTimePlugin::send_timesync_msg ( uint64_t  tc1,
uint64_t  ts1 
)
inlineprivate

Definition at line 348 of file sys_time.cpp.

void mavros::std_plugins::FTPPlugin::send_truncate_command ( std::string &  path,
size_t  length 
)
inlineprivate

Definition at line 672 of file ftp.cpp.

void mavros::std_plugins::WaypointPlugin::send_waypoint ( size_t  seq)
inlineprivate

send a single waypoint to FCU

Definition at line 609 of file waypoint.cpp.

void mavros::std_plugins::FTPPlugin::send_write_command ( const size_t  bytes_to_copy)
inlineprivate

Definition at line 639 of file ftp.cpp.

void mavros::std_plugins::HilPlugin::sensor_cb ( const mavros_msgs::HilSensor::ConstPtr req)
inlineprivate

Send hil_sensor to FCU. Message specification: https://mavlink.io/en/messages/common.html#HIL_SENSOR.

Definition at line 214 of file hil.cpp.

void mavros::std_plugins::SystemStatusDiag::set ( mavlink::common::msg::SYS_STATUS &  st)
inline

Definition at line 157 of file sys_status.cpp.

void mavros::std_plugins::BatteryStatusDiag::set ( float  volt,
float  curr,
float  rem 
)
inline

Definition at line 293 of file sys_status.cpp.

void mavros::std_plugins::MemInfo::set ( uint16_t  f,
uint16_t  b 
)
inline

Definition at line 337 of file sys_status.cpp.

void mavros::std_plugins::HwStatus::set ( uint16_t  v,
uint8_t  e 
)
inline

Definition at line 377 of file sys_status.cpp.

template<class D>
void mavros::plugin::SetAttitudeTargetMixin< D >::set_attitude_target ( uint32_t  time_boot_ms,
uint8_t  type_mask,
Eigen::Quaterniond  orientation,
Eigen::Vector3d  body_rate,
float  thrust 
)
inline

Message sepecification: https://mavlink.io/en/messages/common.html#SET_ATTITUDE_TARGET.

Definition at line 130 of file setpoint_mixin.h.

bool mavros::std_plugins::ParamPlugin::set_cb ( mavros_msgs::ParamSet::Request &  req,
mavros_msgs::ParamSet::Response &  res 
)
inlineprivate

sets parameter value ~param/set

Definition at line 869 of file param.cpp.

bool mavros::std_plugins::WaypointPlugin::set_cur_cb ( mavros_msgs::WaypointSetCurrent::Request &  req,
mavros_msgs::WaypointSetCurrent::Response &  res 
)
inlineprivate

Definition at line 873 of file waypoint.cpp.

void mavros::std_plugins::WaypointPlugin::set_current_waypoint ( size_t  seq)
inlineprivate

set the FCU current waypoint

Definition at line 645 of file waypoint.cpp.

void mavros::std_plugins::FTPRequest::set_data_string ( std::string &  s)
inline

Copy string to payload.

Parameters
[in]spayload string
Note
this function allow null termination inside string it used to send multiple strings in one message

Definition at line 133 of file ftp.cpp.

void mavros::std_plugins::GlobalPositionPlugin::set_gp_origin_cb ( const geographic_msgs::GeoPointStamped::ConstPtr req)
inlineprivate

Definition at line 483 of file global_position.cpp.

bool mavros::std_plugins::CommandPlugin::set_home_cb ( mavros_msgs::CommandHome::Request &  req,
mavros_msgs::CommandHome::Response &  res 
)
inlineprivate

Definition at line 329 of file command.cpp.

bool mavros::std_plugins::SetpointVelocityPlugin::set_mav_frame_cb ( mavros_msgs::SetMavFrame::Request &  req,
mavros_msgs::SetMavFrame::Response &  res 
)
inlineprivate

Definition at line 132 of file setpoint_velocity.cpp.

bool mavros::std_plugins::SetpointPositionPlugin::set_mav_frame_cb ( mavros_msgs::SetMavFrame::Request &  req,
mavros_msgs::SetMavFrame::Response &  res 
)
inlineprivate

Definition at line 253 of file setpoint_position.cpp.

bool mavros::std_plugins::SystemStatusPlugin::set_message_interval_cb ( mavros_msgs::MessageInterval::Request &  req,
mavros_msgs::MessageInterval::Response &  res 
)
inlineprivate

Definition at line 1107 of file sys_status.cpp.

void mavros::std_plugins::BatteryStatusDiag::set_min_voltage ( float  volt)
inline

Definition at line 288 of file sys_status.cpp.

bool mavros::std_plugins::SystemStatusPlugin::set_mode_cb ( mavros_msgs::SetMode::Request &  req,
mavros_msgs::SetMode::Response &  res 
)
inlineprivate
Note
That call may trigger unexpected arming change because base_mode arming flag state based on previous HEARTBEAT message value.

Definition at line 1037 of file sys_status.cpp.

template<class D>
void mavros::plugin::SetPositionTargetGlobalIntMixin< D >::set_position_target_global_int ( uint32_t  time_boot_ms,
uint8_t  coordinate_frame,
uint16_t  type_mask,
int32_t  lat_int,
int32_t  lon_int,
float  alt,
Eigen::Vector3d  v,
Eigen::Vector3d  af,
float  yaw,
float  yaw_rate 
)
inline
template<class D>
void mavros::plugin::SetPositionTargetLocalNEDMixin< D >::set_position_target_local_ned ( uint32_t  time_boot_ms,
uint8_t  coordinate_frame,
uint16_t  type_mask,
Eigen::Vector3d  p,
Eigen::Vector3d  v,
Eigen::Vector3d  af,
float  yaw,
float  yaw_rate 
)
inline
bool mavros::std_plugins::SystemStatusPlugin::set_rate_cb ( mavros_msgs::StreamRate::Request &  req,
mavros_msgs::StreamRate::Response &  res 
)
inlineprivate

Definition at line 1022 of file sys_status.cpp.

template<typename MsgT >
void mavros::std_plugins::CommandPlugin::set_target ( MsgT &  cmd,
bool  broadcast 
)
inlineprivate

Definition at line 228 of file command.cpp.

void mavros::std_plugins::TimeSyncStatus::set_timestamp ( uint64_t  remote_timestamp_ns)
inline

Definition at line 77 of file sys_time.cpp.

void mavros::std_plugins::Parameter::set_value ( mavlink::common::msg::PARAM_VALUE &  pmsg)
inline

Definition at line 60 of file param.cpp.

void mavros::std_plugins::Parameter::set_value_apm_quirk ( mavlink::common::msg::PARAM_VALUE &  pmsg)
inline

Variation of set_value with quirks for ArduPilotMega

Definition at line 126 of file param.cpp.

void mavros::std_plugins::SetpointPositionPlugin::setpoint_cb ( const geometry_msgs::PoseStamped::ConstPtr req)
inlineprivate

Definition at line 175 of file setpoint_position.cpp.

mavros::std_plugins::SetpointAccelerationPlugin::SetpointAccelerationPlugin ( )
inline

Definition at line 35 of file setpoint_accel.cpp.

mavros::std_plugins::SetpointAttitudePlugin::SetpointAttitudePlugin ( )
inline

Definition at line 47 of file setpoint_attitude.cpp.

void mavros::std_plugins::SetpointPositionPlugin::setpointg_cb ( const mavros_msgs::GlobalPositionTarget::ConstPtr req)
inlineprivate

Gets gps setpoint, converts it to local ENU, and sends it to FCU

The idea is to convert the change in LLA(goal_gps-current_gps) to change in ENU 1- convert current/goal gps points to current/goal ECEF points 2- claculate offset in ECEF frame 3- converts ECEF offset to ENU offset given current gps LLA 4- adds ENU offset to current local ENU to that will be sent to FCU

Definition at line 186 of file setpoint_position.cpp.

EIGEN_MAKE_ALIGNED_OPERATOR_NEW mavros::std_plugins::SetpointPositionPlugin::SetpointPositionPlugin ( )
inline

Definition at line 43 of file setpoint_position.cpp.

mavros::std_plugins::SetpointRawPlugin::SetpointRawPlugin ( )
inline

Definition at line 38 of file setpoint_raw.cpp.

mavros::std_plugins::SetpointVelocityPlugin::SetpointVelocityPlugin ( )
inline

Definition at line 38 of file setpoint_velocity.cpp.

void mavros::std_plugins::IMUPlugin::setup_covariance ( ftf::Covariance3d cov,
double  stdev 
)
inlineprivate

Setup 3x3 covariance matrix.

Parameters
covCovariance matrix
stdevStandard deviation
Remarks
Diagonal computed from the stdev

Definition at line 137 of file imu.cpp.

void mavros::std_plugins::ParamPlugin::shedule_cb ( const ros::TimerEvent event)
inlineprivate

Definition at line 612 of file param.cpp.

void mavros::std_plugins::ParamPlugin::shedule_pull ( const ros::Duration dt)
inlineprivate

Definition at line 605 of file param.cpp.

void mavros::std_plugins::HilPlugin::state_quat_cb ( const mavros_msgs::HilStateQuaternion::ConstPtr req)
inlineprivate

Send hil_state_quaternion to FCU. Message specification: https://mavlink.io/en/messages/common.html#HIL_STATE_QUATERNION.

Definition at line 129 of file hil.cpp.

void mavros::std_plugins::SystemStatusPlugin::statustext_cb ( const mavros_msgs::StatusText::ConstPtr req)
inlineprivate

Definition at line 1008 of file sys_status.cpp.

bool mavros::std_plugins::SystemTimePlugin::sync_converged ( )
inlineprivate

Definition at line 472 of file sys_time.cpp.

void mavros::std_plugins::SystemTimePlugin::sys_time_cb ( const ros::TimerEvent event)
inlineprivate

Definition at line 323 of file sys_time.cpp.

mavros::std_plugins::SystemStatusDiag::SystemStatusDiag ( const std::string &  name)
inline

Definition at line 152 of file sys_status.cpp.

mavros::std_plugins::SystemStatusPlugin::SystemStatusPlugin ( )
inline

Definition at line 418 of file sys_status.cpp.

mavros::std_plugins::SystemTimePlugin::SystemTimePlugin ( )
inline

Definition at line 139 of file sys_time.cpp.

bool mavros::std_plugins::CommandPlugin::takeoff_cb ( mavros_msgs::CommandTOL::Request &  req,
mavros_msgs::CommandTOL::Response &  res 
)
inlineprivate

Definition at line 340 of file command.cpp.

mavros::std_plugins::TDRRadioPlugin::TDRRadioPlugin ( )
inline

Definition at line 28 of file 3dr_radio.cpp.

template<class D>
void mavros::plugin::TF2ListenerMixin< D >::tf2_start ( const char *  _thd_name,
void(D::*)(const geometry_msgs::TransformStamped &)  cbp 
)
inline

start tf listener

Parameters
_thd_namelistener thread name
cbpplugin callback function

Definition at line 178 of file setpoint_mixin.h.

template<class D>
template<class T >
void mavros::plugin::TF2ListenerMixin< D >::tf2_start ( const char *  _thd_name,
message_filters::Subscriber< T > &  topic_sub,
void(D::*)(const geometry_msgs::TransformStamped &, const typename T::ConstPtr &)  cbp 
)
inline

start tf listener syncronized with another topic

Parameters
_thd_namelistener thread name
cbpplugin callback function

Definition at line 215 of file setpoint_mixin.h.

void mavros::std_plugins::TimeSyncStatus::tick ( int64_t  rtt_ns,
uint64_t  remote_timestamp_ns,
int64_t  time_offset_ns 
)
inline

Definition at line 66 of file sys_time.cpp.

void mavros::std_plugins::HeartbeatStatus::tick ( uint8_t  type_,
uint8_t  autopilot_,
std::string &  mode_,
uint8_t  system_status_ 
)
inline

Definition at line 82 of file sys_status.cpp.

void mavros::std_plugins::HomePositionPlugin::timeout_cb ( const ros::TimerEvent event)
inlineprivate

Definition at line 163 of file home_position.cpp.

void mavros::std_plugins::WaypointPlugin::timeout_cb ( const ros::TimerEvent event)
inlineprivate

Act on a timeout Resend the message that may have been lost.

Definition at line 486 of file waypoint.cpp.

void mavros::std_plugins::ParamPlugin::timeout_cb ( const ros::TimerEvent event)
inlineprivate

Definition at line 630 of file param.cpp.

void mavros::std_plugins::SystemStatusPlugin::timeout_cb ( const ros::TimerEvent event)
inlineprivate

Definition at line 912 of file sys_status.cpp.

void mavros::std_plugins::SystemTimePlugin::timesync_cb ( const ros::TimerEvent event)
inlineprivate

Definition at line 334 of file sys_time.cpp.

mavros::std_plugins::TimeSyncStatus::TimeSyncStatus ( const std::string &  name,
size_t  win_size 
)
inline

Definition at line 33 of file sys_time.cpp.

int64_t mavros::std_plugins::Parameter::to_integer ( )
inline

For get/set services

Definition at line 264 of file param.cpp.

mavros_msgs::Waypoint mavros::std_plugins::WaypointItem::to_msg ( )
inline

Definition at line 43 of file waypoint.cpp.

mavros_msgs::Param mavros::std_plugins::Parameter::to_msg ( )
inline

Definition at line 296 of file param.cpp.

PARAM_SET mavros::std_plugins::Parameter::to_param_set ( )
inline

Make PARAM_SET message. Set target ids manually!

Definition at line 178 of file param.cpp.

PARAM_SET mavros::std_plugins::Parameter::to_param_set_apm_qurk ( )
inline

Make PARAM_SET message. Set target ids manually!

Definition at line 226 of file param.cpp.

double mavros::std_plugins::Parameter::to_real ( )
inline

Definition at line 282 of file param.cpp.

std::string mavros::std_plugins::WaypointItem::to_string ( )
inline

Definition at line 115 of file waypoint.cpp.

std::string mavros::std_plugins::Parameter::to_string ( ) const
inline

Definition at line 291 of file param.cpp.

void mavros::std_plugins::SetpointPositionPlugin::transform_cb ( const geometry_msgs::TransformStamped &  transform)
inlineprivate

Definition at line 165 of file setpoint_position.cpp.

void mavros::std_plugins::SetpointAttitudePlugin::transform_cb ( const geometry_msgs::TransformStamped &  transform,
const mavros_msgs::Thrust::ConstPtr thrust_msg 
)
inlineprivate

Definition at line 195 of file setpoint_attitude.cpp.

bool mavros::std_plugins::CommandPlugin::trigger_control_cb ( mavros_msgs::CommandTriggerControl::Request &  req,
mavros_msgs::CommandTriggerControl::Response &  res 
)
inlineprivate

Definition at line 365 of file command.cpp.

bool mavros::std_plugins::CommandPlugin::trigger_interval_cb ( mavros_msgs::CommandTriggerInterval::Request &  req,
mavros_msgs::CommandTriggerInterval::Response &  res 
)
inlineprivate

Definition at line 378 of file command.cpp.

bool mavros::std_plugins::FTPPlugin::truncate_cb ( mavros_msgs::FileTruncate::Request &  req,
mavros_msgs::FileTruncate::Response &  res 
)
inlineprivate

Definition at line 1008 of file ftp.cpp.

void mavros::std_plugins::FTPPlugin::truncate_file ( std::string &  path,
size_t  length 
)
inlineprivate

Definition at line 836 of file ftp.cpp.

bool mavros::std_plugins::SystemStatusPlugin::vehicle_info_get_cb ( mavros_msgs::VehicleInfoGet::Request &  req,
mavros_msgs::VehicleInfoGet::Response &  res 
)
inlineprivate

Definition at line 1071 of file sys_status.cpp.

void mavros::std_plugins::SetpointVelocityPlugin::vel_cb ( const geometry_msgs::TwistStamped::ConstPtr req)
inlineprivate

Definition at line 116 of file setpoint_velocity.cpp.

void mavros::std_plugins::SetpointVelocityPlugin::vel_unstamped_cb ( const geometry_msgs::Twist::ConstPtr req)
inlineprivate

Definition at line 124 of file setpoint_velocity.cpp.

mavros::std_plugins::VfrHudPlugin::VfrHudPlugin ( )
inline

Definition at line 29 of file vfr_hud.cpp.

bool mavros::std_plugins::CommandPlugin::wait_ack_for ( CommandTransaction tr)
inlineprivate

Definition at line 130 of file command.cpp.

bool mavros::std_plugins::FTPPlugin::wait_completion ( const int  msecs)
inlineprivate

Definition at line 866 of file ftp.cpp.

bool mavros::std_plugins::WaypointPlugin::wait_fetch_all ( )
inlineprivate

wait until a waypoint pull is complete. Pull happens asyncronously, this function blocks until it is done.

Definition at line 623 of file waypoint.cpp.

bool mavros::std_plugins::ParamPlugin::wait_fetch_all ( )
inlineprivate

Definition at line 714 of file param.cpp.

bool mavros::std_plugins::ParamPlugin::wait_param_set_ack_for ( std::shared_ptr< ParamSetOpt opt)
inlineprivate

Definition at line 723 of file param.cpp.

bool mavros::std_plugins::WaypointPlugin::wait_push_all ( )
inlineprivate

wait until a waypoint push is complete. Push happens asyncronously, this function blocks until it is done.

Definition at line 635 of file waypoint.cpp.

mavros::std_plugins::WaypointPlugin::WaypointPlugin ( )
inline

Definition at line 134 of file waypoint.cpp.

mavros::std_plugins::WindEstimationPlugin::WindEstimationPlugin ( )
inline

Definition at line 31 of file wind_estimation.cpp.

size_t mavros::std_plugins::FTPPlugin::write_bytes_to_copy ( )
inlineprivate

Definition at line 861 of file ftp.cpp.

bool mavros::std_plugins::FTPPlugin::write_cb ( mavros_msgs::FileWrite::Request &  req,
mavros_msgs::FileWrite::Response &  res 
)
inlineprivate

Definition at line 965 of file ftp.cpp.

bool mavros::std_plugins::FTPPlugin::write_file ( std::string &  path,
size_t  off,
V_FileData data 
)
inlineprivate

Definition at line 807 of file ftp.cpp.

void mavros::std_plugins::FTPPlugin::write_file_end ( )
inlineprivate

Definition at line 802 of file ftp.cpp.

virtual mavros::plugin::PluginBase::~PluginBase ( )
inlinevirtual

Definition at line 54 of file mavros_plugin.h.

Variable Documentation

constexpr int mavros::std_plugins::ParamPlugin::_RETRIES_COUNT = 3
staticprivate

Definition at line 412 of file param.cpp.

ros::Subscriber mavros::std_plugins::SetpointAccelerationPlugin::accel_sub
private

Definition at line 58 of file setpoint_accel.cpp.

std::condition_variable mavros::std_plugins::CommandTransaction::ack

Definition at line 38 of file command.cpp.

std::condition_variable mavros::std_plugins::ParamSetOpt::ack

Definition at line 346 of file param.cpp.

const ros::Duration mavros::std_plugins::CommandPlugin::ACK_TIMEOUT_DT
private

Definition at line 106 of file command.cpp.

constexpr int mavros::std_plugins::CommandPlugin::ACK_TIMEOUT_MS = 5000
staticprivate

Definition at line 104 of file command.cpp.

L_CommandTransaction mavros::std_plugins::CommandPlugin::ack_waiting_list
private

Definition at line 103 of file command.cpp.

uint32_t mavros::std_plugins::FTPPlugin::active_session
private

session id of current operation

Definition at line 274 of file ftp.cpp.

ros::Subscriber mavros::std_plugins::ActuatorControlPlugin::actuator_control_sub
private

Definition at line 53 of file actuator_control.cpp.

ros::Publisher mavros::std_plugins::AltitudePlugin::altitude_pub
private

Definition at line 54 of file altitude.cpp.

ftf::Covariance3d mavros::std_plugins::IMUPlugin::angular_velocity_cov
private

Definition at line 124 of file imu.cpp.

ros::ServiceServer mavros::std_plugins::CommandPlugin::arming_srv
private

Definition at line 94 of file command.cpp.

ros::Subscriber mavros::std_plugins::SetpointRawPlugin::attitude_sub
private

Definition at line 71 of file setpoint_raw.cpp.

MAV_AUTOPILOT mavros::std_plugins::HeartbeatStatus::autopilot
private

Definition at line 139 of file sys_status.cpp.

ros::Timer mavros::std_plugins::SystemStatusPlugin::autopilot_version_timer
private

Definition at line 521 of file sys_status.cpp.