Manipulator.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/Manipulator.msg */
00002 #ifndef OPENRAVEROS_MESSAGE_MANIPULATOR_H
00003 #define OPENRAVEROS_MESSAGE_MANIPULATOR_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 
00019 namespace openraveros
00020 {
00021 template <class ContainerAllocator>
00022 struct Manipulator_ {
00023   typedef Manipulator_<ContainerAllocator> Type;
00024 
00025   Manipulator_()
00026   : baselink(0)
00027   , eelink(0)
00028   , tgrasp()
00029   , handjoints()
00030   , armjoints()
00031   , iksolvername()
00032   , name()
00033   {
00034   }
00035 
00036   Manipulator_(const ContainerAllocator& _alloc)
00037   : baselink(0)
00038   , eelink(0)
00039   , tgrasp(_alloc)
00040   , handjoints(_alloc)
00041   , armjoints(_alloc)
00042   , iksolvername(_alloc)
00043   , name(_alloc)
00044   {
00045   }
00046 
00047   typedef int8_t _baselink_type;
00048   int8_t baselink;
00049 
00050   typedef int8_t _eelink_type;
00051   int8_t eelink;
00052 
00053   typedef  ::openraveros::AffineTransformMatrix_<ContainerAllocator>  _tgrasp_type;
00054    ::openraveros::AffineTransformMatrix_<ContainerAllocator>  tgrasp;
00055 
00056   typedef std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other >  _handjoints_type;
00057   std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other >  handjoints;
00058 
00059   typedef std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other >  _armjoints_type;
00060   std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other >  armjoints;
00061 
00062   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _iksolvername_type;
00063   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  iksolvername;
00064 
00065   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _name_type;
00066   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  name;
00067 
00068 
00069   typedef boost::shared_ptr< ::openraveros::Manipulator_<ContainerAllocator> > Ptr;
00070   typedef boost::shared_ptr< ::openraveros::Manipulator_<ContainerAllocator>  const> ConstPtr;
00071   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00072 }; // struct Manipulator
00073 typedef  ::openraveros::Manipulator_<std::allocator<void> > Manipulator;
00074 
00075 typedef boost::shared_ptr< ::openraveros::Manipulator> ManipulatorPtr;
00076 typedef boost::shared_ptr< ::openraveros::Manipulator const> ManipulatorConstPtr;
00077 
00078 
00079 template<typename ContainerAllocator>
00080 std::ostream& operator<<(std::ostream& s, const  ::openraveros::Manipulator_<ContainerAllocator> & v)
00081 {
00082   ros::message_operations::Printer< ::openraveros::Manipulator_<ContainerAllocator> >::stream(s, "", v);
00083   return s;}
00084 
00085 } // namespace openraveros
00086 
00087 namespace ros
00088 {
00089 namespace message_traits
00090 {
00091 template<class ContainerAllocator> struct IsMessage< ::openraveros::Manipulator_<ContainerAllocator> > : public TrueType {};
00092 template<class ContainerAllocator> struct IsMessage< ::openraveros::Manipulator_<ContainerAllocator>  const> : public TrueType {};
00093 template<class ContainerAllocator>
00094 struct MD5Sum< ::openraveros::Manipulator_<ContainerAllocator> > {
00095   static const char* value() 
00096   {
00097     return "60775f163caf6091aa7df7e34e3cf146";
00098   }
00099 
00100   static const char* value(const  ::openraveros::Manipulator_<ContainerAllocator> &) { return value(); } 
00101   static const uint64_t static_value1 = 0x60775f163caf6091ULL;
00102   static const uint64_t static_value2 = 0xaa7df7e34e3cf146ULL;
00103 };
00104 
00105 template<class ContainerAllocator>
00106 struct DataType< ::openraveros::Manipulator_<ContainerAllocator> > {
00107   static const char* value() 
00108   {
00109     return "openraveros/Manipulator";
00110   }
00111 
00112   static const char* value(const  ::openraveros::Manipulator_<ContainerAllocator> &) { return value(); } 
00113 };
00114 
00115 template<class ContainerAllocator>
00116 struct Definition< ::openraveros::Manipulator_<ContainerAllocator> > {
00117   static const char* value() 
00118   {
00119     return "# information specific to a manipulator for a robot\n\
00120 \n\
00121 # zero-based index of base link that manipulator is attached to\n\
00122 int8 baselink\n\
00123 \n\
00124 # zero-based index of link defining the end-effector\n\
00125 int8 eelink\n\
00126 \n\
00127 # 3x4 matrix of the grasp frame relative to the end-effector link\n\
00128 AffineTransformMatrix tgrasp\n\
00129 \n\
00130 # zero-based hand joint indices\n\
00131 uint8[] handjoints\n\
00132 \n\
00133 # zero-based arm joints indices (from base to end-effector)\n\
00134 uint8[] armjoints\n\
00135 \n\
00136 # name of ik solver using\n\
00137 string iksolvername\n\
00138 \n\
00139 # manipulator name\n\
00140 string name\n\
00141 \n\
00142 ================================================================================\n\
00143 MSG: openraveros/AffineTransformMatrix\n\
00144 # column ordered 3x4 affine transformation, ie: the arrangement in memory is:\n\
00145 # where the upper 3x3 matrix is orthonormal\n\
00146 # [0] [3] [6] [9]\n\
00147 # [1] [4] [7] [10]\n\
00148 # [2] [5] [8] [11]\n\
00149 float32[12] m\n\
00150 \n\
00151 ";
00152   }
00153 
00154   static const char* value(const  ::openraveros::Manipulator_<ContainerAllocator> &) { return value(); } 
00155 };
00156 
00157 } // namespace message_traits
00158 } // namespace ros
00159 
00160 namespace ros
00161 {
00162 namespace serialization
00163 {
00164 
00165 template<class ContainerAllocator> struct Serializer< ::openraveros::Manipulator_<ContainerAllocator> >
00166 {
00167   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00168   {
00169     stream.next(m.baselink);
00170     stream.next(m.eelink);
00171     stream.next(m.tgrasp);
00172     stream.next(m.handjoints);
00173     stream.next(m.armjoints);
00174     stream.next(m.iksolvername);
00175     stream.next(m.name);
00176   }
00177 
00178   ROS_DECLARE_ALLINONE_SERIALIZER;
00179 }; // struct Manipulator_
00180 } // namespace serialization
00181 } // namespace ros
00182 
00183 namespace ros
00184 {
00185 namespace message_operations
00186 {
00187 
00188 template<class ContainerAllocator>
00189 struct Printer< ::openraveros::Manipulator_<ContainerAllocator> >
00190 {
00191   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::openraveros::Manipulator_<ContainerAllocator> & v) 
00192   {
00193     s << indent << "baselink: ";
00194     Printer<int8_t>::stream(s, indent + "  ", v.baselink);
00195     s << indent << "eelink: ";
00196     Printer<int8_t>::stream(s, indent + "  ", v.eelink);
00197     s << indent << "tgrasp: ";
00198 s << std::endl;
00199     Printer< ::openraveros::AffineTransformMatrix_<ContainerAllocator> >::stream(s, indent + "  ", v.tgrasp);
00200     s << indent << "handjoints[]" << std::endl;
00201     for (size_t i = 0; i < v.handjoints.size(); ++i)
00202     {
00203       s << indent << "  handjoints[" << i << "]: ";
00204       Printer<uint8_t>::stream(s, indent + "  ", v.handjoints[i]);
00205     }
00206     s << indent << "armjoints[]" << std::endl;
00207     for (size_t i = 0; i < v.armjoints.size(); ++i)
00208     {
00209       s << indent << "  armjoints[" << i << "]: ";
00210       Printer<uint8_t>::stream(s, indent + "  ", v.armjoints[i]);
00211     }
00212     s << indent << "iksolvername: ";
00213     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.iksolvername);
00214     s << indent << "name: ";
00215     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.name);
00216   }
00217 };
00218 
00219 
00220 } // namespace message_operations
00221 } // namespace ros
00222 
00223 #endif // OPENRAVEROS_MESSAGE_MANIPULATOR_H
00224 
 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:06