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 template <class ContainerAllocator>
00078 struct DoScanResponse_ {
00079 typedef DoScanResponse_<ContainerAllocator> Type;
00080
00081 DoScanResponse_()
00082 {
00083 }
00084
00085 DoScanResponse_(const ContainerAllocator& _alloc)
00086 {
00087 }
00088
00089
00090 typedef boost::shared_ptr< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > Ptr;
00091 typedef boost::shared_ptr< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> const> ConstPtr;
00092 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00093 };
00094 typedef ::hector_roll_pitch_stabilizer::DoScanResponse_<std::allocator<void> > DoScanResponse;
00095
00096 typedef boost::shared_ptr< ::hector_roll_pitch_stabilizer::DoScanResponse> DoScanResponsePtr;
00097 typedef boost::shared_ptr< ::hector_roll_pitch_stabilizer::DoScanResponse const> DoScanResponseConstPtr;
00098
00099 struct DoScan
00100 {
00101
00102 typedef DoScanRequest Request;
00103 typedef DoScanResponse Response;
00104 Request request;
00105 Response response;
00106
00107 typedef Request RequestType;
00108 typedef Response ResponseType;
00109 };
00110 }
00111
00112 namespace ros
00113 {
00114 namespace message_traits
00115 {
00116 template<class ContainerAllocator> struct IsMessage< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > : public TrueType {};
00117 template<class ContainerAllocator> struct IsMessage< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> const> : public TrueType {};
00118 template<class ContainerAllocator>
00119 struct MD5Sum< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > {
00120 static const char* value()
00121 {
00122 return "a81b0d7609ba432f396940f4b146f79c";
00123 }
00124
00125 static const char* value(const ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> &) { return value(); }
00126 static const uint64_t static_value1 = 0xa81b0d7609ba432fULL;
00127 static const uint64_t static_value2 = 0x396940f4b146f79cULL;
00128 };
00129
00130 template<class ContainerAllocator>
00131 struct DataType< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > {
00132 static const char* value()
00133 {
00134 return "hector_roll_pitch_stabilizer/DoScanRequest";
00135 }
00136
00137 static const char* value(const ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> &) { return value(); }
00138 };
00139
00140 template<class ContainerAllocator>
00141 struct Definition< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > {
00142 static const char* value()
00143 {
00144 return "float64 min_angle_pitch\n\
00145 float64 max_angle_pitch\n\
00146 float64 min_angle_roll\n\
00147 float64 max_angle_roll\n\
00148 float64 step\n\
00149 int64 sleep_time_ms\n\
00150 \n\
00151 ";
00152 }
00153
00154 static const char* value(const ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> &) { return value(); }
00155 };
00156
00157 template<class ContainerAllocator> struct IsFixedSize< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > : public TrueType {};
00158 }
00159 }
00160
00161
00162 namespace ros
00163 {
00164 namespace message_traits
00165 {
00166 template<class ContainerAllocator> struct IsMessage< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > : public TrueType {};
00167 template<class ContainerAllocator> struct IsMessage< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> const> : public TrueType {};
00168 template<class ContainerAllocator>
00169 struct MD5Sum< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > {
00170 static const char* value()
00171 {
00172 return "d41d8cd98f00b204e9800998ecf8427e";
00173 }
00174
00175 static const char* value(const ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> &) { return value(); }
00176 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00177 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00178 };
00179
00180 template<class ContainerAllocator>
00181 struct DataType< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > {
00182 static const char* value()
00183 {
00184 return "hector_roll_pitch_stabilizer/DoScanResponse";
00185 }
00186
00187 static const char* value(const ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> &) { return value(); }
00188 };
00189
00190 template<class ContainerAllocator>
00191 struct Definition< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > {
00192 static const char* value()
00193 {
00194 return "\n\
00195 \n\
00196 ";
00197 }
00198
00199 static const char* value(const ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> &) { return value(); }
00200 };
00201
00202 template<class ContainerAllocator> struct IsFixedSize< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > : public TrueType {};
00203 }
00204 }
00205
00206 namespace ros
00207 {
00208 namespace serialization
00209 {
00210
00211 template<class ContainerAllocator> struct Serializer< ::hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> >
00212 {
00213 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00214 {
00215 stream.next(m.min_angle_pitch);
00216 stream.next(m.max_angle_pitch);
00217 stream.next(m.min_angle_roll);
00218 stream.next(m.max_angle_roll);
00219 stream.next(m.step);
00220 stream.next(m.sleep_time_ms);
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< ::hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> >
00235 {
00236 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00237 {
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<hector_roll_pitch_stabilizer::DoScan> {
00251 static const char* value()
00252 {
00253 return "a81b0d7609ba432f396940f4b146f79c";
00254 }
00255
00256 static const char* value(const hector_roll_pitch_stabilizer::DoScan&) { return value(); }
00257 };
00258
00259 template<>
00260 struct DataType<hector_roll_pitch_stabilizer::DoScan> {
00261 static const char* value()
00262 {
00263 return "hector_roll_pitch_stabilizer/DoScan";
00264 }
00265
00266 static const char* value(const hector_roll_pitch_stabilizer::DoScan&) { return value(); }
00267 };
00268
00269 template<class ContainerAllocator>
00270 struct MD5Sum<hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > {
00271 static const char* value()
00272 {
00273 return "a81b0d7609ba432f396940f4b146f79c";
00274 }
00275
00276 static const char* value(const hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> &) { return value(); }
00277 };
00278
00279 template<class ContainerAllocator>
00280 struct DataType<hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> > {
00281 static const char* value()
00282 {
00283 return "hector_roll_pitch_stabilizer/DoScan";
00284 }
00285
00286 static const char* value(const hector_roll_pitch_stabilizer::DoScanRequest_<ContainerAllocator> &) { return value(); }
00287 };
00288
00289 template<class ContainerAllocator>
00290 struct MD5Sum<hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > {
00291 static const char* value()
00292 {
00293 return "a81b0d7609ba432f396940f4b146f79c";
00294 }
00295
00296 static const char* value(const hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> &) { return value(); }
00297 };
00298
00299 template<class ContainerAllocator>
00300 struct DataType<hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> > {
00301 static const char* value()
00302 {
00303 return "hector_roll_pitch_stabilizer/DoScan";
00304 }
00305
00306 static const char* value(const hector_roll_pitch_stabilizer::DoScanResponse_<ContainerAllocator> &) { return value(); }
00307 };
00308
00309 }
00310 }
00311
00312 #endif // HECTOR_ROLL_PITCH_STABILIZER_SERVICE_DOSCAN_H
00313