EulerAngles.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-starmac-ros-pkg/doc_stacks/2014-01-05_11-35-11.500740/starmac-ros-pkg/starmac_common/starmac_msgs/msg/EulerAngles.msg */
00002 #ifndef STARMAC_MSGS_MESSAGE_EULERANGLES_H
00003 #define STARMAC_MSGS_MESSAGE_EULERANGLES_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 
00018 namespace starmac_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct EulerAngles_ {
00022   typedef EulerAngles_<ContainerAllocator> Type;
00023 
00024   EulerAngles_()
00025   : sequence()
00026   , angles_in_degrees(false)
00027   , ai(0.0)
00028   , aj(0.0)
00029   , ak(0.0)
00030   {
00031   }
00032 
00033   EulerAngles_(const ContainerAllocator& _alloc)
00034   : sequence(_alloc)
00035   , angles_in_degrees(false)
00036   , ai(0.0)
00037   , aj(0.0)
00038   , ak(0.0)
00039   {
00040   }
00041 
00042   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _sequence_type;
00043   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  sequence;
00044 
00045   typedef uint8_t _angles_in_degrees_type;
00046   uint8_t angles_in_degrees;
00047 
00048   typedef double _ai_type;
00049   double ai;
00050 
00051   typedef double _aj_type;
00052   double aj;
00053 
00054   typedef double _ak_type;
00055   double ak;
00056 
00057 
00058   typedef boost::shared_ptr< ::starmac_msgs::EulerAngles_<ContainerAllocator> > Ptr;
00059   typedef boost::shared_ptr< ::starmac_msgs::EulerAngles_<ContainerAllocator>  const> ConstPtr;
00060   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00061 }; // struct EulerAngles
00062 typedef  ::starmac_msgs::EulerAngles_<std::allocator<void> > EulerAngles;
00063 
00064 typedef boost::shared_ptr< ::starmac_msgs::EulerAngles> EulerAnglesPtr;
00065 typedef boost::shared_ptr< ::starmac_msgs::EulerAngles const> EulerAnglesConstPtr;
00066 
00067 
00068 template<typename ContainerAllocator>
00069 std::ostream& operator<<(std::ostream& s, const  ::starmac_msgs::EulerAngles_<ContainerAllocator> & v)
00070 {
00071   ros::message_operations::Printer< ::starmac_msgs::EulerAngles_<ContainerAllocator> >::stream(s, "", v);
00072   return s;}
00073 
00074 } // namespace starmac_msgs
00075 
00076 namespace ros
00077 {
00078 namespace message_traits
00079 {
00080 template<class ContainerAllocator> struct IsMessage< ::starmac_msgs::EulerAngles_<ContainerAllocator> > : public TrueType {};
00081 template<class ContainerAllocator> struct IsMessage< ::starmac_msgs::EulerAngles_<ContainerAllocator>  const> : public TrueType {};
00082 template<class ContainerAllocator>
00083 struct MD5Sum< ::starmac_msgs::EulerAngles_<ContainerAllocator> > {
00084   static const char* value() 
00085   {
00086     return "b41bea25ef0825fa6d2799746a51460f";
00087   }
00088 
00089   static const char* value(const  ::starmac_msgs::EulerAngles_<ContainerAllocator> &) { return value(); } 
00090   static const uint64_t static_value1 = 0xb41bea25ef0825faULL;
00091   static const uint64_t static_value2 = 0x6d2799746a51460fULL;
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct DataType< ::starmac_msgs::EulerAngles_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "starmac_msgs/EulerAngles";
00099   }
00100 
00101   static const char* value(const  ::starmac_msgs::EulerAngles_<ContainerAllocator> &) { return value(); } 
00102 };
00103 
00104 template<class ContainerAllocator>
00105 struct Definition< ::starmac_msgs::EulerAngles_<ContainerAllocator> > {
00106   static const char* value() 
00107   {
00108     return "string sequence # as per transformations.py, e.g. 'rzyx' for standard yaw-pitch-roll\n\
00109 bool angles_in_degrees # true if ai, aj, ak are in degrees, otherwise they are in radians\n\
00110 # rotations about 1st, 2nd, 3rd axis:\n\
00111 float64 ai\n\
00112 float64 aj\n\
00113 float64 ak\n\
00114 ";
00115   }
00116 
00117   static const char* value(const  ::starmac_msgs::EulerAngles_<ContainerAllocator> &) { return value(); } 
00118 };
00119 
00120 } // namespace message_traits
00121 } // namespace ros
00122 
00123 namespace ros
00124 {
00125 namespace serialization
00126 {
00127 
00128 template<class ContainerAllocator> struct Serializer< ::starmac_msgs::EulerAngles_<ContainerAllocator> >
00129 {
00130   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00131   {
00132     stream.next(m.sequence);
00133     stream.next(m.angles_in_degrees);
00134     stream.next(m.ai);
00135     stream.next(m.aj);
00136     stream.next(m.ak);
00137   }
00138 
00139   ROS_DECLARE_ALLINONE_SERIALIZER;
00140 }; // struct EulerAngles_
00141 } // namespace serialization
00142 } // namespace ros
00143 
00144 namespace ros
00145 {
00146 namespace message_operations
00147 {
00148 
00149 template<class ContainerAllocator>
00150 struct Printer< ::starmac_msgs::EulerAngles_<ContainerAllocator> >
00151 {
00152   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::starmac_msgs::EulerAngles_<ContainerAllocator> & v) 
00153   {
00154     s << indent << "sequence: ";
00155     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.sequence);
00156     s << indent << "angles_in_degrees: ";
00157     Printer<uint8_t>::stream(s, indent + "  ", v.angles_in_degrees);
00158     s << indent << "ai: ";
00159     Printer<double>::stream(s, indent + "  ", v.ai);
00160     s << indent << "aj: ";
00161     Printer<double>::stream(s, indent + "  ", v.aj);
00162     s << indent << "ak: ";
00163     Printer<double>::stream(s, indent + "  ", v.ak);
00164   }
00165 };
00166 
00167 
00168 } // namespace message_operations
00169 } // namespace ros
00170 
00171 #endif // STARMAC_MSGS_MESSAGE_EULERANGLES_H
00172 


starmac_msgs
Author(s): bouffard
autogenerated on Sun Jan 5 2014 11:37:37