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