Namespaces | Typedefs | Functions | Variables
enum_sensor_orientation.cpp File Reference

Sensor orientation helper function. More...

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

Go to the source code of this file.

Namespaces

 mavros
 
 mavros::utils
 

Typedefs

using mavros::utils::OrientationPair = std::pair< const std::string, const Eigen::Quaterniond >
 

Functions

static const OrientationPair mavros::utils::make_orientation (const std::string &name, const double roll, const double pitch, const double yaw)
 
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 (MAV_SENSOR_ORIENTATION orientation)
 
std::string mavros::utils::to_string (MAV_SENSOR_ORIENTATION orientation)
 

Variables

static const std::unordered_map< typename std::underlying_type< MAV_SENSOR_ORIENTATION >::type, const OrientationPair > mavros::utils::sensor_orientations
 

Detailed Description

Sensor orientation helper function.

Author
Nuno Marques n.mar.nosp@m.ques.nosp@m.21@ho.nosp@m.tmai.nosp@m.l.com

Definition in file enum_sensor_orientation.cpp.



mavros
Author(s): Vladimir Ermakov
autogenerated on Tue Jun 13 2023 02:17:50