PoseRT.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-cob_perception_common/doc_stacks/2013-03-09_11-21-35.617624/cob_perception_common/cob_object_detection_msgs/msg/PoseRT.msg */
00002 #ifndef COB_OBJECT_DETECTION_MSGS_MESSAGE_POSERT_H
00003 #define COB_OBJECT_DETECTION_MSGS_MESSAGE_POSERT_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012 
00013 #include "ros/macros.h"
00014 
00015 #include "ros/assert.h"
00016 
00017 
00018 namespace cob_object_detection_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct PoseRT_ {
00022   typedef PoseRT_<ContainerAllocator> Type;
00023 
00024   PoseRT_()
00025   : rvec()
00026   , tvec()
00027   {
00028     rvec.assign(0.0);
00029     tvec.assign(0.0);
00030   }
00031 
00032   PoseRT_(const ContainerAllocator& _alloc)
00033   : rvec()
00034   , tvec()
00035   {
00036     rvec.assign(0.0);
00037     tvec.assign(0.0);
00038   }
00039 
00040   typedef boost::array<double, 3>  _rvec_type;
00041   boost::array<double, 3>  rvec;
00042 
00043   typedef boost::array<double, 3>  _tvec_type;
00044   boost::array<double, 3>  tvec;
00045 
00046 
00047   typedef boost::shared_ptr< ::cob_object_detection_msgs::PoseRT_<ContainerAllocator> > Ptr;
00048   typedef boost::shared_ptr< ::cob_object_detection_msgs::PoseRT_<ContainerAllocator>  const> ConstPtr;
00049   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00050 }; // struct PoseRT
00051 typedef  ::cob_object_detection_msgs::PoseRT_<std::allocator<void> > PoseRT;
00052 
00053 typedef boost::shared_ptr< ::cob_object_detection_msgs::PoseRT> PoseRTPtr;
00054 typedef boost::shared_ptr< ::cob_object_detection_msgs::PoseRT const> PoseRTConstPtr;
00055 
00056 
00057 template<typename ContainerAllocator>
00058 std::ostream& operator<<(std::ostream& s, const  ::cob_object_detection_msgs::PoseRT_<ContainerAllocator> & v)
00059 {
00060   ros::message_operations::Printer< ::cob_object_detection_msgs::PoseRT_<ContainerAllocator> >::stream(s, "", v);
00061   return s;}
00062 
00063 } // namespace cob_object_detection_msgs
00064 
00065 namespace ros
00066 {
00067 namespace message_traits
00068 {
00069 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::PoseRT_<ContainerAllocator> > : public TrueType {};
00070 template<class ContainerAllocator> struct IsMessage< ::cob_object_detection_msgs::PoseRT_<ContainerAllocator>  const> : public TrueType {};
00071 template<class ContainerAllocator>
00072 struct MD5Sum< ::cob_object_detection_msgs::PoseRT_<ContainerAllocator> > {
00073   static const char* value() 
00074   {
00075     return "d6802a5a6d10cce0b5eea91c5defc39f";
00076   }
00077 
00078   static const char* value(const  ::cob_object_detection_msgs::PoseRT_<ContainerAllocator> &) { return value(); } 
00079   static const uint64_t static_value1 = 0xd6802a5a6d10cce0ULL;
00080   static const uint64_t static_value2 = 0xb5eea91c5defc39fULL;
00081 };
00082 
00083 template<class ContainerAllocator>
00084 struct DataType< ::cob_object_detection_msgs::PoseRT_<ContainerAllocator> > {
00085   static const char* value() 
00086   {
00087     return "cob_object_detection_msgs/PoseRT";
00088   }
00089 
00090   static const char* value(const  ::cob_object_detection_msgs::PoseRT_<ContainerAllocator> &) { return value(); } 
00091 };
00092 
00093 template<class ContainerAllocator>
00094 struct Definition< ::cob_object_detection_msgs::PoseRT_<ContainerAllocator> > {
00095   static const char* value() 
00096   {
00097     return "#3x1 rotation vector, Rodrigues axis angle form,\n\
00098 #angle = norm(rvec) -- radians\n\
00099 #axis = rvec/norm(rvec) -- unit length\n\
00100 float64[3]  rvec\n\
00101 #3x1 translation vector, in meters\n\
00102 float64[3]  tvec\n\
00103 ";
00104   }
00105 
00106   static const char* value(const  ::cob_object_detection_msgs::PoseRT_<ContainerAllocator> &) { return value(); } 
00107 };
00108 
00109 template<class ContainerAllocator> struct IsFixedSize< ::cob_object_detection_msgs::PoseRT_<ContainerAllocator> > : public TrueType {};
00110 } // namespace message_traits
00111 } // namespace ros
00112 
00113 namespace ros
00114 {
00115 namespace serialization
00116 {
00117 
00118 template<class ContainerAllocator> struct Serializer< ::cob_object_detection_msgs::PoseRT_<ContainerAllocator> >
00119 {
00120   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00121   {
00122     stream.next(m.rvec);
00123     stream.next(m.tvec);
00124   }
00125 
00126   ROS_DECLARE_ALLINONE_SERIALIZER;
00127 }; // struct PoseRT_
00128 } // namespace serialization
00129 } // namespace ros
00130 
00131 namespace ros
00132 {
00133 namespace message_operations
00134 {
00135 
00136 template<class ContainerAllocator>
00137 struct Printer< ::cob_object_detection_msgs::PoseRT_<ContainerAllocator> >
00138 {
00139   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::cob_object_detection_msgs::PoseRT_<ContainerAllocator> & v) 
00140   {
00141     s << indent << "rvec[]" << std::endl;
00142     for (size_t i = 0; i < v.rvec.size(); ++i)
00143     {
00144       s << indent << "  rvec[" << i << "]: ";
00145       Printer<double>::stream(s, indent + "  ", v.rvec[i]);
00146     }
00147     s << indent << "tvec[]" << std::endl;
00148     for (size_t i = 0; i < v.tvec.size(); ++i)
00149     {
00150       s << indent << "  tvec[" << i << "]: ";
00151       Printer<double>::stream(s, indent + "  ", v.tvec[i]);
00152     }
00153   }
00154 };
00155 
00156 
00157 } // namespace message_operations
00158 } // namespace ros
00159 
00160 #endif // COB_OBJECT_DETECTION_MSGS_MESSAGE_POSERT_H
00161 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


cob_object_detection_msgs
Author(s): Florian Weisshardt
autogenerated on Sat Mar 9 2013 11:24:34