Namespaces | Enumerations | Functions
utils.h File Reference
#include <Eigen/Geometry>
#include <mavconn/thread_utils.h>
#include <mavros_msgs/mavlink_convert.h>
#include <mavconn/mavlink_dialect.h>
#include <ros/console.h>
Include dependency graph for utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mavros
 
 mavros::utils
 

Enumerations

enum  mavros::utils::timesync_mode { mavros::utils::timesync_mode::NONE = 0, mavros::utils::timesync_mode::MAVLINK, mavros::utils::timesync_mode::ONBOARD, mavros::utils::timesync_mode::PASSTHROUGH }
 

Functions

template<typename _T >
constexpr std::underlying_type< _T >::type mavros::utils::enum_value (_T e)
 
mavlink::common::LANDING_TARGET_TYPE mavros::utils::landing_target_type_from_str (const std::string &landing_target_type)
 Retrieve landing target type from alias name. More...
 
mavlink::common::MAV_FRAME mavros::utils::mav_frame_from_str (const std::string &mav_frame)
 Retreive MAV_FRAME from name. More...
 
mavlink::minimal::MAV_TYPE mavros::utils::mav_type_from_str (const std::string &mav_type)
 Retreive MAV_TYPE from name. More...
 
int mavros::utils::sensor_orientation_from_str (const std::string &sensor_orientation)
 Retrieve sensor orientation number from alias name. More...
 
Eigen::Quaterniond mavros::utils::sensor_orientation_matching (mavlink::common::MAV_SENSOR_ORIENTATION orientation)
 Function to match the received orientation received by MAVLink msg and the rotation of the sensor relative to the FCU. More...
 
timesync_mode mavros::utils::timesync_mode_from_str (const std::string &mode)
 Retrieve timesync mode from name. More...
 
std::string mavros::utils::to_string (timesync_mode e)
 
std::string mavros::utils::to_string (mavlink::common::MAV_SENSOR_ORIENTATION e)
 Retrieve alias of the orientation received by MAVLink msg. More...
 
std::string mavros::utils::to_string (mavlink::minimal::MAV_AUTOPILOT e)
 
std::string mavros::utils::to_string (mavlink::minimal::MAV_TYPE e)
 
std::string mavros::utils::to_string (mavlink::minimal::MAV_STATE e)
 
std::string mavros::utils::to_string (mavlink::minimal::MAV_COMPONENT e)
 
std::string mavros::utils::to_string (mavlink::common::MAV_ESTIMATOR_TYPE e)
 
std::string mavros::utils::to_string (mavlink::common::ADSB_ALTITUDE_TYPE e)
 
std::string mavros::utils::to_string (mavlink::common::ADSB_EMITTER_TYPE e)
 
std::string mavros::utils::to_string (mavlink::common::MAV_MISSION_RESULT e)
 
std::string mavros::utils::to_string (mavlink::common::MAV_FRAME e)
 
std::string mavros::utils::to_string (mavlink::common::MAV_DISTANCE_SENSOR e)
 
std::string mavros::utils::to_string (mavlink::common::LANDING_TARGET_TYPE e)
 
template<typename _T >
std::string mavros::utils::to_string_enum (int e)
 


mavros
Author(s): Vladimir Ermakov
autogenerated on Tue Jun 1 2021 02:36:26