Go to the documentation of this file.00001
00002 #ifndef BIPED_ROBIN_MSGS_MESSAGE_STEPTARGET3D_H
00003 #define BIPED_ROBIN_MSGS_MESSAGE_STEPTARGET3D_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/Pose.h"
00018
00019 namespace biped_robin_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct StepTarget3D_ {
00023 typedef StepTarget3D_<ContainerAllocator> Type;
00024
00025 StepTarget3D_()
00026 : pose()
00027 , leg(0)
00028 {
00029 }
00030
00031 StepTarget3D_(const ContainerAllocator& _alloc)
00032 : pose(_alloc)
00033 , leg(0)
00034 {
00035 }
00036
00037 typedef ::geometry_msgs::Pose_<ContainerAllocator> _pose_type;
00038 ::geometry_msgs::Pose_<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< ::biped_robin_msgs::StepTarget3D_<ContainerAllocator> > Ptr;
00047 typedef boost::shared_ptr< ::biped_robin_msgs::StepTarget3D_<ContainerAllocator> const> ConstPtr;
00048 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00049 };
00050 typedef ::biped_robin_msgs::StepTarget3D_<std::allocator<void> > StepTarget3D;
00051
00052 typedef boost::shared_ptr< ::biped_robin_msgs::StepTarget3D> StepTarget3DPtr;
00053 typedef boost::shared_ptr< ::biped_robin_msgs::StepTarget3D const> StepTarget3DConstPtr;
00054
00055
00056 template<typename ContainerAllocator>
00057 std::ostream& operator<<(std::ostream& s, const ::biped_robin_msgs::StepTarget3D_<ContainerAllocator> & v)
00058 {
00059 ros::message_operations::Printer< ::biped_robin_msgs::StepTarget3D_<ContainerAllocator> >::stream(s, "", v);
00060 return s;}
00061
00062 }
00063
00064 namespace ros
00065 {
00066 namespace message_traits
00067 {
00068 template<class ContainerAllocator> struct IsMessage< ::biped_robin_msgs::StepTarget3D_<ContainerAllocator> > : public TrueType {};
00069 template<class ContainerAllocator> struct IsMessage< ::biped_robin_msgs::StepTarget3D_<ContainerAllocator> const> : public TrueType {};
00070 template<class ContainerAllocator>
00071 struct MD5Sum< ::biped_robin_msgs::StepTarget3D_<ContainerAllocator> > {
00072 static const char* value()
00073 {
00074 return "5f79e84756785e1c60a84156e3906aa0";
00075 }
00076
00077 static const char* value(const ::biped_robin_msgs::StepTarget3D_<ContainerAllocator> &) { return value(); }
00078 static const uint64_t static_value1 = 0x5f79e84756785e1cULL;
00079 static const uint64_t static_value2 = 0x60a84156e3906aa0ULL;
00080 };
00081
00082 template<class ContainerAllocator>
00083 struct DataType< ::biped_robin_msgs::StepTarget3D_<ContainerAllocator> > {
00084 static const char* value()
00085 {
00086 return "biped_robin_msgs/StepTarget3D";
00087 }
00088
00089 static const char* value(const ::biped_robin_msgs::StepTarget3D_<ContainerAllocator> &) { return value(); }
00090 };
00091
00092 template<class ContainerAllocator>
00093 struct Definition< ::biped_robin_msgs::StepTarget3D_<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/Pose pose # step pose absolute\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/Pose\n\
00106 # A representation of pose in free space, composed of postion and orientation. \n\
00107 Point position\n\
00108 Quaternion orientation\n\
00109 \n\
00110 ================================================================================\n\
00111 MSG: geometry_msgs/Point\n\
00112 # This contains the position of a point in free space\n\
00113 float64 x\n\
00114 float64 y\n\
00115 float64 z\n\
00116 \n\
00117 ================================================================================\n\
00118 MSG: geometry_msgs/Quaternion\n\
00119 # This represents an orientation in free space in quaternion form.\n\
00120 \n\
00121 float64 x\n\
00122 float64 y\n\
00123 float64 z\n\
00124 float64 w\n\
00125 \n\
00126 ";
00127 }
00128
00129 static const char* value(const ::biped_robin_msgs::StepTarget3D_<ContainerAllocator> &) { return value(); }
00130 };
00131
00132 template<class ContainerAllocator> struct IsFixedSize< ::biped_robin_msgs::StepTarget3D_<ContainerAllocator> > : public TrueType {};
00133 }
00134 }
00135
00136 namespace ros
00137 {
00138 namespace serialization
00139 {
00140
00141 template<class ContainerAllocator> struct Serializer< ::biped_robin_msgs::StepTarget3D_<ContainerAllocator> >
00142 {
00143 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00144 {
00145 stream.next(m.pose);
00146 stream.next(m.leg);
00147 }
00148
00149 ROS_DECLARE_ALLINONE_SERIALIZER;
00150 };
00151 }
00152 }
00153
00154 namespace ros
00155 {
00156 namespace message_operations
00157 {
00158
00159 template<class ContainerAllocator>
00160 struct Printer< ::biped_robin_msgs::StepTarget3D_<ContainerAllocator> >
00161 {
00162 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::biped_robin_msgs::StepTarget3D_<ContainerAllocator> & v)
00163 {
00164 s << indent << "pose: ";
00165 s << std::endl;
00166 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.pose);
00167 s << indent << "leg: ";
00168 Printer<uint8_t>::stream(s, indent + " ", v.leg);
00169 }
00170 };
00171
00172
00173 }
00174 }
00175
00176 #endif // BIPED_ROBIN_MSGS_MESSAGE_STEPTARGET3D_H
00177