Namespaces | Functions | Variables
enum_to_string.cpp File Reference

enum stringify helpers More...

#include <array>
#include <unordered_map>
#include <mavros/utils.h>
#include <ros/console.h>
Include dependency graph for enum_to_string.cpp:

Go to the source code of this file.

Namespaces

 mavros
 
 mavros::utils
 

Functions

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::common::MAV_TYPE mavros::utils::mav_type_from_str (const std::string &mav_type)
 Retreive MAV_TYPE from name. More...
 
timesync_mode mavros::utils::timesync_mode_from_str (const std::string &mode)
 Retrieve timesync mode from name. More...
 
std::string mavros::utils::to_name (MAV_TYPE e)
 
std::string mavros::utils::to_string (timesync_mode e)
 
std::string mavros::utils::to_string (MAV_AUTOPILOT e)
 
std::string mavros::utils::to_string (MAV_TYPE e)
 
std::string mavros::utils::to_string (MAV_STATE e)
 
std::string mavros::utils::to_string (ADSB_ALTITUDE_TYPE e)
 
std::string mavros::utils::to_string (ADSB_EMITTER_TYPE e)
 
std::string mavros::utils::to_string (MAV_ESTIMATOR_TYPE e)
 
std::string mavros::utils::to_string (GPS_FIX_TYPE e)
 
std::string mavros::utils::to_string (MAV_MISSION_RESULT e)
 
std::string mavros::utils::to_string (MAV_FRAME e)
 
std::string mavros::utils::to_string (MAV_COMPONENT e)
 
std::string mavros::utils::to_string (MAV_DISTANCE_SENSOR e)
 
std::string mavros::utils::to_string (LANDING_TARGET_TYPE e)
 

Variables

static const std::array< const std::string, 2 > mavros::utils::adsb_altitude_type_strings
 ADSB_ALTITUDE_TYPE values. More...
 
static const std::array< const std::string, 20 > mavros::utils::adsb_emitter_type_strings
 ADSB_EMITTER_TYPE values. More...
 
static const std::array< const std::string, 9 > mavros::utils::gps_fix_type_strings
 GPS_FIX_TYPE values. More...
 
static const std::array< const std::string, 4 > mavros::utils::landing_target_type_strings
 LANDING_TARGET_TYPE values. More...
 
static const std::array< const std::string, 20 > mavros::utils::mav_autopilot_strings
 MAV_AUTOPILOT values. More...
 
static const std::unordered_map< size_t, const std::string > mavros::utils::mav_comp_id_strings
 
static const std::array< const std::string, 5 > mavros::utils::mav_distance_sensor_strings
 MAV_DISTANCE_SENSOR values. More...
 
static const std::array< const std::string, 5 > mavros::utils::mav_estimator_type_strings
 MAV_ESTIMATOR_TYPE values. More...
 
static const std::array< const std::string, 20 > mavros::utils::mav_frame_strings
 MAV_FRAME values. More...
 
static const std::array< const std::string, 15 > mavros::utils::mav_mission_result_strings
 MAV_MISSION_RESULT values. More...
 
static const std::array< const std::string, 9 > mavros::utils::mav_state_strings
 MAV_STATE values. More...
 
static const std::array< const std::string, 33 > mavros::utils::mav_type_names
 MAV_TYPE values. More...
 
static const std::array< const std::string, 33 > mavros::utils::mav_type_strings
 MAV_TYPE values. More...
 
static const std::array< const std::string, 4 > mavros::utils::timesync_mode_strings
 timesync_mode values More...
 

Detailed Description

enum stringify helpers

Author
Vladimir Ermakov vooon.nosp@m.341@.nosp@m.gmail.nosp@m..com

Definition in file enum_to_string.cpp.



mavros
Author(s): Vladimir Ermakov
autogenerated on Mon Jul 8 2019 03:20:11