mrs_lib
Various reusable classes, functions and utilities for use in MRS projects
msg_extractor.h File Reference

utility functions for getting stuff from ROS msgs More...

#include <mrs_msgs/TrackerCommand.h>
#include <mrs_msgs/Reference.h>
#include <mrs_msgs/ReferenceStamped.h>
#include <nav_msgs/Odometry.h>
#include <mrs_lib/attitude_converter.h>
+ Include dependency graph for msg_extractor.h:

Go to the source code of this file.

Namespaces

 mrs_lib
 All mrs_lib functions, classes, variables and definitions are contained in this namespace.
 

Functions

std::tuple< double, double, double > mrs_lib::getXYZ (const geometry_msgs::Point &data)
 get XYZ from geometry_msgs::Point More...
 
std::tuple< double, double, double > mrs_lib::getXYZ (const geometry_msgs::PointConstPtr &data)
 get XYZ from geometry_msgs::PointConstPtr More...
 
std::tuple< double, double, double > mrs_lib::getXYZ (const geometry_msgs::Vector3 &data)
 get XYZ from geometry_msgs::Vector3 More...
 
std::tuple< double, double, double > mrs_lib::getXYZ (const geometry_msgs::Vector3ConstPtr &data)
 get XYZ from geometry_msgs::Vector3ConstPtr More...
 
std::tuple< double, double, double > mrs_lib::getPosition (const geometry_msgs::Pose &data)
 get position from geometry_msgs::Pose More...
 
std::tuple< double, double, double > mrs_lib::getPosition (const geometry_msgs::PoseConstPtr &data)
 get position from geometry_msgs::PoseConstPtr More...
 
double mrs_lib::getHeading (const geometry_msgs::Pose &data)
 get heading from geometry_msgs::Pose More...
 
double mrs_lib::getHeading (const geometry_msgs::PoseConstPtr &data)
 get heading from geometry_msgs::PoseConstPtr More...
 
double mrs_lib::getYaw (const geometry_msgs::Pose &data)
 get yaw from geometry_msgs::Pose More...
 
double mrs_lib::getYaw (const geometry_msgs::PoseConstPtr &data)
 get yaw from geometry_msgs::PoseConstPtr More...
 
std::tuple< double, double, double > mrs_lib::getPosition (const geometry_msgs::PoseWithCovariance &data)
 get position from geometry_msgs::PoseWithCovariance More...
 
std::tuple< double, double, double > mrs_lib::getPosition (const geometry_msgs::PoseWithCovarianceConstPtr &data)
 get position from geometry_msgs::PoseWithCovarianceConstPtr More...
 
double mrs_lib::getHeading (const geometry_msgs::PoseWithCovariance &data)
 get heading from geometry_msgs::PoseWithCovariance More...
 
double mrs_lib::getHeading (const geometry_msgs::PoseWithCovarianceConstPtr &data)
 get heading from geometry_msgs::PoseWithCovarianceConstPtr More...
 
double mrs_lib::getYaw (const geometry_msgs::PoseWithCovariance &data)
 get yaw from geometry_msgs::PoseWithCovariance More...
 
double mrs_lib::getYaw (const geometry_msgs::PoseWithCovarianceConstPtr &data)
 get yaw from geometry_msgs::PoseWithCovarianceConstPtr More...
 
std::tuple< double, double, double > mrs_lib::getVelocity (const geometry_msgs::Twist &data)
 get velocity from geometry_msgs::Twist More...
 
std::tuple< double, double, double > mrs_lib::getPosition (const geometry_msgs::TwistConstPtr &data)
 get position from geometry_msgs::TwistConstPtr More...
 
std::tuple< double, double, double > mrs_lib::getVelocity (const geometry_msgs::TwistWithCovariance &data)
 get velocity from geometry_msgs::TwistWithCovariance More...
 
std::tuple< double, double, double > mrs_lib::getPosition (const geometry_msgs::TwistWithCovarianceConstPtr &data)
 get position from geometry_msgs::TwistWithCovarianceConstPtr More...
 
std::tuple< double, double, double > mrs_lib::getPosition (const nav_msgs::Odometry &data)
 get position from nav_msgs::Odometry More...
 
