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