Go to the documentation of this file.00001
00002 #ifndef HUMANOID_NAV_MSGS_MESSAGE_EXECFOOTSTEPSRESULT_H
00003 #define HUMANOID_NAV_MSGS_MESSAGE_EXECFOOTSTEPSRESULT_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 "humanoid_nav_msgs/StepTarget.h"
00018
00019 namespace humanoid_nav_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct ExecFootstepsResult_ {
00023 typedef ExecFootstepsResult_<ContainerAllocator> Type;
00024
00025 ExecFootstepsResult_()
00026 : executed_footsteps()
00027 {
00028 }
00029
00030 ExecFootstepsResult_(const ContainerAllocator& _alloc)
00031 : executed_footsteps(_alloc)
00032 {
00033 }
00034
00035 typedef std::vector< ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> >::other > _executed_footsteps_type;
00036 std::vector< ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> >::other > executed_footsteps;
00037
00038
00039 typedef boost::shared_ptr< ::humanoid_nav_msgs::ExecFootstepsResult_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::humanoid_nav_msgs::ExecFootstepsResult_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::humanoid_nav_msgs::ExecFootstepsResult_<std::allocator<void> > ExecFootstepsResult;
00044
00045 typedef boost::shared_ptr< ::humanoid_nav_msgs::ExecFootstepsResult> ExecFootstepsResultPtr;
00046 typedef boost::shared_ptr< ::humanoid_nav_msgs::ExecFootstepsResult const> ExecFootstepsResultConstPtr;
00047
00048
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const ::humanoid_nav_msgs::ExecFootstepsResult_<ContainerAllocator> & v)
00051 {
00052 ros::message_operations::Printer< ::humanoid_nav_msgs::ExecFootstepsResult_<ContainerAllocator> >::stream(s, "", v);
00053 return s;}
00054
00055 }
00056
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::humanoid_nav_msgs::ExecFootstepsResult_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::humanoid_nav_msgs::ExecFootstepsResult_<ContainerAllocator> const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::humanoid_nav_msgs::ExecFootstepsResult_<ContainerAllocator> > {
00065 static const char* value()
00066 {
00067 return "5dfde2cb244d6c76567d3c52c40a988c";
00068 }
00069
00070 static const char* value(const ::humanoid_nav_msgs::ExecFootstepsResult_<ContainerAllocator> &) { return value(); }
00071 static const uint64_t static_value1 = 0x5dfde2cb244d6c76ULL;
00072 static const uint64_t static_value2 = 0x567d3c52c40a988cULL;
00073 };
00074
00075 template<class ContainerAllocator>
00076 struct DataType< ::humanoid_nav_msgs::ExecFootstepsResult_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "humanoid_nav_msgs/ExecFootstepsResult";
00080 }
00081
00082 static const char* value(const ::humanoid_nav_msgs::ExecFootstepsResult_<ContainerAllocator> &) { return value(); }
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct Definition< ::humanoid_nav_msgs::ExecFootstepsResult_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 # Define the result\n\
00091 humanoid_nav_msgs/StepTarget[] executed_footsteps\n\
00092 \n\
00093 ================================================================================\n\
00094 MSG: humanoid_nav_msgs/StepTarget\n\
00095 # Target for a single stepping motion of a humanoid's leg\n\
00096 \n\
00097 geometry_msgs/Pose2D pose # step pose as relative offset to last leg\n\
00098 uint8 leg # which leg to use (left/right, see below)\n\
00099 \n\
00100 uint8 right=0 # right leg constant\n\
00101 uint8 left=1 # left leg constant\n\
00102 \n\
00103 ================================================================================\n\
00104 MSG: geometry_msgs/Pose2D\n\
00105 # This expresses a position and orientation on a 2D manifold.\n\
00106 \n\
00107 float64 x\n\
00108 float64 y\n\
00109 float64 theta\n\
00110 ";
00111 }
00112
00113 static const char* value(const ::humanoid_nav_msgs::ExecFootstepsResult_<ContainerAllocator> &) { return value(); }
00114 };
00115
00116 }
00117 }
00118
00119 namespace ros
00120 {
00121 namespace serialization
00122 {
00123
00124 template<class ContainerAllocator> struct Serializer< ::humanoid_nav_msgs::ExecFootstepsResult_<ContainerAllocator> >
00125 {
00126 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00127 {
00128 stream.next(m.executed_footsteps);
00129 }
00130
00131 ROS_DECLARE_ALLINONE_SERIALIZER;
00132 };
00133 }
00134 }
00135
00136 namespace ros
00137 {
00138 namespace message_operations
00139 {
00140
00141 template<class ContainerAllocator>
00142 struct Printer< ::humanoid_nav_msgs::ExecFootstepsResult_<ContainerAllocator> >
00143 {
00144 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::humanoid_nav_msgs::ExecFootstepsResult_<ContainerAllocator> & v)
00145 {
00146 s << indent << "executed_footsteps[]" << std::endl;
00147 for (size_t i = 0; i < v.executed_footsteps.size(); ++i)
00148 {
00149 s << indent << " executed_footsteps[" << i << "]: ";
00150 s << std::endl;
00151 s << indent;
00152 Printer< ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> >::stream(s, indent + " ", v.executed_footsteps[i]);
00153 }
00154 }
00155 };
00156
00157
00158 }
00159 }
00160
00161 #endif // HUMANOID_NAV_MSGS_MESSAGE_EXECFOOTSTEPSRESULT_H
00162