224 lines
		
	
	
		
			6.1 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			224 lines
		
	
	
		
			6.1 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| // Generated by gencpp from file geometry_msgs/Transform.msg
 | |
| // DO NOT EDIT!
 | |
| 
 | |
| 
 | |
| #ifndef GEOMETRY_MSGS_MESSAGE_TRANSFORM_H
 | |
| #define GEOMETRY_MSGS_MESSAGE_TRANSFORM_H
 | |
| 
 | |
| 
 | |
| #include <string>
 | |
| #include <vector>
 | |
| #include <map>
 | |
| 
 | |
| #include <ros/types.h>
 | |
| #include <ros/serialization.h>
 | |
| #include <ros/builtin_message_traits.h>
 | |
| #include <ros/message_operations.h>
 | |
| 
 | |
| #include <geometry_msgs/Vector3.h>
 | |
| #include <geometry_msgs/Quaternion.h>
 | |
| 
 | |
| namespace geometry_msgs
 | |
| {
 | |
| template <class ContainerAllocator>
 | |
| struct Transform_
 | |
| {
 | |
|   typedef Transform_<ContainerAllocator> Type;
 | |
| 
 | |
|   Transform_()
 | |
|     : translation()
 | |
|     , rotation()  {
 | |
|     }
 | |
|   Transform_(const ContainerAllocator& _alloc)
 | |
|     : translation(_alloc)
 | |
|     , rotation(_alloc)  {
 | |
|   (void)_alloc;
 | |
|     }
 | |
| 
 | |
| 
 | |
| 
 | |
|    typedef  ::geometry_msgs::Vector3_<ContainerAllocator>  _translation_type;
 | |
|   _translation_type translation;
 | |
| 
 | |
|    typedef  ::geometry_msgs::Quaternion_<ContainerAllocator>  _rotation_type;
 | |
|   _rotation_type rotation;
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
|   typedef boost::shared_ptr< ::geometry_msgs::Transform_<ContainerAllocator> > Ptr;
 | |
|   typedef boost::shared_ptr< ::geometry_msgs::Transform_<ContainerAllocator> const> ConstPtr;
 | |
| 
 | |
| }; // struct Transform_
 | |
| 
 | |
| typedef ::geometry_msgs::Transform_<std::allocator<void> > Transform;
 | |
| 
 | |
| typedef boost::shared_ptr< ::geometry_msgs::Transform > TransformPtr;
 | |
| typedef boost::shared_ptr< ::geometry_msgs::Transform const> TransformConstPtr;
 | |
| 
 | |
| // constants requiring out of line definition
 | |
| 
 | |
| 
 | |
| 
 | |
| template<typename ContainerAllocator>
 | |
| std::ostream& operator<<(std::ostream& s, const ::geometry_msgs::Transform_<ContainerAllocator> & v)
 | |
| {
 | |
| ros::message_operations::Printer< ::geometry_msgs::Transform_<ContainerAllocator> >::stream(s, "", v);
 | |
| return s;
 | |
| }
 | |
| 
 | |
| } // namespace geometry_msgs
 | |
| 
 | |
| namespace ros
 | |
