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