$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-humanoid_msgs/doc_stacks/2013-03-05_11-57-21.881989/humanoid_msgs/humanoid_nav_msgs/msg/ExecFootstepsGoal.msg */ 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 ROS_DEPRECATED uint32_t get_footsteps_size() const { return (uint32_t)footsteps.size(); } 00045 ROS_DEPRECATED void set_footsteps_size(uint32_t size) { footsteps.resize((size_t)size); } 00046 ROS_DEPRECATED void get_footsteps_vec(std::vector< ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> >::other > & vec) const { vec = this->footsteps; } 00047 ROS_DEPRECATED void set_footsteps_vec(const std::vector< ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> >::other > & vec) { this->footsteps = vec; } 00048 private: 00049 static const char* __s_getDataType_() { return "humanoid_nav_msgs/ExecFootstepsGoal"; } 00050 public: 00051 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00052 00053 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00054 00055 private: 00056 static const char* __s_getMD5Sum_() { return "40a3f8092ef3bb49c3253baa6eb94932"; } 00057 public: 00058 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00059 00060 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00061 00062 private: 00063 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00064 # Define the goal\n\ 00065 humanoid_nav_msgs/StepTarget[] footsteps\n\ 00066 float64 feedback_frequency\n\ 00067 \n\ 00068 ================================================================================\n\ 00069 MSG: humanoid_nav_msgs/StepTarget\n\ 00070 # Target for a single stepping motion of a humanoid's leg\n\ 00071 \n\ 00072 geometry_msgs/Pose2D pose # step pose as relative offset to last leg\n\ 00073 uint8 leg # which leg to use (left/right, see below)\n\ 00074 \n\ 00075 uint8 right=0 # right leg constant\n\ 00076 uint8 left=1 # left leg constant\n\ 00077 \n\ 00078 ================================================================================\n\ 00079 MSG: geometry_msgs/Pose2D\n\ 00080 # This expresses a position and orientation on a 2D manifold.\n\ 00081 \n\ 00082 float64 x\n\ 00083 float64 y\n\ 00084 float64 theta\n\ 00085 "; } 00086 public: 00087 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00088 00089 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00090 00091 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00092 { 00093 ros::serialization::OStream stream(write_ptr, 1000000000); 00094 ros::serialization::serialize(stream, footsteps); 00095 ros::serialization::serialize(stream, feedback_frequency); 00096 return stream.getData(); 00097 } 00098 00099 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00100 { 00101 ros::serialization::IStream stream(read_ptr, 1000000000); 00102 ros::serialization::deserialize(stream, footsteps); 00103 ros::serialization::deserialize(stream, feedback_frequency); 00104 return stream.getData(); 00105 } 00106 00107 ROS_DEPRECATED virtual uint32_t serializationLength() const 00108 { 00109 uint32_t size = 0; 00110 size += ros::serialization::serializationLength(footsteps); 00111 size += ros::serialization::serializationLength(feedback_frequency); 00112 return size; 00113 } 00114 00115 typedef boost::shared_ptr< ::humanoid_nav_msgs::ExecFootstepsGoal_<ContainerAllocator> > Ptr; 00116 typedef boost::shared_ptr< ::humanoid_nav_msgs::ExecFootstepsGoal_<ContainerAllocator> const> ConstPtr; 00117 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00118 }; // struct ExecFootstepsGoal 00119 typedef ::humanoid_nav_msgs::ExecFootstepsGoal_<std::allocator<void> > ExecFootstepsGoal; 00120 00121 typedef boost::shared_ptr< ::humanoid_nav_msgs::ExecFootstepsGoal> ExecFootstepsGoalPtr; 00122 typedef boost::shared_ptr< ::humanoid_nav_msgs::ExecFootstepsGoal const> ExecFootstepsGoalConstPtr; 00123 00124 00125 template<typename ContainerAllocator> 00126 std::ostream& operator<<(std::ostream& s, const ::humanoid_nav_msgs::ExecFootstepsGoal_<ContainerAllocator> & v) 00127 { 00128 ros::message_operations::Printer< ::humanoid_nav_msgs::ExecFootstepsGoal_<ContainerAllocator> >::stream(s, "", v); 00129 return s;} 00130 00131 } // namespace humanoid_nav_msgs 00132 00133 namespace ros 00134 { 00135 namespace message_traits 00136 { 00137 template<class ContainerAllocator> struct IsMessage< ::humanoid_nav_msgs::ExecFootstepsGoal_<ContainerAllocator> > : public TrueType {}; 00138 template<class ContainerAllocator> struct IsMessage< ::humanoid_nav_msgs::ExecFootstepsGoal_<ContainerAllocator> const> : public TrueType {}; 00139 template<class ContainerAllocator> 00140 struct MD5Sum< ::humanoid_nav_msgs::ExecFootstepsGoal_<ContainerAllocator> > { 00141 static const char* value() 00142 { 00143 return "40a3f8092ef3bb49c3253baa6eb94932"; 00144 } 00145 00146 static const char* value(const ::humanoid_nav_msgs::ExecFootstepsGoal_<ContainerAllocator> &) { return value(); } 00147 static const uint64_t static_value1 = 0x40a3f8092ef3bb49ULL; 00148 static const uint64_t static_value2 = 0xc3253baa6eb94932ULL; 00149 }; 00150 00151 template<class ContainerAllocator> 00152 struct DataType< ::humanoid_nav_msgs::ExecFootstepsGoal_<ContainerAllocator> > { 00153 static const char* value() 00154 { 00155 return "humanoid_nav_msgs/ExecFootstepsGoal"; 00156 } 00157 00158 static const char* value(const ::humanoid_nav_msgs::ExecFootstepsGoal_<ContainerAllocator> &) { return value(); } 00159 }; 00160 00161 template<class ContainerAllocator> 00162 struct Definition< ::humanoid_nav_msgs::ExecFootstepsGoal_<ContainerAllocator> > { 00163 static const char* value() 00164 { 00165 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00166 # Define the goal\n\ 00167 humanoid_nav_msgs/StepTarget[] footsteps\n\ 00168 float64 feedback_frequency\n\ 00169 \n\ 00170 ================================================================================\n\ 00171 MSG: humanoid_nav_msgs/StepTarget\n\ 00172 # Target for a single stepping motion of a humanoid's leg\n\ 00173 \n\ 00174 geometry_msgs/Pose2D pose # step pose as relative offset to last leg\n\ 00175 uint8 leg # which leg to use (left/right, see below)\n\ 00176 \n\ 00177 uint8 right=0 # right leg constant\n\ 00178 uint8 left=1 # left leg constant\n\ 00179 \n\ 00180 ================================================================================\n\ 00181 MSG: geometry_msgs/Pose2D\n\ 00182 # This expresses a position and orientation on a 2D manifold.\n\ 00183 \n\ 00184 float64 x\n\ 00185 float64 y\n\ 00186 float64 theta\n\ 00187 "; 00188 } 00189 00190 static const char* value(const ::humanoid_nav_msgs::ExecFootstepsGoal_<ContainerAllocator> &) { return value(); } 00191 }; 00192 00193 } // namespace message_traits 00194 } // namespace ros 00195 00196 namespace ros 00197 { 00198 namespace serialization 00199 { 00200 00201 template<class ContainerAllocator> struct Serializer< ::humanoid_nav_msgs::ExecFootstepsGoal_<ContainerAllocator> > 00202 { 00203 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00204 { 00205 stream.next(m.footsteps); 00206 stream.next(m.feedback_frequency); 00207 } 00208 00209 ROS_DECLARE_ALLINONE_SERIALIZER; 00210 }; // struct ExecFootstepsGoal_ 00211 } // namespace serialization 00212 } // namespace ros 00213 00214 namespace ros 00215 { 00216 namespace message_operations 00217 { 00218 00219 template<class ContainerAllocator> 00220 struct Printer< ::humanoid_nav_msgs::ExecFootstepsGoal_<ContainerAllocator> > 00221 { 00222 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::humanoid_nav_msgs::ExecFootstepsGoal_<ContainerAllocator> & v) 00223 { 00224 s << indent << "footsteps[]" << std::endl; 00225 for (size_t i = 0; i < v.footsteps.size(); ++i) 00226 { 00227 s << indent << " footsteps[" << i << "]: "; 00228 s << std::endl; 00229 s << indent; 00230 Printer< ::humanoid_nav_msgs::StepTarget_<ContainerAllocator> >::stream(s, indent + " ", v.footsteps[i]); 00231 } 00232 s << indent << "feedback_frequency: "; 00233 Printer<double>::stream(s, indent + " ", v.feedback_frequency); 00234 } 00235 }; 00236 00237 00238 } // namespace message_operations 00239 } // namespace ros 00240 00241 #endif // HUMANOID_NAV_MSGS_MESSAGE_EXECFOOTSTEPSGOAL_H 00242