AttachedSensor.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-jsk-ros-pkg/doc_stacks/2013-03-23_12-16-27.483192/jsk-ros-pkg/openrave_planning/openraveros/msg/AttachedSensor.msg */
00002 #ifndef OPENRAVEROS_MESSAGE_ATTACHEDSENSOR_H
00003 #define OPENRAVEROS_MESSAGE_ATTACHEDSENSOR_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 #include "openraveros/AffineTransformMatrix.h"
00018 #include "openraveros/AffineTransformMatrix.h"
00019 
00020 namespace openraveros
00021 {
00022 template <class ContainerAllocator>
00023 struct AttachedSensor_ {
00024   typedef AttachedSensor_<ContainerAllocator> Type;
00025 
00026   AttachedSensor_()
00027   : name()
00028   , attachedlink(0)
00029   , trelative()
00030   , tglobal()
00031   , type()
00032   {
00033   }
00034 
00035   AttachedSensor_(const ContainerAllocator& _alloc)
00036   : name(_alloc)
00037   , attachedlink(0)
00038   , trelative(_alloc)
00039   , tglobal(_alloc)
00040   , type(_alloc)
00041   {
00042   }
00043 
00044   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _name_type;
00045   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  name;
00046 
00047   typedef int8_t _attachedlink_type;
00048   int8_t attachedlink;
00049 
00050   typedef  ::openraveros::AffineTransformMatrix_<ContainerAllocator>  _trelative_type;
00051    ::openraveros::AffineTransformMatrix_<ContainerAllocator>  trelative;
00052 
00053   typedef  ::openraveros::AffineTransformMatrix_<ContainerAllocator>  _tglobal_type;
00054    ::openraveros::AffineTransformMatrix_<ContainerAllocator>  tglobal;
00055 
00056   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _type_type;
00057   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  type;
00058 
00059 
00060   typedef boost::shared_ptr< ::openraveros::AttachedSensor_<ContainerAllocator> > Ptr;
00061   typedef boost::shared_ptr< ::openraveros::AttachedSensor_<ContainerAllocator>  const> ConstPtr;
00062   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00063 }; // struct AttachedSensor
00064 typedef  ::openraveros::AttachedSensor_<std::allocator<void> > AttachedSensor;
00065 
00066 typedef boost::shared_ptr< ::openraveros::AttachedSensor> AttachedSensorPtr;
00067 typedef boost::shared_ptr< ::openraveros::AttachedSensor const> AttachedSensorConstPtr;
00068 
00069 
00070 template<typename ContainerAllocator>
00071 std::ostream& operator<<(std::ostream& s, const  ::openraveros::AttachedSensor_<ContainerAllocator> & v)
00072 {
00073   ros::message_operations::Printer< ::openraveros::AttachedSensor_<ContainerAllocator> >::stream(s, "", v);
00074   return s;}
00075 
00076 } // namespace openraveros
00077 
00078 namespace ros
00079 {
00080 namespace message_traits
00081 {
00082 template<class ContainerAllocator> struct IsMessage< ::openraveros::AttachedSensor_<ContainerAllocator> > : public TrueType {};
00083 template<class ContainerAllocator> struct IsMessage< ::openraveros::AttachedSensor_<ContainerAllocator>  const> : public TrueType {};
00084 template<class ContainerAllocator>
00085 struct MD5Sum< ::openraveros::AttachedSensor_<ContainerAllocator> > {
00086   static const char* value() 
00087   {
00088     return "416898d02cf5b45ec461b4ab2e67fbdd";
00089   }
00090 
00091   static const char* value(const  ::openraveros::AttachedSensor_<ContainerAllocator> &) { return value(); } 
00092   static const uint64_t static_value1 = 0x416898d02cf5b45eULL;
00093   static const uint64_t static_value2 = 0xc461b4ab2e67fbddULL;
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct DataType< ::openraveros::AttachedSensor_<ContainerAllocator> > {
00098   static const char* value() 
00099   {
00100     return "openraveros/AttachedSensor";
00101   }
00102 
00103   static const char* value(const  ::openraveros::AttachedSensor_<ContainerAllocator> &) { return value(); } 
00104 };
00105 
00106 template<class ContainerAllocator>
00107 struct Definition< ::openraveros::AttachedSensor_<ContainerAllocator> > {
00108   static const char* value() 
00109   {
00110     return "# information specific to an attached sensor for a robot\n\
00111 \n\
00112 # name of sensor\n\
00113 string name\n\
00114 \n\
00115 # zero-based index of link sensor is attached to\n\
00116 int8 attachedlink\n\
00117 \n\
00118 # 3x4 matrix of the relative transform of the sensor frame with respect to the link frame\n\
00119 AffineTransformMatrix trelative\n\
00120 \n\
00121 # 3x4 matrix of the global transform of the sensor (ie, with link transform applied)\n\
00122 AffineTransformMatrix tglobal\n\
00123 \n\
00124 # type of sensor\n\
00125 string type\n\
00126 \n\
00127 ================================================================================\n\
00128 MSG: openraveros/AffineTransformMatrix\n\
00129 # column ordered 3x4 affine transformation, ie: the arrangement in memory is:\n\
00130 # where the upper 3x3 matrix is orthonormal\n\
00131 # [0] [3] [6] [9]\n\
00132 # [1] [4] [7] [10]\n\
00133 # [2] [5] [8] [11]\n\
00134 float32[12] m\n\
00135 \n\
00136 ";
00137   }
00138 
00139   static const char* value(const  ::openraveros::AttachedSensor_<ContainerAllocator> &) { return value(); } 
00140 };
00141 
00142 } // namespace message_traits
00143 } // namespace ros
00144 
00145 namespace ros
00146 {
00147 namespace serialization
00148 {
00149 
00150 template<class ContainerAllocator> struct Serializer< ::openraveros::AttachedSensor_<ContainerAllocator> >
00151 {
00152   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00153   {
00154     stream.next(m.name);
00155     stream.next(m.attachedlink);
00156     stream.next(m.trelative);
00157     stream.next(m.tglobal);
00158     stream.next(m.type);
00159   }
00160 
00161   ROS_DECLARE_ALLINONE_SERIALIZER;
00162 }; // struct AttachedSensor_
00163 } // namespace serialization
00164 } // namespace ros
00165 
00166 namespace ros
00167 {
00168 namespace message_operations
00169 {
00170 
00171 template<class ContainerAllocator>
00172 struct Printer< ::openraveros::AttachedSensor_<ContainerAllocator> >
00173 {
00174   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::openraveros::AttachedSensor_<ContainerAllocator> & v) 
00175   {
00176     s << indent << "name: ";
00177     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.name);
00178     s << indent << "attachedlink: ";
00179     Printer<int8_t>::stream(s, indent + "  ", v.attachedlink);
00180     s << indent << "trelative: ";
00181 s << std::endl;
00182     Printer< ::openraveros::AffineTransformMatrix_<ContainerAllocator> >::stream(s, indent + "  ", v.trelative);
00183     s << indent << "tglobal: ";
00184 s << std::endl;
00185     Printer< ::openraveros::AffineTransformMatrix_<ContainerAllocator> >::stream(s, indent + "  ", v.tglobal);
00186     s << indent << "type: ";
00187     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.type);
00188   }
00189 };
00190 
00191 
00192 } // namespace message_operations
00193 } // namespace ros
00194 
00195 #endif // OPENRAVEROS_MESSAGE_ATTACHEDSENSOR_H
00196 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


openraveros
Author(s): Rosen Diankov (rosen.diankov@gmail.com)
autogenerated on Sat Mar 23 2013 22:16:01