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