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