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