SetJointState.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/orrosplanning/srv/SetJointState.srv */
00002 #ifndef ORROSPLANNING_SERVICE_SETJOINTSTATE_H
00003 #define ORROSPLANNING_SERVICE_SETJOINTSTATE_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 "sensor_msgs/JointState.h"
00020 
00021 
00022 
00023 namespace orrosplanning
00024 {
00025 template <class ContainerAllocator>
00026 struct SetJointStateRequest_ {
00027   typedef SetJointStateRequest_<ContainerAllocator> Type;
00028 
00029   SetJointStateRequest_()
00030   : jointstate()
00031   {
00032   }
00033 
00034   SetJointStateRequest_(const ContainerAllocator& _alloc)
00035   : jointstate(_alloc)
00036   {
00037   }
00038 
00039   typedef  ::sensor_msgs::JointState_<ContainerAllocator>  _jointstate_type;
00040    ::sensor_msgs::JointState_<ContainerAllocator>  jointstate;
00041 
00042 
00043   typedef boost::shared_ptr< ::orrosplanning::SetJointStateRequest_<ContainerAllocator> > Ptr;
00044   typedef boost::shared_ptr< ::orrosplanning::SetJointStateRequest_<ContainerAllocator>  const> ConstPtr;
00045   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 }; // struct SetJointStateRequest
00047 typedef  ::orrosplanning::SetJointStateRequest_<std::allocator<void> > SetJointStateRequest;
00048 
00049 typedef boost::shared_ptr< ::orrosplanning::SetJointStateRequest> SetJointStateRequestPtr;
00050 typedef boost::shared_ptr< ::orrosplanning::SetJointStateRequest const> SetJointStateRequestConstPtr;
00051 
00052 
00053 template <class ContainerAllocator>
00054 struct SetJointStateResponse_ {
00055   typedef SetJointStateResponse_<ContainerAllocator> Type;
00056 
00057   SetJointStateResponse_()
00058   : success(false)
00059   {
00060   }
00061 
00062   SetJointStateResponse_(const ContainerAllocator& _alloc)
00063   : success(false)
00064   {
00065   }
00066 
00067   typedef uint8_t _success_type;
00068   uint8_t success;
00069 
00070 
00071   typedef boost::shared_ptr< ::orrosplanning::SetJointStateResponse_<ContainerAllocator> > Ptr;
00072   typedef boost::shared_ptr< ::orrosplanning::SetJointStateResponse_<ContainerAllocator>  const> ConstPtr;
00073   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00074 }; // struct SetJointStateResponse
00075 typedef  ::orrosplanning::SetJointStateResponse_<std::allocator<void> > SetJointStateResponse;
00076 
00077 typedef boost::shared_ptr< ::orrosplanning::SetJointStateResponse> SetJointStateResponsePtr;
00078 typedef boost::shared_ptr< ::orrosplanning::SetJointStateResponse const> SetJointStateResponseConstPtr;
00079 
00080 struct SetJointState
00081 {
00082 
00083 typedef SetJointStateRequest Request;
00084 typedef SetJointStateResponse Response;
00085 Request request;
00086 Response response;
00087 
00088 typedef Request RequestType;
00089 typedef Response ResponseType;
00090 }; // struct SetJointState
00091 } // namespace orrosplanning
00092 
00093 namespace ros
00094 {
00095 namespace message_traits
00096 {
00097 template<class ContainerAllocator> struct IsMessage< ::orrosplanning::SetJointStateRequest_<ContainerAllocator> > : public TrueType {};
00098 template<class ContainerAllocator> struct IsMessage< ::orrosplanning::SetJointStateRequest_<ContainerAllocator>  const> : public TrueType {};
00099 template<class ContainerAllocator>
00100 struct MD5Sum< ::orrosplanning::SetJointStateRequest_<ContainerAllocator> > {
00101   static const char* value() 
00102   {
00103     return "a4eea410e374809eb9cf3036acbb3c94";
00104   }
00105 
00106   static const char* value(const  ::orrosplanning::SetJointStateRequest_<ContainerAllocator> &) { return value(); } 
00107   static const uint64_t static_value1 = 0xa4eea410e374809eULL;
00108   static const uint64_t static_value2 = 0xb9cf3036acbb3c94ULL;
00109 };
00110 
00111 template<class ContainerAllocator>
00112 struct DataType< ::orrosplanning::SetJointStateRequest_<ContainerAllocator> > {
00113   static const char* value() 
00114   {
00115     return "orrosplanning/SetJointStateRequest";
00116   }
00117 
00118   static const char* value(const  ::orrosplanning::SetJointStateRequest_<ContainerAllocator> &) { return value(); } 
00119 };
00120 
00121 template<class ContainerAllocator>
00122 struct Definition< ::orrosplanning::SetJointStateRequest_<ContainerAllocator> > {
00123   static const char* value() 
00124   {
00125     return "sensor_msgs/JointState  jointstate\n\
00126 \n\
00127 ================================================================================\n\
00128 MSG: sensor_msgs/JointState\n\
00129 # This is a message that holds data to describe the state of a set of torque controlled joints. \n\
00130 #\n\
00131 # The state of each joint (revolute or prismatic) is defined by:\n\
00132 #  * the position of the joint (rad or m),\n\
00133 #  * the velocity of the joint (rad/s or m/s) and \n\
00134 #  * the effort that is applied in the joint (Nm or N).\n\
00135 #\n\
00136 # Each joint is uniquely identified by its name\n\
00137 # The header specifies the time at which the joint states were recorded. All the joint states\n\
00138 # in one message have to be recorded at the same time.\n\
00139 #\n\
00140 # This message consists of a multiple arrays, one for each part of the joint state. \n\
00141 # The goal is to make each of the fields optional. When e.g. your joints have no\n\
00142 # effort associated with them, you can leave the effort array empty. \n\
00143 #\n\
00144 # All arrays in this message should have the same size, or be empty.\n\
00145 # This is the only way to uniquely associate the joint name with the correct\n\
00146 # states.\n\
00147 \n\
00148 \n\
00149 Header header\n\
00150 \n\
00151 string[] name\n\
00152 float64[] position\n\
00153 float64[] velocity\n\
00154 float64[] effort\n\
00155 \n\
00156 ================================================================================\n\
00157 MSG: std_msgs/Header\n\
00158 # Standard metadata for higher-level stamped data types.\n\
00159 # This is generally used to communicate timestamped data \n\
00160 # in a particular coordinate frame.\n\
00161 # \n\
00162 # sequence ID: consecutively increasing ID \n\
00163 uint32 seq\n\
00164 #Two-integer timestamp that is expressed as:\n\
00165 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00166 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00167 # time-handling sugar is provided by the client library\n\
00168 time stamp\n\
00169 #Frame this data is associated with\n\
00170 # 0: no frame\n\
00171 # 1: global frame\n\
00172 string frame_id\n\
00173 \n\
00174 ";
00175   }
00176 
00177   static const char* value(const  ::orrosplanning::SetJointStateRequest_<ContainerAllocator> &) { return value(); } 
00178 };
00179 
00180 } // namespace message_traits
00181 } // namespace ros
00182 
00183 
00184 namespace ros
00185 {
00186 namespace message_traits
00187 {
00188 template<class ContainerAllocator> struct IsMessage< ::orrosplanning::SetJointStateResponse_<ContainerAllocator> > : public TrueType {};
00189 template<class ContainerAllocator> struct IsMessage< ::orrosplanning::SetJointStateResponse_<ContainerAllocator>  const> : public TrueType {};
00190 template<class ContainerAllocator>
00191 struct MD5Sum< ::orrosplanning::SetJointStateResponse_<ContainerAllocator> > {
00192   static const char* value() 
00193   {
00194     return "358e233cde0c8a8bcfea4ce193f8fc15";
00195   }
00196 
00197   static const char* value(const  ::orrosplanning::SetJointStateResponse_<ContainerAllocator> &) { return value(); } 
00198   static const uint64_t static_value1 = 0x358e233cde0c8a8bULL;
00199   static const uint64_t static_value2 = 0xcfea4ce193f8fc15ULL;
00200 };
00201 
00202 template<class ContainerAllocator>
00203 struct DataType< ::orrosplanning::SetJointStateResponse_<ContainerAllocator> > {
00204   static const char* value() 
00205   {
00206     return "orrosplanning/SetJointStateResponse";
00207   }
00208 
00209   static const char* value(const  ::orrosplanning::SetJointStateResponse_<ContainerAllocator> &) { return value(); } 
00210 };
00211 
00212 template<class ContainerAllocator>
00213 struct Definition< ::orrosplanning::SetJointStateResponse_<ContainerAllocator> > {
00214   static const char* value() 
00215   {
00216     return "bool success\n\
00217 \n\
00218 \n\
00219 ";
00220   }
00221 
00222   static const char* value(const  ::orrosplanning::SetJointStateResponse_<ContainerAllocator> &) { return value(); } 
00223 };
00224 
00225 template<class ContainerAllocator> struct IsFixedSize< ::orrosplanning::SetJointStateResponse_<ContainerAllocator> > : public TrueType {};
00226 } // namespace message_traits
00227 } // namespace ros
00228 
00229 namespace ros
00230 {
00231 namespace serialization
00232 {
00233 
00234 template<class ContainerAllocator> struct Serializer< ::orrosplanning::SetJointStateRequest_<ContainerAllocator> >
00235 {
00236   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00237   {
00238     stream.next(m.jointstate);
00239   }
00240 
00241   ROS_DECLARE_ALLINONE_SERIALIZER;
00242 }; // struct SetJointStateRequest_
00243 } // namespace serialization
00244 } // namespace ros
00245 
00246 
00247 namespace ros
00248 {
00249 namespace serialization
00250 {
00251 
00252 template<class ContainerAllocator> struct Serializer< ::orrosplanning::SetJointStateResponse_<ContainerAllocator> >
00253 {
00254   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00255   {
00256     stream.next(m.success);
00257   }
00258 
00259   ROS_DECLARE_ALLINONE_SERIALIZER;
00260 }; // struct SetJointStateResponse_
00261 } // namespace serialization
00262 } // namespace ros
00263 
00264 namespace ros
00265 {
00266 namespace service_traits
00267 {
00268 template<>
00269 struct MD5Sum<orrosplanning::SetJointState> {
00270   static const char* value() 
00271   {
00272     return "8d4bdb575742c641c05fd692e80f0a33";
00273   }
00274 
00275   static const char* value(const orrosplanning::SetJointState&) { return value(); } 
00276 };
00277 
00278 template<>
00279 struct DataType<orrosplanning::SetJointState> {
00280   static const char* value() 
00281   {
00282     return "orrosplanning/SetJointState";
00283   }
00284 
00285   static const char* value(const orrosplanning::SetJointState&) { return value(); } 
00286 };
00287 
00288 template<class ContainerAllocator>
00289 struct MD5Sum<orrosplanning::SetJointStateRequest_<ContainerAllocator> > {
00290   static const char* value() 
00291   {
00292     return "8d4bdb575742c641c05fd692e80f0a33";
00293   }
00294 
00295   static const char* value(const orrosplanning::SetJointStateRequest_<ContainerAllocator> &) { return value(); } 
00296 };
00297 
00298 template<class ContainerAllocator>
00299 struct DataType<orrosplanning::SetJointStateRequest_<ContainerAllocator> > {
00300   static const char* value() 
00301   {
00302     return "orrosplanning/SetJointState";
00303   }
00304 
00305   static const char* value(const orrosplanning::SetJointStateRequest_<ContainerAllocator> &) { return value(); } 
00306 };
00307 
00308 template<class ContainerAllocator>
00309 struct MD5Sum<orrosplanning::SetJointStateResponse_<ContainerAllocator> > {
00310   static const char* value() 
00311   {
00312     return "8d4bdb575742c641c05fd692e80f0a33";
00313   }
00314 
00315   static const char* value(const orrosplanning::SetJointStateResponse_<ContainerAllocator> &) { return value(); } 
00316 };
00317 
00318 template<class ContainerAllocator>
00319 struct DataType<orrosplanning::SetJointStateResponse_<ContainerAllocator> > {
00320   static const char* value() 
00321   {
00322     return "orrosplanning/SetJointState";
00323   }
00324 
00325   static const char* value(const orrosplanning::SetJointStateResponse_<ContainerAllocator> &) { return value(); } 
00326 };
00327 
00328 } // namespace service_traits
00329 } // namespace ros
00330 
00331 #endif // ORROSPLANNING_SERVICE_SETJOINTSTATE_H
00332 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


orrosplanning
Author(s): Rosen Diankov (rosen.diankov@gmail.com)
autogenerated on Sat Mar 23 2013 22:32:59