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