| {
 | |
| namespace message_traits
 | |
| {
 | |
| 
 | |
| 
 | |
| 
 | |
| // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
 | |
| // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/tmp/binarydeb/ros-kinetic-geometry-msgs-1.12.5/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 <class ContainerAllocator>
 | |
| struct IsFixedSize< ::geometry_msgs::Transform_<ContainerAllocator> >
 | |
|   : TrueType
 | |
|   { };
 | |
| 
 | |
| template <class ContainerAllocator>
 | |
| struct IsFixedSize< ::geometry_msgs::Transform_<ContainerAllocator> const>
 | |
|   : TrueType
 | |
|   { };
 | |
| 
 | |
| template <class ContainerAllocator>
 | |
| struct IsMessage< ::geometry_msgs::Transform_<ContainerAllocator> >
 | |
|   : TrueType
 | |
|   { };
 | |
| 
 | |
| template <class ContainerAllocator>
 | |
| struct IsMessage< ::geometry_msgs::Transform_<ContainerAllocator> const>
 | |
|   : TrueType
 | |
|   { };
 | |
| 
 | |
| template <class ContainerAllocator>
 | |
| struct HasHeader< ::geometry_msgs::Transform_<ContainerAllocator> >
 | |
|   : FalseType
 | |
|   { };
 | |
| 
 | |
| template <class ContainerAllocator>
 | |
| struct HasHeader< ::geometry_msgs::Transform_<ContainerAllocator> const>
 | |
|   : FalseType
 | |
|   { };
 | |
| 
 | |
| 
 | |
| template<class ContainerAllocator>
 | |
| struct MD5Sum< ::geometry_msgs::Transform_<ContainerAllocator> >
 | |
| {
 | |
|   static const char* value()
 | |
|   {
 | |
|     return "ac9eff44abf714214112b05d54a3cf9b";
 | |
|   }
 | |
| 
 | |
|   static const char* value(const ::geometry_msgs::Transform_<ContainerAllocator>&) { return value(); }
 | |
|   static const uint64_t static_value1 = 0xac9eff44abf71421ULL;
 | |
|   static const uint64_t static_value2 = 0x4112b05d54a3cf9bULL;
 | |
| };
 | |
| 
 | |
| template<class ContainerAllocator>
 | |
| struct DataType< ::geometry_msgs::Transform_<ContainerAllocator> >
 | |
| {
 | |
|   static const char* value()
 | |
|   {
 | |
|     return "geometry_msgs/Transform";
 | |
|   }
 | |
| 
 | |
|   static const char* value(const ::geometry_msgs::Transform_<ContainerAllocator>&) { return value(); }
 | |
| };
 | |
| 
 | |
| template<class ContainerAllocator>
 | |
| struct Definition< ::geometry_msgs::Transform_<ContainerAllocator> >
 | |
| {
 | |
|   static const char* value()
 | |
|   {
 | |
|     return "# This represents the transform between two coordinate frames in free space.\n\
 | |
| \n\
 | |
| Vector3 translation\n\
 | |
| Quaternion rotation\n\
 | |
| \n\
 | |
| ================================================================================\n\
 | |
| MSG: geometry_msgs/Vector3\n\
 | |
| # This represents a vector in free space. \n\
 | |
| # It is only meant to represent a direction. Therefore, it does not\n\
 | |
| # make sense to apply a translation to it (e.g., when applying a \n\
 | |
| # generic rigid transformation to a Vector3, tf2 will only apply the\n\
 | |
| # rotation). If you want your data to be translatable too, use the\n\
 | |
| # geometry_msgs/Point message instead.\n\
 | |
| \n\
 | |
| float64 x\n\
 | |
| float64 y\n\
 | |
| float64 z\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::Transform_<ContainerAllocator>&) { return value(); }
 | |
| };
 | |
| 
 | |
| } // namespace message_traits
 | |
| } // namespace ros
 | |
| 
 | |
| namespace ros
 | |
| {
 | |
| namespace serialization
 | |
| {
 | |
| 
 | |
|   template<class ContainerAllocator> struct Serializer< ::geometry_msgs::Transform_<ContainerAllocator> >
 | |
|   {
 | |
|     template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
 | |
|     {
 | |
|       stream.next(m.translation);
 | |
|       stream.next(m.rotation);
 | |
|     }
 | |
| 
 | |
|     ROS_DECLARE_ALLINONE_SERIALIZER
 | |
|   }; // struct Transform_
 | |
| 
 | |
| } // namespace serialization
 | |
| } // namespace ros
 | |
| 
 | |
| namespace ros
 | |
| {
 | |
| namespace message_operations
 | |
| {
 | |
| 
 | |
| template<class ContainerAllocator>
 | |
| struct Printer< ::geometry_msgs::Transform_<ContainerAllocator> >
 | |
| {
 | |
|   template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::geometry_msgs::Transform_<ContainerAllocator>& v)
 | |
|   {
 | |
|     s << indent << "translation: ";
 | |
|     s << std::endl;
 | |
|     Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + "  ", v.translation);
 | |
|     s << indent << "rotation: ";
 | |
|     s << std::endl;
 | |
|     Printer< ::geometry_msgs::Quaternion_<ContainerAllocator> >::stream(s, indent + "  ", v.rotation);
 | |
|   }
 | |
| };
 | |
| 
 | |
| } // namespace message_operations
 | |
| } // namespace ros
 | |
| 
 | |
| #endif // GEOMETRY_MSGS_MESSAGE_TRANSFORM_H
 |