Go to the documentation of this file.00001
00002 #ifndef ORROSPLANNING_SERVICE_MOVETOHANDPOSITION_H
00003 #define ORROSPLANNING_SERVICE_MOVETOHANDPOSITION_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 "geometry_msgs/PoseStamped.h"
00020
00021
00022 #include "trajectory_msgs/JointTrajectory.h"
00023
00024 namespace orrosplanning
00025 {
00026 template <class ContainerAllocator>
00027 struct MoveToHandPositionRequest_ {
00028 typedef MoveToHandPositionRequest_<ContainerAllocator> Type;
00029
00030 MoveToHandPositionRequest_()
00031 : hand_frame_id()
00032 , hand_goal()
00033 , manip_name()
00034 , planner()
00035 {
00036 }
00037
00038 MoveToHandPositionRequest_(const ContainerAllocator& _alloc)
00039 : hand_frame_id(_alloc)
00040 , hand_goal(_alloc)
00041 , manip_name(_alloc)
00042 , planner(_alloc)
00043 {
00044 }
00045
00046 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _hand_frame_id_type;
00047 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > hand_frame_id;
00048
00049 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _hand_goal_type;
00050 ::geometry_msgs::PoseStamped_<ContainerAllocator> hand_goal;
00051
00052 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _manip_name_type;
00053 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > manip_name;
00054
00055 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _planner_type;
00056 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > planner;
00057
00058
00059 typedef boost::shared_ptr< ::orrosplanning::MoveToHandPositionRequest_<ContainerAllocator> > Ptr;
00060 typedef boost::shared_ptr< ::orrosplanning::MoveToHandPositionRequest_<ContainerAllocator> const> ConstPtr;
00061 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00062 };
00063 typedef ::orrosplanning::MoveToHandPositionRequest_<std::allocator<void> > MoveToHandPositionRequest;
00064
00065 typedef boost::shared_ptr< ::orrosplanning::MoveToHandPositionRequest> MoveToHandPositionRequestPtr;
00066 typedef boost::shared_ptr< ::orrosplanning::MoveToHandPositionRequest const> MoveToHandPositionRequestConstPtr;
00067
00068
00069 template <class ContainerAllocator>
00070 struct MoveToHandPositionResponse_ {
00071 typedef MoveToHandPositionResponse_<ContainerAllocator> Type;
00072
00073 MoveToHandPositionResponse_()
00074 : traj()
00075 {
00076 }
00077
00078 MoveToHandPositionResponse_(const ContainerAllocator& _alloc)
00079 : traj(_alloc)
00080 {
00081 }
00082
00083 typedef ::trajectory_msgs::JointTrajectory_<ContainerAllocator> _traj_type;
00084 ::trajectory_msgs::JointTrajectory_<ContainerAllocator> traj;
00085
00086
00087 typedef boost::shared_ptr< ::orrosplanning::MoveToHandPositionResponse_<ContainerAllocator> > Ptr;
00088 typedef boost::shared_ptr< ::orrosplanning::MoveToHandPositionResponse_<ContainerAllocator> const> ConstPtr;
00089 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00090 };
00091 typedef ::orrosplanning::MoveToHandPositionResponse_<std::allocator<void> > MoveToHandPositionResponse;
00092
00093 typedef boost::shared_ptr< ::orrosplanning::MoveToHandPositionResponse> MoveToHandPositionResponsePtr;
00094 typedef boost::shared_ptr< ::orrosplanning::MoveToHandPositionResponse const> MoveToHandPositionResponseConstPtr;
00095
00096 struct MoveToHandPosition
00097 {
00098
00099 typedef MoveToHandPositionRequest Request;
00100 typedef MoveToHandPositionResponse Response;
00101 Request request;
00102 Response response;
00103
00104 typedef Request RequestType;
00105 typedef Response ResponseType;
00106 };
00107 }
00108
00109 namespace ros
00110 {
00111 namespace message_traits
00112 {
00113 template<class ContainerAllocator> struct IsMessage< ::orrosplanning::MoveToHandPositionRequest_<ContainerAllocator> > : public TrueType {};
00114 template<class ContainerAllocator> struct IsMessage< ::orrosplanning::MoveToHandPositionRequest_<ContainerAllocator> const> : public TrueType {};
00115 template<class ContainerAllocator>
00116 struct MD5Sum< ::orrosplanning::MoveToHandPositionRequest_<ContainerAllocator> > {
00117 static const char* value()
00118 {
00119 return "57f9d9f40a6c1af5b98ba199275be95b";
00120 }
00121
00122 static const char* value(const ::orrosplanning::MoveToHandPositionRequest_<ContainerAllocator> &) { return value(); }
00123 static const uint64_t static_value1 = 0x57f9d9f40a6c1af5ULL;
00124 static const uint64_t static_value2 = 0xb98ba199275be95bULL;
00125 };
00126
00127 template<class ContainerAllocator>
00128 struct DataType< ::orrosplanning::MoveToHandPositionRequest_<ContainerAllocator> > {
00129 static const char* value()
00130 {
00131 return "orrosplanning/MoveToHandPositionRequest";
00132 }
00133
00134 static const char* value(const ::orrosplanning::MoveToHandPositionRequest_<ContainerAllocator> &) { return value(); }
00135 };
00136
00137 template<class ContainerAllocator>
00138 struct Definition< ::orrosplanning::MoveToHandPositionRequest_<ContainerAllocator> > {
00139 static const char* value()
00140 {
00141 return "\n\
00142 string hand_frame_id\n\
00143 \n\
00144 \n\
00145 geometry_msgs/PoseStamped hand_goal\n\
00146 \n\
00147 \n\
00148 string manip_name\n\
00149 \n\
00150 \n\
00151 \n\
00152 \n\
00153 string planner\n\
00154 \n\
00155 \n\
00156 ================================================================================\n\
00157 MSG: geometry_msgs/PoseStamped\n\
00158 # A Pose with reference coordinate frame and timestamp\n\
00159 Header header\n\
00160 Pose pose\n\
00161 \n\
00162 ================================================================================\n\
00163 MSG: std_msgs/Header\n\
00164 # Standard metadata for higher-level stamped data types.\n\
00165 # This is generally used to communicate timestamped data \n\
00166 # in a particular coordinate frame.\n\
00167 # \n\
00168 # sequence ID: consecutively increasing ID \n\
00169 uint32 seq\n\
00170 #Two-integer timestamp that is expressed as:\n\
00171 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00172 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00173 # time-handling sugar is provided by the client library\n\
00174 time stamp\n\
00175 #Frame this data is associated with\n\
00176 # 0: no frame\n\
00177 # 1: global frame\n\
00178 string frame_id\n\
00179 \n\
00180 ================================================================================\n\
00181 MSG: geometry_msgs/Pose\n\
00182 # A representation of pose in free space, composed of postion and orientation. \n\
00183 Point position\n\
00184 Quaternion orientation\n\
00185 \n\
00186 ================================================================================\n\
00187 MSG: geometry_msgs/Point\n\
00188 # This contains the position of a point in free space\n\
00189 float64 x\n\
00190 float64 y\n\
00191 float64 z\n\
00192 \n\
00193 ================================================================================\n\
00194 MSG: geometry_msgs/Quaternion\n\
00195 # This represents an orientation in free space in quaternion form.\n\
00196 \n\
00197 float64 x\n\
00198 float64 y\n\
00199 float64 z\n\
00200 float64 w\n\
00201 \n\
00202 ";
00203 }
00204
00205 static const char* value(const ::orrosplanning::MoveToHandPositionRequest_<ContainerAllocator> &) { return value(); }
00206 };
00207
00208 }
00209 }
00210
00211
00212 namespace ros
00213 {
00214 namespace message_traits
00215 {
00216 template<class ContainerAllocator> struct IsMessage< ::orrosplanning::MoveToHandPositionResponse_<ContainerAllocator> > : public TrueType {};
00217 template<class ContainerAllocator> struct IsMessage< ::orrosplanning::MoveToHandPositionResponse_<ContainerAllocator> const> : public TrueType {};
00218 template<class ContainerAllocator>
00219 struct MD5Sum< ::orrosplanning::MoveToHandPositionResponse_<ContainerAllocator> > {
00220 static const char* value()
00221 {
00222 return "3599ef8bd760f4d2153c7264e9291184";
00223 }
00224
00225 static const char* value(const ::orrosplanning::MoveToHandPositionResponse_<ContainerAllocator> &) { return value(); }
00226 static const uint64_t static_value1 = 0x3599ef8bd760f4d2ULL;
00227 static const uint64_t static_value2 = 0x153c7264e9291184ULL;
00228 };
00229
00230 template<class ContainerAllocator>
00231 struct DataType< ::orrosplanning::MoveToHandPositionResponse_<ContainerAllocator> > {
00232 static const char* value()
00233 {
00234 return "orrosplanning/MoveToHandPositionResponse";
00235 }
00236
00237 static const char* value(const ::orrosplanning::MoveToHandPositionResponse_<ContainerAllocator> &) { return value(); }
00238 };
00239
00240 template<class ContainerAllocator>
00241 struct Definition< ::orrosplanning::MoveToHandPositionResponse_<ContainerAllocator> > {
00242 static const char* value()
00243 {
00244 return "trajectory_msgs/JointTrajectory traj\n\
00245 \n\
00246 \n\
00247 ================================================================================\n\
00248 MSG: trajectory_msgs/JointTrajectory\n\
00249 Header header\n\
00250 string[] joint_names\n\
00251 JointTrajectoryPoint[] points\n\
00252 ================================================================================\n\
00253 MSG: std_msgs/Header\n\
00254 # Standard metadata for higher-level stamped data types.\n\
00255 # This is generally used to communicate timestamped data \n\
00256 # in a particular coordinate frame.\n\
00257 # \n\
00258 # sequence ID: consecutively increasing ID \n\
00259 uint32 seq\n\
00260 #Two-integer timestamp that is expressed as:\n\
00261 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00262 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00263 # time-handling sugar is provided by the client library\n\
00264 time stamp\n\
00265 #Frame this data is associated with\n\
00266 # 0: no frame\n\
00267 # 1: global frame\n\
00268 string frame_id\n\
00269 \n\
00270 ================================================================================\n\
00271 MSG: trajectory_msgs/JointTrajectoryPoint\n\
00272 float64[] positions\n\
00273 float64[] velocities\n\
00274 float64[] accelerations\n\
00275 duration time_from_start\n\
00276 ";
00277 }
00278
00279 static const char* value(const ::orrosplanning::MoveToHandPositionResponse_<ContainerAllocator> &) { return value(); }
00280 };
00281
00282 }
00283 }
00284
00285 namespace ros
00286 {
00287 namespace serialization
00288 {
00289
00290 template<class ContainerAllocator> struct Serializer< ::orrosplanning::MoveToHandPositionRequest_<ContainerAllocator> >
00291 {
00292 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00293 {
00294 stream.next(m.hand_frame_id);
00295 stream.next(m.hand_goal);
00296 stream.next(m.manip_name);
00297 stream.next(m.planner);
00298 }
00299
00300 ROS_DECLARE_ALLINONE_SERIALIZER;
00301 };
00302 }
00303 }
00304
00305
00306 namespace ros
00307 {
00308 namespace serialization
00309 {
00310
00311 template<class ContainerAllocator> struct Serializer< ::orrosplanning::MoveToHandPositionResponse_<ContainerAllocator> >
00312 {
00313 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00314 {
00315 stream.next(m.traj);
00316 }
00317
00318 ROS_DECLARE_ALLINONE_SERIALIZER;
00319 };
00320 }
00321 }
00322
00323 namespace ros
00324 {
00325 namespace service_traits
00326 {
00327 template<>
00328 struct MD5Sum<orrosplanning::MoveToHandPosition> {
00329 static const char* value()
00330 {
00331 return "6647c9faa66df7b4a3c457211e5586dc";
00332 }
00333
00334 static const char* value(const orrosplanning::MoveToHandPosition&) { return value(); }
00335 };
00336
00337 template<>
00338 struct DataType<orrosplanning::MoveToHandPosition> {
00339 static const char* value()
00340 {
00341 return "orrosplanning/MoveToHandPosition";
00342 }
00343
00344 static const char* value(const orrosplanning::MoveToHandPosition&) { return value(); }
00345 };
00346
00347 template<class ContainerAllocator>
00348 struct MD5Sum<orrosplanning::MoveToHandPositionRequest_<ContainerAllocator> > {
00349 static const char* value()
00350 {
00351 return "6647c9faa66df7b4a3c457211e5586dc";
00352 }
00353
00354 static const char* value(const orrosplanning::MoveToHandPositionRequest_<ContainerAllocator> &) { return value(); }
00355 };
00356
00357 template<class ContainerAllocator>
00358 struct DataType<orrosplanning::MoveToHandPositionRequest_<ContainerAllocator> > {
00359 static const char* value()
00360 {
00361 return "orrosplanning/MoveToHandPosition";
00362 }
00363
00364 static const char* value(const orrosplanning::MoveToHandPositionRequest_<ContainerAllocator> &) { return value(); }
00365 };
00366
00367 template<class ContainerAllocator>
00368 struct MD5Sum<orrosplanning::MoveToHandPositionResponse_<ContainerAllocator> > {
00369 static const char* value()
00370 {
00371 return "6647c9faa66df7b4a3c457211e5586dc";
00372 }
00373
00374 static const char* value(const orrosplanning::MoveToHandPositionResponse_<ContainerAllocator> &) { return value(); }
00375 };
00376
00377 template<class ContainerAllocator>
00378 struct DataType<orrosplanning::MoveToHandPositionResponse_<ContainerAllocator> > {
00379 static const char* value()
00380 {
00381 return "orrosplanning/MoveToHandPosition";
00382 }
00383
00384 static const char* value(const orrosplanning::MoveToHandPositionResponse_<ContainerAllocator> &) { return value(); }
00385 };
00386
00387 }
00388 }
00389
00390 #endif // ORROSPLANNING_SERVICE_MOVETOHANDPOSITION_H
00391