MavCtrlSrv.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-asctec_mav_framework/doc_stacks/2014-01-07_11-03-25.838445/asctec_mav_framework/asctec_hl_comm/srv/MavCtrlSrv.srv */
00002 #ifndef ASCTEC_HL_COMM_SERVICE_MAVCTRLSRV_H
00003 #define ASCTEC_HL_COMM_SERVICE_MAVCTRLSRV_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 "asctec_hl_comm/mav_ctrl.h"
00020 
00021 
00022 #include "asctec_hl_comm/mav_ctrl.h"
00023 
00024 namespace asctec_hl_comm
00025 {
00026 template <class ContainerAllocator>
00027 struct MavCtrlSrvRequest_ {
00028   typedef MavCtrlSrvRequest_<ContainerAllocator> Type;
00029 
00030   MavCtrlSrvRequest_()
00031   : ctrl()
00032   {
00033   }
00034 
00035   MavCtrlSrvRequest_(const ContainerAllocator& _alloc)
00036   : ctrl(_alloc)
00037   {
00038   }
00039 
00040   typedef  ::asctec_hl_comm::mav_ctrl_<ContainerAllocator>  _ctrl_type;
00041    ::asctec_hl_comm::mav_ctrl_<ContainerAllocator>  ctrl;
00042 
00043 
00044   typedef boost::shared_ptr< ::asctec_hl_comm::MavCtrlSrvRequest_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::asctec_hl_comm::MavCtrlSrvRequest_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct MavCtrlSrvRequest
00048 typedef  ::asctec_hl_comm::MavCtrlSrvRequest_<std::allocator<void> > MavCtrlSrvRequest;
00049 
00050 typedef boost::shared_ptr< ::asctec_hl_comm::MavCtrlSrvRequest> MavCtrlSrvRequestPtr;
00051 typedef boost::shared_ptr< ::asctec_hl_comm::MavCtrlSrvRequest const> MavCtrlSrvRequestConstPtr;
00052 
00053 
00054 template <class ContainerAllocator>
00055 struct MavCtrlSrvResponse_ {
00056   typedef MavCtrlSrvResponse_<ContainerAllocator> Type;
00057 
00058   MavCtrlSrvResponse_()
00059   : ctrl_result()
00060   {
00061   }
00062 
00063   MavCtrlSrvResponse_(const ContainerAllocator& _alloc)
00064   : ctrl_result(_alloc)
00065   {
00066   }
00067 
00068   typedef  ::asctec_hl_comm::mav_ctrl_<ContainerAllocator>  _ctrl_result_type;
00069    ::asctec_hl_comm::mav_ctrl_<ContainerAllocator>  ctrl_result;
00070 
00071 
00072   typedef boost::shared_ptr< ::asctec_hl_comm::MavCtrlSrvResponse_<ContainerAllocator> > Ptr;
00073   typedef boost::shared_ptr< ::asctec_hl_comm::MavCtrlSrvResponse_<ContainerAllocator>  const> ConstPtr;
00074   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00075 }; // struct MavCtrlSrvResponse
00076 typedef  ::asctec_hl_comm::MavCtrlSrvResponse_<std::allocator<void> > MavCtrlSrvResponse;
00077 
00078 typedef boost::shared_ptr< ::asctec_hl_comm::MavCtrlSrvResponse> MavCtrlSrvResponsePtr;
00079 typedef boost::shared_ptr< ::asctec_hl_comm::MavCtrlSrvResponse const> MavCtrlSrvResponseConstPtr;
00080 
00081 struct MavCtrlSrv
00082 {
00083 
00084 typedef MavCtrlSrvRequest Request;
00085 typedef MavCtrlSrvResponse Response;
00086 Request request;
00087 Response response;
00088 
00089 typedef Request RequestType;
00090 typedef Response ResponseType;
00091 }; // struct MavCtrlSrv
00092 } // namespace asctec_hl_comm
00093 
00094 namespace ros
00095 {
00096 namespace message_traits
00097 {
00098 template<class ContainerAllocator> struct IsMessage< ::asctec_hl_comm::MavCtrlSrvRequest_<ContainerAllocator> > : public TrueType {};
00099 template<class ContainerAllocator> struct IsMessage< ::asctec_hl_comm::MavCtrlSrvRequest_<ContainerAllocator>  const> : public TrueType {};
00100 template<class ContainerAllocator>
00101 struct MD5Sum< ::asctec_hl_comm::MavCtrlSrvRequest_<ContainerAllocator> > {
00102   static const char* value() 
00103   {
00104     return "38a627ff8fcd6d0f534f521aa37786af";
00105   }
00106 
00107   static const char* value(const  ::asctec_hl_comm::MavCtrlSrvRequest_<ContainerAllocator> &) { return value(); } 
00108   static const uint64_t static_value1 = 0x38a627ff8fcd6d0fULL;
00109   static const uint64_t static_value2 = 0x534f521aa37786afULL;
00110 };
00111 
00112 template<class ContainerAllocator>
00113 struct DataType< ::asctec_hl_comm::MavCtrlSrvRequest_<ContainerAllocator> > {
00114   static const char* value() 
00115   {
00116     return "asctec_hl_comm/MavCtrlSrvRequest";
00117   }
00118 
00119   static const char* value(const  ::asctec_hl_comm::MavCtrlSrvRequest_<ContainerAllocator> &) { return value(); } 
00120 };
00121 
00122 template<class ContainerAllocator>
00123 struct Definition< ::asctec_hl_comm::MavCtrlSrvRequest_<ContainerAllocator> > {
00124   static const char* value() 
00125   {
00126     return "mav_ctrl ctrl\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: asctec_hl_comm/mav_ctrl\n\
00130 Header header\n\
00131 \n\
00132 int8        type        #message type\n\
00133 \n\
00134 # control commands, all units in SI units !!!\n\
00135 # There are 3 operating modes of the helicopter:\n\
00136 # 1. Acceleration: x, y, z correspond to x_dotdot etc... with the exception that yaw is angular velocity\n\
00137 #    Inputs must be in body-coordinates\n\
00138 #    Currently x~pitch, y~roll, z~thrust, units in rad and rad/s for yaw\n\
00139 # 2. Velocity: x, y, z, yaw correspond to x_dot etc...\n\
00140 #    Vehicle must have it's own pose estimation e.g. vision/GPS\n\
00141 #    Inputs must be in body-coordinates\n\
00142 #    Units in m/s and rad/s respectively\n\
00143 # 3. Position\n\
00144 #    Vehicle must have it's own pose estimation e.g. vision/GPS\n\
00145 #    Inputs in fixed coordinate system\n\
00146 #    v_max_* is only valid for this mode and limits the velocity a vehicle approaches the waypoint\n\
00147 \n\
00148 float32     x\n\
00149 float32     y\n\
00150 float32     z\n\
00151 float32     yaw\n\
00152 float32     v_max_xy\n\
00153 float32     v_max_z\n\
00154 \n\
00155 int8 acceleration = 1\n\
00156 int8 velocity = 2\n\
00157 int8 position = 3\n\
00158 int8 velocity_body = 4\n\
00159 int8 position_body = 5\n\
00160 \n\
00161 ================================================================================\n\
00162 MSG: std_msgs/Header\n\
00163 # Standard metadata for higher-level stamped data types.\n\
00164 # This is generally used to communicate timestamped data \n\
00165 # in a particular coordinate frame.\n\
00166 # \n\
00167 # sequence ID: consecutively increasing ID \n\
00168 uint32 seq\n\
00169 #Two-integer timestamp that is expressed as:\n\
00170 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00171 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00172 # time-handling sugar is provided by the client library\n\
00173 time stamp\n\
00174 #Frame this data is associated with\n\
00175 # 0: no frame\n\
00176 # 1: global frame\n\
00177 string frame_id\n\
00178 \n\
00179 ";
00180   }
00181 
00182   static const char* value(const  ::asctec_hl_comm::MavCtrlSrvRequest_<ContainerAllocator> &) { return value(); } 
00183 };
00184 
00185 } // namespace message_traits
00186 } // namespace ros
00187 
00188 
00189 namespace ros
00190 {
00191 namespace message_traits
00192 {
00193 template<class ContainerAllocator> struct IsMessage< ::asctec_hl_comm::MavCtrlSrvResponse_<ContainerAllocator> > : public TrueType {};
00194 template<class ContainerAllocator> struct IsMessage< ::asctec_hl_comm::MavCtrlSrvResponse_<ContainerAllocator>  const> : public TrueType {};
00195 template<class ContainerAllocator>
00196 struct MD5Sum< ::asctec_hl_comm::MavCtrlSrvResponse_<ContainerAllocator> > {
00197   static const char* value() 
00198   {
00199     return "b903b08125ca08bbbb20320238af4215";
00200   }
00201 
00202   static const char* value(const  ::asctec_hl_comm::MavCtrlSrvResponse_<ContainerAllocator> &) { return value(); } 
00203   static const uint64_t static_value1 = 0xb903b08125ca08bbULL;
00204   static const uint64_t static_value2 = 0xbb20320238af4215ULL;
00205 };
00206 
00207 template<class ContainerAllocator>
00208 struct DataType< ::asctec_hl_comm::MavCtrlSrvResponse_<ContainerAllocator> > {
00209   static const char* value() 
00210   {
00211     return "asctec_hl_comm/MavCtrlSrvResponse";
00212   }
00213 
00214   static const char* value(const  ::asctec_hl_comm::MavCtrlSrvResponse_<ContainerAllocator> &) { return value(); } 
00215 };
00216 
00217 template<class ContainerAllocator>
00218 struct Definition< ::asctec_hl_comm::MavCtrlSrvResponse_<ContainerAllocator> > {
00219   static const char* value() 
00220   {
00221     return "mav_ctrl ctrl_result\n\
00222 \n\
00223 ================================================================================\n\
00224 MSG: asctec_hl_comm/mav_ctrl\n\
00225 Header header\n\
00226 \n\
00227 int8        type        #message type\n\
00228 \n\
00229 # control commands, all units in SI units !!!\n\
00230 # There are 3 operating modes of the helicopter:\n\
00231 # 1. Acceleration: x, y, z correspond to x_dotdot etc... with the exception that yaw is angular velocity\n\
00232 #    Inputs must be in body-coordinates\n\
00233 #    Currently x~pitch, y~roll, z~thrust, units in rad and rad/s for yaw\n\
00234 # 2. Velocity: x, y, z, yaw correspond to x_dot etc...\n\
00235 #    Vehicle must have it's own pose estimation e.g. vision/GPS\n\
00236 #    Inputs must be in body-coordinates\n\
00237 #    Units in m/s and rad/s respectively\n\
00238 # 3. Position\n\
00239 #    Vehicle must have it's own pose estimation e.g. vision/GPS\n\
00240 #    Inputs in fixed coordinate system\n\
00241 #    v_max_* is only valid for this mode and limits the velocity a vehicle approaches the waypoint\n\
00242 \n\
00243 float32     x\n\
00244 float32     y\n\
00245 float32     z\n\
00246 float32     yaw\n\
00247 float32     v_max_xy\n\
00248 float32     v_max_z\n\
00249 \n\
00250 int8 acceleration = 1\n\
00251 int8 velocity = 2\n\
00252 int8 position = 3\n\
00253 int8 velocity_body = 4\n\
00254 int8 position_body = 5\n\
00255 \n\
00256 ================================================================================\n\
00257 MSG: std_msgs/Header\n\
00258 # Standard metadata for higher-level stamped data types.\n\
00259 # This is generally used to communicate timestamped data \n\
00260 # in a particular coordinate frame.\n\
00261 # \n\
00262 # sequence ID: consecutively increasing ID \n\
00263 uint32 seq\n\
00264 #Two-integer timestamp that is expressed as:\n\
00265 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00266 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00267 # time-handling sugar is provided by the client library\n\
00268 time stamp\n\
00269 #Frame this data is associated with\n\
00270 # 0: no frame\n\
00271 # 1: global frame\n\
00272 string frame_id\n\
00273 \n\
00274 ";
00275   }
00276 
00277   static const char* value(const  ::asctec_hl_comm::MavCtrlSrvResponse_<ContainerAllocator> &) { return value(); } 
00278 };
00279 
00280 } // namespace message_traits
00281 } // namespace ros
00282 
00283 namespace ros
00284 {
00285 namespace serialization
00286 {
00287 
00288 template<class ContainerAllocator> struct Serializer< ::asctec_hl_comm::MavCtrlSrvRequest_<ContainerAllocator> >
00289 {
00290   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00291   {
00292     stream.next(m.ctrl);
00293   }
00294 
00295   ROS_DECLARE_ALLINONE_SERIALIZER;
00296 }; // struct MavCtrlSrvRequest_
00297 } // namespace serialization
00298 } // namespace ros
00299 
00300 
00301 namespace ros
00302 {
00303 namespace serialization
00304 {
00305 
00306 template<class ContainerAllocator> struct Serializer< ::asctec_hl_comm::MavCtrlSrvResponse_<ContainerAllocator> >
00307 {
00308   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00309   {
00310     stream.next(m.ctrl_result);
00311   }
00312 
00313   ROS_DECLARE_ALLINONE_SERIALIZER;
00314 }; // struct MavCtrlSrvResponse_
00315 } // namespace serialization
00316 } // namespace ros
00317 
00318 namespace ros
00319 {
00320 namespace service_traits
00321 {
00322 template<>
00323 struct MD5Sum<asctec_hl_comm::MavCtrlSrv> {
00324   static const char* value() 
00325   {
00326     return "ed4ced4e777c3a84e6602a79aaabcdfe";
00327   }
00328 
00329   static const char* value(const asctec_hl_comm::MavCtrlSrv&) { return value(); } 
00330 };
00331 
00332 template<>
00333 struct DataType<asctec_hl_comm::MavCtrlSrv> {
00334   static const char* value() 
00335   {
00336     return "asctec_hl_comm/MavCtrlSrv";
00337   }
00338 
00339   static const char* value(const asctec_hl_comm::MavCtrlSrv&) { return value(); } 
00340 };
00341 
00342 template<class ContainerAllocator>
00343 struct MD5Sum<asctec_hl_comm::MavCtrlSrvRequest_<ContainerAllocator> > {
00344   static const char* value() 
00345   {
00346     return "ed4ced4e777c3a84e6602a79aaabcdfe";
00347   }
00348 
00349   static const char* value(const asctec_hl_comm::MavCtrlSrvRequest_<ContainerAllocator> &) { return value(); } 
00350 };
00351 
00352 template<class ContainerAllocator>
00353 struct DataType<asctec_hl_comm::MavCtrlSrvRequest_<ContainerAllocator> > {
00354   static const char* value() 
00355   {
00356     return "asctec_hl_comm/MavCtrlSrv";
00357   }
00358 
00359   static const char* value(const asctec_hl_comm::MavCtrlSrvRequest_<ContainerAllocator> &) { return value(); } 
00360 };
00361 
00362 template<class ContainerAllocator>
00363 struct MD5Sum<asctec_hl_comm::MavCtrlSrvResponse_<ContainerAllocator> > {
00364   static const char* value() 
00365   {
00366     return "ed4ced4e777c3a84e6602a79aaabcdfe";
00367   }
00368 
00369   static const char* value(const asctec_hl_comm::MavCtrlSrvResponse_<ContainerAllocator> &) { return value(); } 
00370 };
00371 
00372 template<class ContainerAllocator>
00373 struct DataType<asctec_hl_comm::MavCtrlSrvResponse_<ContainerAllocator> > {
00374   static const char* value() 
00375   {
00376     return "asctec_hl_comm/MavCtrlSrv";
00377   }
00378 
00379   static const char* value(const asctec_hl_comm::MavCtrlSrvResponse_<ContainerAllocator> &) { return value(); } 
00380 };
00381 
00382 } // namespace service_traits
00383 } // namespace ros
00384 
00385 #endif // ASCTEC_HL_COMM_SERVICE_MAVCTRLSRV_H
00386 


asctec_hl_comm
Author(s): Markus Achtelik, Michael Achtelik, Stephan Weiss, Laurent Kneip
autogenerated on Tue Jan 7 2014 11:05:05