std::tuple< double, double, double > mrs_lib::getPosition (const nav_msgs::OdometryConstPtr &data)
 get position from nav_msgs::OdometryConstPtr More...
 
std::tuple< double, double, double > mrs_lib::getVelocity (const nav_msgs::Odometry &data)
 get position from nav_msgs::Odometry More...
 
std::tuple< double, double, double > mrs_lib::getVelocity (const nav_msgs::OdometryConstPtr &data)
 get velocity from nav_msgs::OdometryConstPtr More...
 
double mrs_lib::getHeading (const nav_msgs::Odometry &data)
 get heading from nav_msgs::Odometry More...
 
double mrs_lib::getHeading (const nav_msgs::OdometryConstPtr &data)
 get heading from nav_msgs::OdometryConstPtr More...
 
double mrs_lib::getYaw (const nav_msgs::Odometry &data)
 get yaw from nav_msgs::Odometry More...
 
double mrs_lib::getYaw (const nav_msgs::OdometryConstPtr &data)
 get yaw from nav_msgs::OdometryConstPtr More...
 
geometry_msgs::Pose mrs_lib::getPose (const nav_msgs::Odometry &data)
 returns the Pose part of the nav_msgs::Odometry message More...
 
geometry_msgs::Pose mrs_lib::getPose (const nav_msgs::OdometryConstPtr &data)
 returns the Pose part of the nav_msgs::OdometryConstPtr message More...
 
std::tuple< double, double, double > mrs_lib::getPosition (const mrs_msgs::TrackerCommand &data)
 get position data from mrs_msgs::TrackerCommand More...
 
std::tuple< double, double, double > mrs_lib::getPosition (const mrs_msgs::TrackerCommandConstPtr &data)
 get position data from mrs_msgs::TrackerCommandConstPtr More...
 
std::tuple< double, double, double > mrs_lib::getVelocity (const mrs_msgs::TrackerCommand &data)
 get velocity data from mrs_msgs::TrackerCommand More...
 
std::tuple< double, double, double > mrs_lib::getVelocity (const mrs_msgs::TrackerCommandConstPtr &data)
 get velocity data from mrs_msgs::TrackerCommandConstPtr More...
 
double mrs_lib::getHeading (const mrs_msgs::TrackerCommand &data)
 get heading from mrs_msgs::TrackerCommand More...
 
double mrs_lib::getHeading (const mrs_msgs::TrackerCommandConstPtr &data)
 get heading from mrs_msgs::TrackerCommandConstPtr More...
 
std::tuple< double, double, double > mrs_lib::getPosition (const mrs_msgs::Reference &data)
 get position from mrs_msgs::Reference More...
 
std::tuple< double, double, double > mrs_lib::getPosition (const mrs_msgs::ReferenceConstPtr &data)
 get position from mrs_msgs::ReferenceConstPtr More...
 
double mrs_lib::getHeading (const mrs_msgs::Reference &data)
 get heading from mrs_msgs::Reference More...
 
double mrs_lib::getHeading (const mrs_msgs::ReferenceConstPtr &data)
 get heading from mrs_msgs::ReferenceConstPtr More...
 
std::tuple< double, double, double > mrs_lib::getPosition (const mrs_msgs::ReferenceStamped &data)
 get position from mrs_msgs::ReferenceStamped More...
 
std::tuple< double, double, double > mrs_lib::getPosition (const mrs_msgs::ReferenceStampedConstPtr &data)
 get position from mrs_msgs::ReferenceStampedConstPtr More...
 
double mrs_lib::getHeading (const mrs_msgs::ReferenceStamped &data)
 get heading from mrs_msgs::ReferenceStamped More...
 
double mrs_lib::getHeading (const mrs_msgs::ReferenceStampedConstPtr &data)
 get heading from mrs_msgs::ReferenceStampedConstPtr More...
 

Detailed Description

utility functions for getting stuff from ROS msgs

Author
Tomas Baca - tomas.nosp@m..bac.nosp@m.a@fel.nosp@m..cvu.nosp@m.t.cz