StepTarget.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-alufr-humanoid_stacks/doc_stacks/2013-10-15_10-01-44.393682/humanoid_msgs/humanoid_nav_msgs/msg/StepTarget.msg */
00002 #ifndef HUMANOID_NAV_MSGS_MESSAGE_STEPTARGET_H
00003 #define HUMANOID_NAV_MSGS_MESSAGE_STEPTARGET_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 "geometry_msgs/Pose2D.h"
00018 
00019 namespace humanoid_nav_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct StepTarget_ {
00023   typedef StepTarget_<ContainerAllocator> Type;
00024 
00025   StepTarget_()
00026   : pose()
00027   , leg(0)
00028   {
00029   }
00030 
00031   StepTarget_(const ContainerAllocator& _alloc)
00032   : pose(_alloc)
00033   , leg(0)
00034   {
00035   }
00036 
00037   typedef  ::geometry_msgs::Pose2D_<ContainerAllocator>  _pose_type;
00038    ::geometry_msgs::Pose2D_<ContainerAllocator>  pose;
00039 
00040   typedef uint8_t _leg_type;
00041   uint8_t leg;
00042 
00043   enum { right = 0 };
00044   enum { left = 1 };
00045 
00046   typedef boost::shared_ptr< ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> > Ptr;
00047   typedef boost::shared_ptr< ::humanoid_nav_msgs::StepTarget_<ContainerAllocator>  const> ConstPtr;
00048   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00049 }; // struct StepTarget
00050 typedef  ::humanoid_nav_msgs::StepTarget_<std::allocator<void> > StepTarget;
00051 
00052 typedef boost::shared_ptr< ::humanoid_nav_msgs::StepTarget> StepTargetPtr;
00053 typedef boost::shared_ptr< ::humanoid_nav_msgs::StepTarget const> StepTargetConstPtr;
00054 
00055 
00056 template<typename ContainerAllocator>
00057 std::ostream& operator<<(std::ostream& s, const  ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> & v)
00058 {
00059   ros::message_operations::Printer< ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> >::stream(s, "", v);
00060   return s;}
00061 
00062 } // namespace humanoid_nav_msgs
00063 
00064 namespace ros
00065 {
00066 namespace message_traits
00067 {
00068 template<class ContainerAllocator> struct IsMessage< ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> > : public TrueType {};
00069 template<class ContainerAllocator> struct IsMessage< ::humanoid_nav_msgs::StepTarget_<ContainerAllocator>  const> : public TrueType {};
00070 template<class ContainerAllocator>
00071 struct MD5Sum< ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> > {
00072   static const char* value() 
00073   {
00074     return "8ccf34ddb67039fbda0d9b2515ebb1ea";
00075   }
00076 
00077   static const char* value(const  ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> &) { return value(); } 
00078   static const uint64_t static_value1 = 0x8ccf34ddb67039fbULL;
00079   static const uint64_t static_value2 = 0xda0d9b2515ebb1eaULL;
00080 };
00081 
00082 template<class ContainerAllocator>
00083 struct DataType< ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> > {
00084   static const char* value() 
00085   {
00086     return "humanoid_nav_msgs/StepTarget";
00087   }
00088 
00089   static const char* value(const  ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> &) { return value(); } 
00090 };
00091 
00092 template<class ContainerAllocator>
00093 struct Definition< ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> > {
00094   static const char* value() 
00095   {
00096     return "# Target for a single stepping motion of a humanoid's leg\n\
00097 \n\
00098 geometry_msgs/Pose2D pose   # step pose as relative offset to last leg\n\
00099 uint8 leg                   # which leg to use (left/right, see below)\n\
00100 \n\
00101 uint8 right=0               # right leg constant\n\
00102 uint8 left=1                # left leg constant\n\
00103 \n\
00104 ================================================================================\n\
00105 MSG: geometry_msgs/Pose2D\n\
00106 # This expresses a position and orientation on a 2D manifold.\n\
00107 \n\
00108 float64 x\n\
00109 float64 y\n\
00110 float64 theta\n\
00111 ";
00112   }
00113 
00114   static const char* value(const  ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> &) { return value(); } 
00115 };
00116 
00117 template<class ContainerAllocator> struct IsFixedSize< ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> > : public TrueType {};
00118 } // namespace message_traits
00119 } // namespace ros
00120 
00121 namespace ros
00122 {
00123 namespace serialization
00124 {
00125 
00126 template<class ContainerAllocator> struct Serializer< ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> >
00127 {
00128   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00129   {
00130     stream.next(m.pose);
00131     stream.next(m.leg);
00132   }
00133 
00134   ROS_DECLARE_ALLINONE_SERIALIZER;
00135 }; // struct StepTarget_
00136 } // namespace serialization
00137 } // namespace ros
00138 
00139 namespace ros
00140 {
00141 namespace message_operations
00142 {
00143 
00144 template<class ContainerAllocator>
00145 struct Printer< ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> >
00146 {
00147   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> & v) 
00148   {
00149     s << indent << "pose: ";
00150 s << std::endl;
00151     Printer< ::geometry_msgs::Pose2D_<ContainerAllocator> >::stream(s, indent + "  ", v.pose);
00152     s << indent << "leg: ";
00153     Printer<uint8_t>::stream(s, indent + "  ", v.leg);
00154   }
00155 };
00156 
00157 
00158 } // namespace message_operations
00159 } // namespace ros
00160 
00161 #endif // HUMANOID_NAV_MSGS_MESSAGE_STEPTARGET_H
00162 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


humanoid_nav_msgs
Author(s): Armin Hornung
autogenerated on Tue Oct 15 2013 10:05:54