ROS的geometry_msgs/PoseWithCovarianceStamped Message 消息格式

溪西创客小屋

geometry_msgs/PoseWithCovarianceStamped Message

Raw Message Definition

# This expresses an estimated pose with a reference coordinate frame and timestamp

Header header
PoseWithCovariance pose

Compact Message Definition

std_msgs/Header header
geometry_msgs/PoseWithCovariance pose

geometry_msgs/PoseWithCovariance Message

File: geometry_msgs/PoseWithCovariance.msg

Raw Message Definition

# This represents a pose in free space with uncertainty.

Pose pose

# Row-major representation of the 6x6 covariance matrix
# The orientation parameters use a fixed-axis representation.
# In order, the parameters are:
# (x, y, z, rotation about X axis, rotation about Y axis, rotation about Z axis)
float64[36] covariance

Compact Message Definition

geometry_msgs/Pose pose
float64[36] covariance

geometry_msgs/PoseStamped Message

File: geometry_msgs/PoseStamped.msg

Raw Message Definition

# A Pose with reference coordinate frame and timestamp
Header header
Pose pose

Compact Message Definition

std_msgs/Header header
geometry_msgs/Pose pose
// Generated by gencpp from file geometry_msgs/Pose.msg
// DO NOT EDIT!




#ifndef GEOMETRY_MSGS_MESSAGE_POSE_H
#define GEOMETRY_MSGS_MESSAGE_POSE_H




#include
#include
#include


#include
#include
#include
#include


#include
#include


namespace geometry_msgs
{
template
struct Pose_
{
  typedef Pose_ Type;


  Pose_()
    : position()
    , orientation()  {
    }
  Pose_(const ContainerAllocator& _alloc)
    : position(_alloc)
    , orientation(_alloc)  {
    }






   typedef  ::geometry_msgs::Point_  _position_type;
  _position_type position;


   typedef  ::geometry_msgs::Quaternion_  _orientation_type;
  _orientation_type orientation;








  typedef boost::shared_ptr< ::geometry_msgs::Pose_ > Ptr;
  typedef boost::shared_ptr< ::geometry_msgs::Pose_ const> ConstPtr;


}; // struct Pose_


typedef ::geometry_msgs::Pose_ > Pose;


typedef boost::shared_ptr< ::geometry_msgs::Pose > PosePtr;
typedef boost::shared_ptr< ::geometry_msgs::Pose const> PoseConstPtr;


// constants requiring out of line definition






template
std::ostream& operator<<(std::ostream& s, const ::geometry_msgs::Pose_ & v)
{
ros::message_operations::Printer< ::geometry_msgs::Pose_ >::stream(s, "", v);
return s;
}


} // namespace geometry_msgs


namespace ros
{
namespace message_traits
{






// BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
// {'std_msgs': ['/opt/ros/indigo/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/tmp/buildd/ros-indigo-geometry-msgs-1.11.8-0trusty-20150522-1014/msg']}


// !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']








template
struct IsFixedSize< ::geometry_msgs::Pose_ >
  : TrueType
  { };


template
struct IsFixedSize< ::geometry_msgs::Pose_ const>
  : TrueType
  { };


template
struct IsMessage< ::geometry_msgs::Pose_ >
  : TrueType
  { };


template
struct IsMessage< ::geometry_msgs::Pose_ const>
  : TrueType
  { };


template
struct HasHeader< ::geometry_msgs::Pose_ >
  : FalseType
  { };


template
struct HasHeader< ::geometry_msgs::Pose_ const>
  : FalseType
  { };




template
struct MD5Sum< ::geometry_msgs::Pose_ >
{
  static const char* value()
  {
    return "e45d45a5a1ce597b249e23fb30fc871f";
  }


  static const char* value(const ::geometry_msgs::Pose_&) { return value(); }
  static const uint64_t static_value1 = 0xe45d45a5a1ce597bULL;
  static const uint64_t static_value2 = 0x249e23fb30fc871fULL;
};


template
struct DataType< ::geometry_msgs::Pose_ >
{
  static const char* value()
  {
    return "geometry_msgs/Pose";
  }


  static const char* value(const ::geometry_msgs::Pose_&) { return value(); }
};


template
struct Definition< ::geometry_msgs::Pose_ >
{
  static const char* value()
  {
    return "# A representation of pose in free space, composed of postion and orientation. \n\
Point position\n\
Quaternion orientation\n\
\n\
================================================================================\n\
MSG: geometry_msgs/Point\n\
# This contains the position of a point in free space\n\
float64 x\n\
float64 y\n\
float64 z\n\
\n\
================================================================================\n\
MSG: geometry_msgs/Quaternion\n\
# This represents an orientation in free space in quaternion form.\n\
\n\
float64 x\n\
float64 y\n\
float64 z\n\
float64 w\n\
";
  }


  static const char* value(const ::geometry_msgs::Pose_&) { return value(); }
};


} // namespace message_traits
} // namespace ros


namespace ros
{
namespace serialization
{


  template struct Serializer< ::geometry_msgs::Pose_ >
  {
    template inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.position);
      stream.next(m.orientation);
    }


    ROS_DECLARE_ALLINONE_SERIALIZER;
  }; // struct Pose_


} // namespace serialization
} // namespace ros


namespace ros
{
namespace message_operations
{


template
struct Printer< ::geometry_msgs::Pose_ >
{
  template static void stream(Stream& s, const std::string& indent, const ::geometry_msgs::Pose_& v)
  {
    s << indent << "position: ";
    s << std::endl;
    Printer< ::geometry_msgs::Point_ >::stream(s, indent + "  ", v.position);
    s << indent << "orientation: ";
    s << std::endl;
    Printer< ::geometry_msgs::Quaternion_ >::stream(s, indent + "  ", v.orientation);
  }
};


} // namespace message_operations
} // namespace ros


#endif // GEOMETRY_MSGS_MESSAGE_POSE_H

你可能感兴趣的:(ROS)