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