TKCommands.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-kyb-mpg-ros-pkg/doc_stacks/2013-11-11_11-09-26.678778/telekyb_common/telekyb_msgs/msg/TKCommands.msg */
00002 #ifndef TELEKYB_MSGS_MESSAGE_TKCOMMANDS_H
00003 #define TELEKYB_MSGS_MESSAGE_TKCOMMANDS_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 
00019 namespace telekyb_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct TKCommands_ {
00023   typedef TKCommands_<ContainerAllocator> Type;
00024 
00025   TKCommands_()
00026   : header()
00027   , roll(0.0)
00028   , pitch(0.0)
00029   , yaw(0.0)
00030   , thrust(0.0)
00031   , mass(0.0)
00032   {
00033   }
00034 
00035   TKCommands_(const ContainerAllocator& _alloc)
00036   : header(_alloc)
00037   , roll(0.0)
00038   , pitch(0.0)
00039   , yaw(0.0)
00040   , thrust(0.0)
00041   , mass(0.0)
00042   {
00043   }
00044 
00045   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00046    ::std_msgs::Header_<ContainerAllocator>  header;
00047 
00048   typedef float _roll_type;
00049   float roll;
00050 
00051   typedef float _pitch_type;
00052   float pitch;
00053 
00054   typedef float _yaw_type;
00055   float yaw;
00056 
00057   typedef float _thrust_type;
00058   float thrust;
00059 
00060   typedef float _mass_type;
00061   float mass;
00062 
00063 
00064   typedef boost::shared_ptr< ::telekyb_msgs::TKCommands_<ContainerAllocator> > Ptr;
00065   typedef boost::shared_ptr< ::telekyb_msgs::TKCommands_<ContainerAllocator>  const> ConstPtr;
00066   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00067 }; // struct TKCommands
00068 typedef  ::telekyb_msgs::TKCommands_<std::allocator<void> > TKCommands;
00069 
00070 typedef boost::shared_ptr< ::telekyb_msgs::TKCommands> TKCommandsPtr;
00071 typedef boost::shared_ptr< ::telekyb_msgs::TKCommands const> TKCommandsConstPtr;
00072 
00073 
00074 template<typename ContainerAllocator>
00075 std::ostream& operator<<(std::ostream& s, const  ::telekyb_msgs::TKCommands_<ContainerAllocator> & v)
00076 {
00077   ros::message_operations::Printer< ::telekyb_msgs::TKCommands_<ContainerAllocator> >::stream(s, "", v);
00078   return s;}
00079 
00080 } // namespace telekyb_msgs
00081 
00082 namespace ros
00083 {
00084 namespace message_traits
00085 {
00086 template<class ContainerAllocator> struct IsMessage< ::telekyb_msgs::TKCommands_<ContainerAllocator> > : public TrueType {};
00087 template<class ContainerAllocator> struct IsMessage< ::telekyb_msgs::TKCommands_<ContainerAllocator>  const> : public TrueType {};
00088 template<class ContainerAllocator>
00089 struct MD5Sum< ::telekyb_msgs::TKCommands_<ContainerAllocator> > {
00090   static const char* value() 
00091   {
00092     return "0fc5472c29c7dfe8f6fd8f2d6d4156ab";
00093   }
00094 
00095   static const char* value(const  ::telekyb_msgs::TKCommands_<ContainerAllocator> &) { return value(); } 
00096   static const uint64_t static_value1 = 0x0fc5472c29c7dfe8ULL;
00097   static const uint64_t static_value2 = 0xf6fd8f2d6d4156abULL;
00098 };
00099 
00100 template<class ContainerAllocator>
00101 struct DataType< ::telekyb_msgs::TKCommands_<ContainerAllocator> > {
00102   static const char* value() 
00103   {
00104     return "telekyb_msgs/TKCommands";
00105   }
00106 
00107   static const char* value(const  ::telekyb_msgs::TKCommands_<ContainerAllocator> &) { return value(); } 
00108 };
00109 
00110 template<class ContainerAllocator>
00111 struct Definition< ::telekyb_msgs::TKCommands_<ContainerAllocator> > {
00112   static const char* value() 
00113   {
00114     return "#\n\
00115 # Copyright 2011  Antonio Franchi and Martin Riedel    \n\
00116 #\n\
00117 # This file is part of TeleKyb.\n\
00118 #\n\
00119 # TeleKyb is free software: you can redistribute it and/or modify\n\
00120 # it under the terms of the GNU General Public License as published by\n\
00121 # the Free Software Foundation, either version 3 of the License, or\n\
00122 # (at your option) any later version.\n\
00123 #\n\
00124 # TeleKyb is distributed in the hope that it will be useful,\n\
00125 # but WITHOUT ANY WARRANTY; without even the implied warranty of\n\
00126 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n\
00127 # GNU General Public License for more details.\n\
00128 #\n\
00129 # You should have received a copy of the GNU General Public License\n\
00130 # along with TeleKyb. If not, see <http://www.gnu.org/licenses/>.\n\
00131 \n\
00132 Header header\n\
00133 \n\
00134 # Handshake\n\
00135 #int64 handshake\n\
00136 \n\
00137 # Discussion? Change to 64bit?\n\
00138 # Add ranges\n\
00139 float32 roll\n\
00140 float32 pitch\n\
00141 float32 yaw\n\
00142 float32 thrust\n\
00143 \n\
00144 # mass -> (can be fixed or estimated)\n\
00145 float32 mass\n\
00146 \n\
00147 \n\
00148 ================================================================================\n\
00149 MSG: std_msgs/Header\n\
00150 # Standard metadata for higher-level stamped data types.\n\
00151 # This is generally used to communicate timestamped data \n\
00152 # in a particular coordinate frame.\n\
00153 # \n\
00154 # sequence ID: consecutively increasing ID \n\
00155 uint32 seq\n\
00156 #Two-integer timestamp that is expressed as:\n\
00157 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00158 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00159 # time-handling sugar is provided by the client library\n\
00160 time stamp\n\
00161 #Frame this data is associated with\n\
00162 # 0: no frame\n\
00163 # 1: global frame\n\
00164 string frame_id\n\
00165 \n\
00166 ";
00167   }
00168 
00169   static const char* value(const  ::telekyb_msgs::TKCommands_<ContainerAllocator> &) { return value(); } 
00170 };
00171 
00172 template<class ContainerAllocator> struct HasHeader< ::telekyb_msgs::TKCommands_<ContainerAllocator> > : public TrueType {};
00173 template<class ContainerAllocator> struct HasHeader< const ::telekyb_msgs::TKCommands_<ContainerAllocator> > : public TrueType {};
00174 } // namespace message_traits
00175 } // namespace ros
00176 
00177 namespace ros
00178 {
00179 namespace serialization
00180 {
00181 
00182 template<class ContainerAllocator> struct Serializer< ::telekyb_msgs::TKCommands_<ContainerAllocator> >
00183 {
00184   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00185   {
00186     stream.next(m.header);
00187     stream.next(m.roll);
00188     stream.next(m.pitch);
00189     stream.next(m.yaw);
00190     stream.next(m.thrust);
00191     stream.next(m.mass);
00192   }
00193 
00194   ROS_DECLARE_ALLINONE_SERIALIZER;
00195 }; // struct TKCommands_
00196 } // namespace serialization
00197 } // namespace ros
00198 
00199 namespace ros
00200 {
00201 namespace message_operations
00202 {
00203 
00204 template<class ContainerAllocator>
00205 struct Printer< ::telekyb_msgs::TKCommands_<ContainerAllocator> >
00206 {
00207   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::telekyb_msgs::TKCommands_<ContainerAllocator> & v) 
00208   {
00209     s << indent << "header: ";
00210 s << std::endl;
00211     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00212     s << indent << "roll: ";
00213     Printer<float>::stream(s, indent + "  ", v.roll);
00214     s << indent << "pitch: ";
00215     Printer<float>::stream(s, indent + "  ", v.pitch);
00216     s << indent << "yaw: ";
00217     Printer<float>::stream(s, indent + "  ", v.yaw);
00218     s << indent << "thrust: ";
00219     Printer<float>::stream(s, indent + "  ", v.thrust);
00220     s << indent << "mass: ";
00221     Printer<float>::stream(s, indent + "  ", v.mass);
00222   }
00223 };
00224 
00225 
00226 } // namespace message_operations
00227 } // namespace ros
00228 
00229 #endif // TELEKYB_MSGS_MESSAGE_TKCOMMANDS_H
00230 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends


telekyb_msgs
Author(s): Dr. Antonio Franchi and Martin Riedel
autogenerated on Mon Nov 11 2013 11:12:14