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/srv/robot_setactivedofs.srv */ 00002 #ifndef OPENRAVEROS_SERVICE_ROBOT_SETACTIVEDOFS_H 00003 #define OPENRAVEROS_SERVICE_ROBOT_SETACTIVEDOFS_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 "ros/service_traits.h" 00018 00019 #include "openraveros/ActiveDOFs.h" 00020 00021 00022 00023 namespace openraveros 00024 { 00025 template <class ContainerAllocator> 00026 struct robot_setactivedofsRequest_ { 00027 typedef robot_setactivedofsRequest_<ContainerAllocator> Type; 00028 00029 robot_setactivedofsRequest_() 00030 : robotid(0) 00031 , active() 00032 { 00033 } 00034 00035 robot_setactivedofsRequest_(const ContainerAllocator& _alloc) 00036 : robotid(0) 00037 , active(_alloc) 00038 { 00039 } 00040 00041 typedef int32_t _robotid_type; 00042 int32_t robotid; 00043 00044 typedef ::openraveros::ActiveDOFs_<ContainerAllocator> _active_type; 00045 ::openraveros::ActiveDOFs_<ContainerAllocator> active; 00046 00047 00048 typedef boost::shared_ptr< ::openraveros::robot_setactivedofsRequest_<ContainerAllocator> > Ptr; 00049 typedef boost::shared_ptr< ::openraveros::robot_setactivedofsRequest_<ContainerAllocator> const> ConstPtr; 00050 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00051 }; // struct robot_setactivedofsRequest 00052 typedef ::openraveros::robot_setactivedofsRequest_<std::allocator<void> > robot_setactivedofsRequest; 00053 00054 typedef boost::shared_ptr< ::openraveros::robot_setactivedofsRequest> robot_setactivedofsRequestPtr; 00055 typedef boost::shared_ptr< ::openraveros::robot_setactivedofsRequest const> robot_setactivedofsRequestConstPtr; 00056 00057 00058 template <class ContainerAllocator> 00059 struct robot_setactivedofsResponse_ { 00060 typedef robot_setactivedofsResponse_<ContainerAllocator> Type; 00061 00062 robot_setactivedofsResponse_() 00063 { 00064 } 00065 00066 robot_setactivedofsResponse_(const ContainerAllocator& _alloc) 00067 { 00068 } 00069 00070 00071 typedef boost::shared_ptr< ::openraveros::robot_setactivedofsResponse_<ContainerAllocator> > Ptr; 00072 typedef boost::shared_ptr< ::openraveros::robot_setactivedofsResponse_<ContainerAllocator> const> ConstPtr; 00073 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00074 }; // struct robot_setactivedofsResponse 00075 typedef ::openraveros::robot_setactivedofsResponse_<std::allocator<void> > robot_setactivedofsResponse; 00076 00077 typedef boost::shared_ptr< ::openraveros::robot_setactivedofsResponse> robot_setactivedofsResponsePtr; 00078 typedef boost::shared_ptr< ::openraveros::robot_setactivedofsResponse const> robot_setactivedofsResponseConstPtr; 00079 00080 struct robot_setactivedofs 00081 { 00082 00083 typedef robot_setactivedofsRequest Request; 00084 typedef robot_setactivedofsResponse Response; 00085 Request request; 00086 Response response; 00087 00088 typedef Request RequestType; 00089 typedef Response ResponseType; 00090 }; // struct robot_setactivedofs 00091 } // namespace openraveros 00092 00093 namespace ros 00094 { 00095 namespace message_traits 00096 { 00097 template<class ContainerAllocator> struct IsMessage< ::openraveros::robot_setactivedofsRequest_<ContainerAllocator> > : public TrueType {}; 00098 template<class ContainerAllocator> struct IsMessage< ::openraveros::robot_setactivedofsRequest_<ContainerAllocator> const> : public TrueType {}; 00099 template<class ContainerAllocator> 00100 struct MD5Sum< ::openraveros::robot_setactivedofsRequest_<ContainerAllocator> > { 00101 static const char* value() 00102 { 00103 return "afc87996c12a6a996d7490aec3964c8d"; 00104 } 00105 00106 static const char* value(const ::openraveros::robot_setactivedofsRequest_<ContainerAllocator> &) { return value(); } 00107 static const uint64_t static_value1 = 0xafc87996c12a6a99ULL; 00108 static const uint64_t static_value2 = 0x6d7490aec3964c8dULL; 00109 }; 00110 00111 template<class ContainerAllocator> 00112 struct DataType< ::openraveros::robot_setactivedofsRequest_<ContainerAllocator> > { 00113 static const char* value() 00114 { 00115 return "openraveros/robot_setactivedofsRequest"; 00116 } 00117 00118 static const char* value(const ::openraveros::robot_setactivedofsRequest_<ContainerAllocator> &) { return value(); } 00119 }; 00120 00121 template<class ContainerAllocator> 00122 struct Definition< ::openraveros::robot_setactivedofsRequest_<ContainerAllocator> > { 00123 static const char* value() 00124 { 00125 return "\n\ 00126 \n\ 00127 int32 robotid\n\ 00128 ActiveDOFs active\n\ 00129 \n\ 00130 ================================================================================\n\ 00131 MSG: openraveros/ActiveDOFs\n\ 00132 # specifies the active degrees of freedom of the robot\n\ 00133 \n\ 00134 # mask of active base degrees of freedom\n\ 00135 uint32 affine\n\ 00136 \n\ 00137 # active joints\n\ 00138 int32[] indices\n\ 00139 \n\ 00140 float32[3] rotationaxis\n\ 00141 \n\ 00142 # mask for affine dofs\n\ 00143 uint8 DOF_X = 1\n\ 00144 uint8 DOF_Y = 2\n\ 00145 uint8 DOF_Z = 4\n\ 00146 uint8 DOF_RotationAxis = 8\n\ 00147 uint8 DOF_Rotation3D = 16\n\ 00148 uint8 DOF_RotationQuat = 32\n\ 00149 \n\ 00150 "; 00151 } 00152 00153 static const char* value(const ::openraveros::robot_setactivedofsRequest_<ContainerAllocator> &) { return value(); } 00154 }; 00155 00156 } // namespace message_traits 00157 } // namespace ros 00158 00159 00160 namespace ros 00161 { 00162 namespace message_traits 00163 { 00164 template<class ContainerAllocator> struct IsMessage< ::openraveros::robot_setactivedofsResponse_<ContainerAllocator> > : public TrueType {}; 00165 template<class ContainerAllocator> struct IsMessage< ::openraveros::robot_setactivedofsResponse_<ContainerAllocator> const> : public TrueType {}; 00166 template<class ContainerAllocator> 00167 struct MD5Sum< ::openraveros::robot_setactivedofsResponse_<ContainerAllocator> > { 00168 static const char* value() 00169 { 00170 return "d41d8cd98f00b204e9800998ecf8427e"; 00171 } 00172 00173 static const char* value(const ::openraveros::robot_setactivedofsResponse_<ContainerAllocator> &) { return value(); } 00174 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00175 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00176 }; 00177 00178 template<class ContainerAllocator> 00179 struct DataType< ::openraveros::robot_setactivedofsResponse_<ContainerAllocator> > { 00180 static const char* value() 00181 { 00182 return "openraveros/robot_setactivedofsResponse"; 00183 } 00184 00185 static const char* value(const ::openraveros::robot_setactivedofsResponse_<ContainerAllocator> &) { return value(); } 00186 }; 00187 00188 template<class ContainerAllocator> 00189 struct Definition< ::openraveros::robot_setactivedofsResponse_<ContainerAllocator> > { 00190 static const char* value() 00191 { 00192 return "\n\ 00193 \n\ 00194 "; 00195 } 00196 00197 static const char* value(const ::openraveros::robot_setactivedofsResponse_<ContainerAllocator> &) { return value(); } 00198 }; 00199 00200 template<class ContainerAllocator> struct IsFixedSize< ::openraveros::robot_setactivedofsResponse_<ContainerAllocator> > : public TrueType {}; 00201 } // namespace message_traits 00202 } // namespace ros 00203 00204 namespace ros 00205 { 00206 namespace serialization 00207 { 00208 00209 template<class ContainerAllocator> struct Serializer< ::openraveros::robot_setactivedofsRequest_<ContainerAllocator> > 00210 { 00211 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00212 { 00213 stream.next(m.robotid); 00214 stream.next(m.active); 00215 } 00216 00217 ROS_DECLARE_ALLINONE_SERIALIZER; 00218 }; // struct robot_setactivedofsRequest_ 00219 } // namespace serialization 00220 } // namespace ros 00221 00222 00223 namespace ros 00224 { 00225 namespace serialization 00226 { 00227 00228 template<class ContainerAllocator> struct Serializer< ::openraveros::robot_setactivedofsResponse_<ContainerAllocator> > 00229 { 00230 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00231 { 00232 } 00233 00234 ROS_DECLARE_ALLINONE_SERIALIZER; 00235 }; // struct robot_setactivedofsResponse_ 00236 } // namespace serialization 00237 } // namespace ros 00238 00239 namespace ros 00240 { 00241 namespace service_traits 00242 { 00243 template<> 00244 struct MD5Sum<openraveros::robot_setactivedofs> { 00245 static const char* value() 00246 { 00247 return "afc87996c12a6a996d7490aec3964c8d"; 00248 } 00249 00250 static const char* value(const openraveros::robot_setactivedofs&) { return value(); } 00251 }; 00252 00253 template<> 00254 struct DataType<openraveros::robot_setactivedofs> { 00255 static const char* value() 00256 { 00257 return "openraveros/robot_setactivedofs"; 00258 } 00259 00260 static const char* value(const openraveros::robot_setactivedofs&) { return value(); } 00261 }; 00262 00263 template<class ContainerAllocator> 00264 struct MD5Sum<openraveros::robot_setactivedofsRequest_<ContainerAllocator> > { 00265 static const char* value() 00266 { 00267 return "afc87996c12a6a996d7490aec3964c8d"; 00268 } 00269 00270 static const char* value(const openraveros::robot_setactivedofsRequest_<ContainerAllocator> &) { return value(); } 00271 }; 00272 00273 template<class ContainerAllocator> 00274 struct DataType<openraveros::robot_setactivedofsRequest_<ContainerAllocator> > { 00275 static const char* value() 00276 { 00277 return "openraveros/robot_setactivedofs"; 00278 } 00279 00280 static const char* value(const openraveros::robot_setactivedofsRequest_<ContainerAllocator> &) { return value(); } 00281 }; 00282 00283 template<class ContainerAllocator> 00284 struct MD5Sum<openraveros::robot_setactivedofsResponse_<ContainerAllocator> > { 00285 static const char* value() 00286 { 00287 return "afc87996c12a6a996d7490aec3964c8d"; 00288 } 00289 00290 static const char* value(const openraveros::robot_setactivedofsResponse_<ContainerAllocator> &) { return value(); } 00291 }; 00292 00293 template<class ContainerAllocator> 00294 struct DataType<openraveros::robot_setactivedofsResponse_<ContainerAllocator> > { 00295 static const char* value() 00296 { 00297 return "openraveros/robot_setactivedofs"; 00298 } 00299 00300 static const char* value(const openraveros::robot_setactivedofsResponse_<ContainerAllocator> &) { return value(); } 00301 }; 00302 00303 } // namespace service_traits 00304 } // namespace ros 00305 00306 #endif // OPENRAVEROS_SERVICE_ROBOT_SETACTIVEDOFS_H 00307