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