mav_state.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/msg/mav_state.msg */
00002 #ifndef ASCTEC_HL_COMM_MESSAGE_MAV_STATE_H
00003 #define ASCTEC_HL_COMM_MESSAGE_MAV_STATE_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 "std_msgs/Header.h"
00018 #include "geometry_msgs/Pose.h"
00019 #include "geometry_msgs/Vector3.h"
00020 
00021 namespace asctec_hl_comm
00022 {
00023 template <class ContainerAllocator>
00024 struct mav_state_ {
00025   typedef mav_state_<ContainerAllocator> Type;
00026 
00027   mav_state_()
00028   : header()
00029   , pose()
00030   , velocity()
00031   {
00032   }
00033 
00034   mav_state_(const ContainerAllocator& _alloc)
00035   : header(_alloc)
00036   , pose(_alloc)
00037   , velocity(_alloc)
00038   {
00039   }
00040 
00041   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00042    ::std_msgs::Header_<ContainerAllocator>  header;
00043 
00044   typedef  ::geometry_msgs::Pose_<ContainerAllocator>  _pose_type;
00045    ::geometry_msgs::Pose_<ContainerAllocator>  pose;
00046 
00047   typedef  ::geometry_msgs::Vector3_<ContainerAllocator>  _velocity_type;
00048    ::geometry_msgs::Vector3_<ContainerAllocator>  velocity;
00049 
00050 
00051   typedef boost::shared_ptr< ::asctec_hl_comm::mav_state_<ContainerAllocator> > Ptr;
00052   typedef boost::shared_ptr< ::asctec_hl_comm::mav_state_<ContainerAllocator>  const> ConstPtr;
00053   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00054 }; // struct mav_state
00055 typedef  ::asctec_hl_comm::mav_state_<std::allocator<void> > mav_state;
00056 
00057 typedef boost::shared_ptr< ::asctec_hl_comm::mav_state> mav_statePtr;
00058 typedef boost::shared_ptr< ::asctec_hl_comm::mav_state const> mav_stateConstPtr;
00059 
00060 
00061 template<typename ContainerAllocator>
00062 std::ostream& operator<<(std::ostream& s, const  ::asctec_hl_comm::mav_state_<ContainerAllocator> & v)
00063 {
00064   ros::message_operations::Printer< ::asctec_hl_comm::mav_state_<ContainerAllocator> >::stream(s, "", v);
00065   return s;}
00066 
00067 } // namespace asctec_hl_comm
00068 
00069 namespace ros
00070 {
00071 namespace message_traits
00072 {
00073 template<class ContainerAllocator> struct IsMessage< ::asctec_hl_comm::mav_state_<ContainerAllocator> > : public TrueType {};
00074 template<class ContainerAllocator> struct IsMessage< ::asctec_hl_comm::mav_state_<ContainerAllocator>  const> : public TrueType {};
00075 template<class ContainerAllocator>
00076 struct MD5Sum< ::asctec_hl_comm::mav_state_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "e034f695cee32efa98d5cb7e960000e2";
00080   }
00081 
00082   static const char* value(const  ::asctec_hl_comm::mav_state_<ContainerAllocator> &) { return value(); } 
00083   static const uint64_t static_value1 = 0xe034f695cee32efaULL;
00084   static const uint64_t static_value2 = 0x98d5cb7e960000e2ULL;
00085 };
00086 
00087 template<class ContainerAllocator>
00088 struct DataType< ::asctec_hl_comm::mav_state_<ContainerAllocator> > {
00089   static const char* value() 
00090   {
00091     return "asctec_hl_comm/mav_state";
00092   }
00093 
00094   static const char* value(const  ::asctec_hl_comm::mav_state_<ContainerAllocator> &) { return value(); } 
00095 };
00096 
00097 template<class ContainerAllocator>
00098 struct Definition< ::asctec_hl_comm::mav_state_<ContainerAllocator> > {
00099   static const char* value() 
00100   {
00101     return "Header header\n\
00102 geometry_msgs/Pose          pose\n\
00103 geometry_msgs/Vector3       velocity\n\
00104 ================================================================================\n\
00105 MSG: std_msgs/Header\n\
00106 # Standard metadata for higher-level stamped data types.\n\
00107 # This is generally used to communicate timestamped data \n\
00108 # in a particular coordinate frame.\n\
00109 # \n\
00110 # sequence ID: consecutively increasing ID \n\
00111 uint32 seq\n\
00112 #Two-integer timestamp that is expressed as:\n\
00113 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00114 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00115 # time-handling sugar is provided by the client library\n\
00116 time stamp\n\
00117 #Frame this data is associated with\n\
00118 # 0: no frame\n\
00119 # 1: global frame\n\
00120 string frame_id\n\
00121 \n\
00122 ================================================================================\n\
00123 MSG: geometry_msgs/Pose\n\
00124 # A representation of pose in free space, composed of postion and orientation. \n\
00125 Point position\n\
00126 Quaternion orientation\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: geometry_msgs/Point\n\
00130 # This contains the position of a point in free space\n\
00131 float64 x\n\
00132 float64 y\n\
00133 float64 z\n\
00134 \n\
00135 ================================================================================\n\
00136 MSG: geometry_msgs/Quaternion\n\
00137 # This represents an orientation in free space in quaternion form.\n\
00138 \n\
00139 float64 x\n\
00140 float64 y\n\
00141 float64 z\n\
00142 float64 w\n\
00143 \n\
00144 ================================================================================\n\
00145 MSG: geometry_msgs/Vector3\n\
00146 # This represents a vector in free space. \n\
00147 \n\
00148 float64 x\n\
00149 float64 y\n\
00150 float64 z\n\
00151 ";
00152   }
00153 
00154   static const char* value(const  ::asctec_hl_comm::mav_state_<ContainerAllocator> &) { return value(); } 
00155 };
00156 
00157 template<class ContainerAllocator> struct HasHeader< ::asctec_hl_comm::mav_state_<ContainerAllocator> > : public TrueType {};
00158 template<class ContainerAllocator> struct HasHeader< const ::asctec_hl_comm::mav_state_<ContainerAllocator> > : public TrueType {};
00159 } // namespace message_traits
00160 } // namespace ros
00161 
00162 namespace ros
00163 {
00164 namespace serialization
00165 {
00166 
00167 template<class ContainerAllocator> struct Serializer< ::asctec_hl_comm::mav_state_<ContainerAllocator> >
00168 {
00169   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00170   {
00171     stream.next(m.header);
00172     stream.next(m.pose);
00173     stream.next(m.velocity);
00174   }
00175 
00176   ROS_DECLARE_ALLINONE_SERIALIZER;
00177 }; // struct mav_state_
00178 } // namespace serialization
00179 } // namespace ros
00180 
00181 namespace ros
00182 {
00183 namespace message_operations
00184 {
00185 
00186 template<class ContainerAllocator>
00187 struct Printer< ::asctec_hl_comm::mav_state_<ContainerAllocator> >
00188 {
00189   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::asctec_hl_comm::mav_state_<ContainerAllocator> & v) 
00190   {
00191     s << indent << "header: ";
00192 s << std::endl;
00193     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00194     s << indent << "pose: ";
00195 s << std::endl;
00196     Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + "  ", v.pose);
00197     s << indent << "velocity: ";
00198 s << std::endl;
00199     Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + "  ", v.velocity);
00200   }
00201 };
00202 
00203 
00204 } // namespace message_operations
00205 } // namespace ros
00206 
00207 #endif // ASCTEC_HL_COMM_MESSAGE_MAV_STATE_H
00208 


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