Go to the documentation of this file.00001
00002 #ifndef PR2_MSGS_SERVICE_SETLASERTRAJCMD_H
00003 #define PR2_MSGS_SERVICE_SETLASERTRAJCMD_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 "pr2_msgs/LaserTrajCmd.h"
00020
00021
00022
00023 namespace pr2_msgs
00024 {
00025 template <class ContainerAllocator>
00026 struct SetLaserTrajCmdRequest_ {
00027 typedef SetLaserTrajCmdRequest_<ContainerAllocator> Type;
00028
00029 SetLaserTrajCmdRequest_()
00030 : command()
00031 {
00032 }
00033
00034 SetLaserTrajCmdRequest_(const ContainerAllocator& _alloc)
00035 : command(_alloc)
00036 {
00037 }
00038
00039 typedef ::pr2_msgs::LaserTrajCmd_<ContainerAllocator> _command_type;
00040 ::pr2_msgs::LaserTrajCmd_<ContainerAllocator> command;
00041
00042
00043 typedef boost::shared_ptr< ::pr2_msgs::SetLaserTrajCmdRequest_<ContainerAllocator> > Ptr;
00044 typedef boost::shared_ptr< ::pr2_msgs::SetLaserTrajCmdRequest_<ContainerAllocator> const> ConstPtr;
00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 };
00047 typedef ::pr2_msgs::SetLaserTrajCmdRequest_<std::allocator<void> > SetLaserTrajCmdRequest;
00048
00049 typedef boost::shared_ptr< ::pr2_msgs::SetLaserTrajCmdRequest> SetLaserTrajCmdRequestPtr;
00050 typedef boost::shared_ptr< ::pr2_msgs::SetLaserTrajCmdRequest const> SetLaserTrajCmdRequestConstPtr;
00051
00052
00053 template <class ContainerAllocator>
00054 struct SetLaserTrajCmdResponse_ {
00055 typedef SetLaserTrajCmdResponse_<ContainerAllocator> Type;
00056
00057 SetLaserTrajCmdResponse_()
00058 : start_time()
00059 {
00060 }
00061
00062 SetLaserTrajCmdResponse_(const ContainerAllocator& _alloc)
00063 : start_time()
00064 {
00065 }
00066
00067 typedef ros::Time _start_time_type;
00068 ros::Time start_time;
00069
00070
00071 typedef boost::shared_ptr< ::pr2_msgs::SetLaserTrajCmdResponse_<ContainerAllocator> > Ptr;
00072 typedef boost::shared_ptr< ::pr2_msgs::SetLaserTrajCmdResponse_<ContainerAllocator> const> ConstPtr;
00073 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00074 };
00075 typedef ::pr2_msgs::SetLaserTrajCmdResponse_<std::allocator<void> > SetLaserTrajCmdResponse;
00076
00077 typedef boost::shared_ptr< ::pr2_msgs::SetLaserTrajCmdResponse> SetLaserTrajCmdResponsePtr;
00078 typedef boost::shared_ptr< ::pr2_msgs::SetLaserTrajCmdResponse const> SetLaserTrajCmdResponseConstPtr;
00079
00080 struct SetLaserTrajCmd
00081 {
00082
00083 typedef SetLaserTrajCmdRequest Request;
00084 typedef SetLaserTrajCmdResponse Response;
00085 Request request;
00086 Response response;
00087
00088 typedef Request RequestType;
00089 typedef Response ResponseType;
00090 };
00091 }
00092
00093 namespace ros
00094 {
00095 namespace message_traits
00096 {
00097 template<class ContainerAllocator> struct IsMessage< ::pr2_msgs::SetLaserTrajCmdRequest_<ContainerAllocator> > : public TrueType {};
00098 template<class ContainerAllocator> struct IsMessage< ::pr2_msgs::SetLaserTrajCmdRequest_<ContainerAllocator> const> : public TrueType {};
00099 template<class ContainerAllocator>
00100 struct MD5Sum< ::pr2_msgs::SetLaserTrajCmdRequest_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "83f915c37d36f61442c752779261e7d4";
00104 }
00105
00106 static const char* value(const ::pr2_msgs::SetLaserTrajCmdRequest_<ContainerAllocator> &) { return value(); }
00107 static const uint64_t static_value1 = 0x83f915c37d36f614ULL;
00108 static const uint64_t static_value2 = 0x42c752779261e7d4ULL;
00109 };
00110
00111 template<class ContainerAllocator>
00112 struct DataType< ::pr2_msgs::SetLaserTrajCmdRequest_<ContainerAllocator> > {
00113 static const char* value()
00114 {
00115 return "pr2_msgs/SetLaserTrajCmdRequest";
00116 }
00117
00118 static const char* value(const ::pr2_msgs::SetLaserTrajCmdRequest_<ContainerAllocator> &) { return value(); }
00119 };
00120
00121 template<class ContainerAllocator>
00122 struct Definition< ::pr2_msgs::SetLaserTrajCmdRequest_<ContainerAllocator> > {
00123 static const char* value()
00124 {
00125 return "pr2_msgs/LaserTrajCmd command\n\
00126 \n\
00127 ================================================================================\n\
00128 MSG: pr2_msgs/LaserTrajCmd\n\
00129 # This message is used to set the profile that the tilt laser controller\n\
00130 # executes.\n\
00131 Header header\n\
00132 string profile # options are currently \"linear\" or \"linear_blended\"\n\
00133 float64[] position # Laser positions\n\
00134 duration[] time_from_start # Times to reach laser positions in seconds\n\
00135 float64 max_velocity # Set <= 0 to use default\n\
00136 float64 max_acceleration # Set <= 0 to use default\n\
00137 \n\
00138 ================================================================================\n\
00139 MSG: std_msgs/Header\n\
00140 # Standard metadata for higher-level stamped data types.\n\
00141 # This is generally used to communicate timestamped data \n\
00142 # in a particular coordinate frame.\n\
00143 # \n\
00144 # sequence ID: consecutively increasing ID \n\
00145 uint32 seq\n\
00146 #Two-integer timestamp that is expressed as:\n\
00147 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00148 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00149 # time-handling sugar is provided by the client library\n\
00150 time stamp\n\
00151 #Frame this data is associated with\n\
00152 # 0: no frame\n\
00153 # 1: global frame\n\
00154 string frame_id\n\
00155 \n\
00156 ";
00157 }
00158
00159 static const char* value(const ::pr2_msgs::SetLaserTrajCmdRequest_<ContainerAllocator> &) { return value(); }
00160 };
00161
00162 }
00163 }
00164
00165
00166 namespace ros
00167 {
00168 namespace message_traits
00169 {
00170 template<class ContainerAllocator> struct IsMessage< ::pr2_msgs::SetLaserTrajCmdResponse_<ContainerAllocator> > : public TrueType {};
00171 template<class ContainerAllocator> struct IsMessage< ::pr2_msgs::SetLaserTrajCmdResponse_<ContainerAllocator> const> : public TrueType {};
00172 template<class ContainerAllocator>
00173 struct MD5Sum< ::pr2_msgs::SetLaserTrajCmdResponse_<ContainerAllocator> > {
00174 static const char* value()
00175 {
00176 return "3888666920054f1ef39d2df7a5d94b02";
00177 }
00178
00179 static const char* value(const ::pr2_msgs::SetLaserTrajCmdResponse_<ContainerAllocator> &) { return value(); }
00180 static const uint64_t static_value1 = 0x3888666920054f1eULL;
00181 static const uint64_t static_value2 = 0xf39d2df7a5d94b02ULL;
00182 };
00183
00184 template<class ContainerAllocator>
00185 struct DataType< ::pr2_msgs::SetLaserTrajCmdResponse_<ContainerAllocator> > {
00186 static const char* value()
00187 {
00188 return "pr2_msgs/SetLaserTrajCmdResponse";
00189 }
00190
00191 static const char* value(const ::pr2_msgs::SetLaserTrajCmdResponse_<ContainerAllocator> &) { return value(); }
00192 };
00193
00194 template<class ContainerAllocator>
00195 struct Definition< ::pr2_msgs::SetLaserTrajCmdResponse_<ContainerAllocator> > {
00196 static const char* value()
00197 {
00198 return "time start_time\n\
00199 \n\
00200 ";
00201 }
00202
00203 static const char* value(const ::pr2_msgs::SetLaserTrajCmdResponse_<ContainerAllocator> &) { return value(); }
00204 };
00205
00206 template<class ContainerAllocator> struct IsFixedSize< ::pr2_msgs::SetLaserTrajCmdResponse_<ContainerAllocator> > : public TrueType {};
00207 }
00208 }
00209
00210 namespace ros
00211 {
00212 namespace serialization
00213 {
00214
00215 template<class ContainerAllocator> struct Serializer< ::pr2_msgs::SetLaserTrajCmdRequest_<ContainerAllocator> >
00216 {
00217 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00218 {
00219 stream.next(m.command);
00220 }
00221
00222 ROS_DECLARE_ALLINONE_SERIALIZER;
00223 };
00224 }
00225 }
00226
00227
00228 namespace ros
00229 {
00230 namespace serialization
00231 {
00232
00233 template<class ContainerAllocator> struct Serializer< ::pr2_msgs::SetLaserTrajCmdResponse_<ContainerAllocator> >
00234 {
00235 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00236 {
00237 stream.next(m.start_time);
00238 }
00239
00240 ROS_DECLARE_ALLINONE_SERIALIZER;
00241 };
00242 }
00243 }
00244
00245 namespace ros
00246 {
00247 namespace service_traits
00248 {
00249 template<>
00250 struct MD5Sum<pr2_msgs::SetLaserTrajCmd> {
00251 static const char* value()
00252 {
00253 return "28fe2ce397611c999952c74a1ea882aa";
00254 }
00255
00256 static const char* value(const pr2_msgs::SetLaserTrajCmd&) { return value(); }
00257 };
00258
00259 template<>
00260 struct DataType<pr2_msgs::SetLaserTrajCmd> {
00261 static const char* value()
00262 {
00263 return "pr2_msgs/SetLaserTrajCmd";
00264 }
00265
00266 static const char* value(const pr2_msgs::SetLaserTrajCmd&) { return value(); }
00267 };
00268
00269 template<class ContainerAllocator>
00270 struct MD5Sum<pr2_msgs::SetLaserTrajCmdRequest_<ContainerAllocator> > {
00271 static const char* value()
00272 {
00273 return "28fe2ce397611c999952c74a1ea882aa";
00274 }
00275
00276 static const char* value(const pr2_msgs::SetLaserTrajCmdRequest_<ContainerAllocator> &) { return value(); }
00277 };
00278
00279 template<class ContainerAllocator>
00280 struct DataType<pr2_msgs::SetLaserTrajCmdRequest_<ContainerAllocator> > {
00281 static const char* value()
00282 {
00283 return "pr2_msgs/SetLaserTrajCmd";
00284 }
00285
00286 static const char* value(const pr2_msgs::SetLaserTrajCmdRequest_<ContainerAllocator> &) { return value(); }
00287 };
00288
00289 template<class ContainerAllocator>
00290 struct MD5Sum<pr2_msgs::SetLaserTrajCmdResponse_<ContainerAllocator> > {
00291 static const char* value()
00292 {
00293 return "28fe2ce397611c999952c74a1ea882aa";
00294 }
00295
00296 static const char* value(const pr2_msgs::SetLaserTrajCmdResponse_<ContainerAllocator> &) { return value(); }
00297 };
00298
00299 template<class ContainerAllocator>
00300 struct DataType<pr2_msgs::SetLaserTrajCmdResponse_<ContainerAllocator> > {
00301 static const char* value()
00302 {
00303 return "pr2_msgs/SetLaserTrajCmd";
00304 }
00305
00306 static const char* value(const pr2_msgs::SetLaserTrajCmdResponse_<ContainerAllocator> &) { return value(); }
00307 };
00308
00309 }
00310 }
00311
00312 #endif // PR2_MSGS_SERVICE_SETLASERTRAJCMD_H
00313