Go to the documentation of this file.00001
00002 #ifndef HECTOR_ROLL_PITCH_STABILIZER_SERVICE_DOSCAN_H
00003 #define HECTOR_ROLL_PITCH_STABILIZER_SERVICE_DOSCAN_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
00020
00021
00022 namespace hector_roll_pitch_stabilizer
00023 {
00024 template <class ContainerAllocator>
00025 struct DoScanRequest_ {
00026 typedef DoScanRequest_<ContainerAllocator> Type;
00027
00028 DoScanRequest_()
00029 : min_angle_pitch(0.0)
00030 , max_angle_pitch(0.0)
00031 , min_angle_roll(0.0)
00032 , max_angle_roll(0.0)
00033 , step(0.0)
00034 , sleep_time_ms(0)
00035 {
00036 }
00037
00038 DoScanRequest_(const ContainerAllocator& _alloc)
00039 : min_angle_pitch(0.0)
00040 , max_angle_pitch(0.0)
00041 , min_angle_roll(0.0)
00042 , max_angle_roll(0.0)
00043 , step(0.0)
00044 , sleep_time_ms(0)
00045 {
00046 }
00047
00048 typedef double _min_angle_pitch_type;
00049 double min_angle_pitch;
00050
00051 typedef double _max_angle_pitch_type;
00052 double max_angle_pitch;
00053
00054 typedef double _min_angle_roll_type;
00055 double min_angle_roll;
00056
00057 typedef double _max_angle_roll_type;
00058 double max_angle_roll;
00059
00060 typedef double _step_type;
00061 double step;
00062
00063 typedef int64_t _sleep_time_ms_type;
00064 int64_t sleep_time_ms;
00065
00066
00067 typedef boost::shared_ptr< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > Ptr;
00068 typedef boost::shared_ptr< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> const> ConstPtr;
00069 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00070 };
00071 typedef ::hector_roll_pitch_stabilizer::DoScanRequest_<std::allocator<void> > DoScanRequest;
00072
00073 typedef boost::shared_ptr< ::hector_roll_pitch_stabilizer::DoScanRequest> DoScanRequestPtr;
00074 typedef boost::shared_ptr< ::hector_roll_pitch_stabilizer::DoScanRequest const> DoScanRequestConstPtr;
00075
00076
00077
00078 template <class ContainerAllocator>
00079 struct DoScanResponse_ {
00080 typedef DoScanResponse_<ContainerAllocator> Type;
00081
00082 DoScanResponse_()
00083 {
00084 }
00085
00086 DoScanResponse_(const ContainerAllocator& _alloc)
00087 {
00088 }
00089
00090
00091 typedef boost::shared_ptr< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > Ptr;
00092 typedef boost::shared_ptr< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> const> ConstPtr;
00093 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00094 };
00095 typedef ::hector_roll_pitch_stabilizer::DoScanResponse_<std::allocator<void> > DoScanResponse;
00096
00097 typedef boost::shared_ptr< ::hector_roll_pitch_stabilizer::DoScanResponse> DoScanResponsePtr;
00098 typedef boost::shared_ptr< ::hector_roll_pitch_stabilizer::DoScanResponse const> DoScanResponseConstPtr;
00099
00100
00101 struct DoScan
00102 {
00103
00104 typedef DoScanRequest Request;
00105 typedef DoScanResponse Response;
00106 Request request;
00107 Response response;
00108
00109 typedef Request RequestType;
00110 typedef Response ResponseType;
00111 };
00112 }
00113
00114 namespace ros
00115 {
00116 namespace message_traits
00117 {
00118 template<class ContainerAllocator> struct IsMessage< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > : public TrueType {};
00119 template<class ContainerAllocator> struct IsMessage< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> const> : public TrueType {};
00120 template<class ContainerAllocator>
00121 struct MD5Sum< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > {
00122 static const char* value()
00123 {
00124 return "a81b0d7609ba432f396940f4b146f79c";
00125 }
00126
00127 static const char* value(const ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> &) { return value(); }
00128 static const uint64_t static_value1 = 0xa81b0d7609ba432fULL;
00129 static const uint64_t static_value2 = 0x396940f4b146f79cULL;
00130 };
00131
00132 template<class ContainerAllocator>
00133 struct DataType< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > {
00134 static const char* value()
00135 {
00136 return "hector_roll_pitch_stabilizer/DoScanRequest";
00137 }
00138
00139 static const char* value(const ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> &) { return value(); }
00140 };
00141
00142 template<class ContainerAllocator>
00143 struct Definition< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > {
00144 static const char* value()
00145 {
00146 return "float64 min_angle_pitch\n\
00147 float64 max_angle_pitch\n\
00148 float64 min_angle_roll\n\
00149 float64 max_angle_roll\n\
00150 float64 step\n\
00151 int64 sleep_time_ms\n\
00152 \n\
00153 ";
00154 }
00155
00156 static const char* value(const ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> &) { return value(); }
00157 };
00158
00159 template<class ContainerAllocator> struct IsFixedSize< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > : public TrueType {};
00160 }
00161 }
00162
00163
00164 namespace ros
00165 {
00166 namespace message_traits
00167 {
00168 template<class ContainerAllocator> struct IsMessage< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > : public TrueType {};
00169 template<class ContainerAllocator> struct IsMessage< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> const> : public TrueType {};
00170 template<class ContainerAllocator>
00171 struct MD5Sum< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > {
00172 static const char* value()
00173 {
00174 return "d41d8cd98f00b204e9800998ecf8427e";
00175 }
00176
00177 static const char* value(const ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> &) { return value(); }
00178 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00179 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00180 };
00181
00182 template<class ContainerAllocator>
00183 struct DataType< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > {
00184 static const char* value()
00185 {
00186 return "hector_roll_pitch_stabilizer/DoScanResponse";
00187 }
00188
00189 static const char* value(const ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> &) { return value(); }
00190 };
00191
00192 template<class ContainerAllocator>
00193 struct Definition< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > {
00194 static const char* value()
00195 {
00196 return "\n\
00197 \n\
00198 ";
00199 }
00200
00201 static const char* value(const ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> &) { return value(); }
00202 };
00203
00204 template<class ContainerAllocator> struct IsFixedSize< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > : public TrueType {};
00205 }
00206 }
00207
00208 namespace ros
00209 {
00210 namespace serialization
00211 {
00212
00213 template<class ContainerAllocator> struct Serializer< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> >
00214 {
00215 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00216 {
00217 stream.next(m.min_angle_pitch);
00218 stream.next(m.max_angle_pitch);
00219 stream.next(m.min_angle_roll);
00220 stream.next(m.max_angle_roll);
00221 stream.next(m.step);
00222 stream.next(m.sleep_time_ms);
00223 }
00224
00225 ROS_DECLARE_ALLINONE_SERIALIZER;
00226 };
00227 }
00228 }
00229
00230
00231 namespace ros
00232 {
00233 namespace serialization
00234 {
00235
00236 template<class ContainerAllocator> struct Serializer< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> >
00237 {
00238 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00239 {
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<hector_roll_pitch_stabilizer::DoScan> {
00253 static const char* value()
00254 {
00255 return "a81b0d7609ba432f396940f4b146f79c";
00256 }
00257
00258 static const char* value(const hector_roll_pitch_stabilizer::DoScan&) { return value(); }
00259 };
00260
00261 template<>
00262 struct DataType<hector_roll_pitch_stabilizer::DoScan> {
00263 static const char* value()
00264 {
00265 return "hector_roll_pitch_stabilizer/DoScan";
00266 }
00267
00268 static const char* value(const hector_roll_pitch_stabilizer::DoScan&) { return value(); }
00269 };
00270
00271 template<class ContainerAllocator>
00272 struct MD5Sum<hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > {
00273 static const char* value()
00274 {
00275 return "a81b0d7609ba432f396940f4b146f79c";
00276 }
00277
00278 static const char* value(const hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> &) { return value(); }
00279 };
00280
00281 template<class ContainerAllocator>
00282 struct DataType<hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > {
00283 static const char* value()
00284 {
00285 return "hector_roll_pitch_stabilizer/DoScan";
00286 }
00287
00288 static const char* value(const hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> &) { return value(); }
00289 };
00290
00291 template<class ContainerAllocator>
00292 struct MD5Sum<hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > {
00293 static const char* value()
00294 {
00295 return "a81b0d7609ba432f396940f4b146f79c";
00296 }
00297
00298 static const char* value(const hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> &) { return value(); }
00299 };
00300
00301 template<class ContainerAllocator>
00302 struct DataType<hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > {
00303 static const char* value()
00304 {
00305 return "hector_roll_pitch_stabilizer/DoScan";
00306 }
00307
00308 static const char* value(const hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> &) { return value(); }
00309 };
00310
00311 }
00312 }
00313
00314 #endif // HECTOR_ROLL_PITCH_STABILIZER_SERVICE_DOSCAN_H
00315