Go to the documentation of this file.00001
00002 #ifndef WALK_MSGS_MESSAGE_WALKPATH_H
00003 #define WALK_MSGS_MESSAGE_WALKPATH_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 "nav_msgs/Path.h"
00018 #include "nav_msgs/Path.h"
00019 #include "walk_msgs/PathPoint3d.h"
00020 #include "walk_msgs/PathPoint2d.h"
00021
00022 namespace walk_msgs
00023 {
00024 template <class ContainerAllocator>
00025 struct WalkPath_ {
00026 typedef WalkPath_<ContainerAllocator> Type;
00027
00028 WalkPath_()
00029 : left_foot()
00030 , right_foot()
00031 , center_of_mass()
00032 , zmp()
00033 {
00034 }
00035
00036 WalkPath_(const ContainerAllocator& _alloc)
00037 : left_foot(_alloc)
00038 , right_foot(_alloc)
00039 , center_of_mass(_alloc)
00040 , zmp(_alloc)
00041 {
00042 }
00043
00044 typedef ::nav_msgs::Path_<ContainerAllocator> _left_foot_type;
00045 ::nav_msgs::Path_<ContainerAllocator> left_foot;
00046
00047 typedef ::nav_msgs::Path_<ContainerAllocator> _right_foot_type;
00048 ::nav_msgs::Path_<ContainerAllocator> right_foot;
00049
00050 typedef ::walk_msgs::PathPoint3d_<ContainerAllocator> _center_of_mass_type;
00051 ::walk_msgs::PathPoint3d_<ContainerAllocator> center_of_mass;
00052
00053 typedef ::walk_msgs::PathPoint2d_<ContainerAllocator> _zmp_type;
00054 ::walk_msgs::PathPoint2d_<ContainerAllocator> zmp;
00055
00056
00057 typedef boost::shared_ptr< ::walk_msgs::WalkPath_<ContainerAllocator> > Ptr;
00058 typedef boost::shared_ptr< ::walk_msgs::WalkPath_<ContainerAllocator> const> ConstPtr;
00059 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00060 };
00061 typedef ::walk_msgs::WalkPath_<std::allocator<void> > WalkPath;
00062
00063 typedef boost::shared_ptr< ::walk_msgs::WalkPath> WalkPathPtr;
00064 typedef boost::shared_ptr< ::walk_msgs::WalkPath const> WalkPathConstPtr;
00065
00066
00067 template<typename ContainerAllocator>
00068 std::ostream& operator<<(std::ostream& s, const ::walk_msgs::WalkPath_<ContainerAllocator> & v)
00069 {
00070 ros::message_operations::Printer< ::walk_msgs::WalkPath_<ContainerAllocator> >::stream(s, "", v);
00071 return s;}
00072
00073 }
00074
00075 namespace ros
00076 {
00077 namespace message_traits
00078 {
00079 template<class ContainerAllocator> struct IsMessage< ::walk_msgs::WalkPath_<ContainerAllocator> > : public TrueType {};
00080 template<class ContainerAllocator> struct IsMessage< ::walk_msgs::WalkPath_<ContainerAllocator> const> : public TrueType {};
00081 template<class ContainerAllocator>
00082 struct MD5Sum< ::walk_msgs::WalkPath_<ContainerAllocator> > {
00083 static const char* value()
00084 {
00085 return "d0a0a99ccf67829c6bd2a9f0499ae76e";
00086 }
00087
00088 static const char* value(const ::walk_msgs::WalkPath_<ContainerAllocator> &) { return value(); }
00089 static const uint64_t static_value1 = 0xd0a0a99ccf67829cULL;
00090 static const uint64_t static_value2 = 0x6bd2a9f0499ae76eULL;
00091 };
00092
00093 template<class ContainerAllocator>
00094 struct DataType< ::walk_msgs::WalkPath_<ContainerAllocator> > {
00095 static const char* value()
00096 {
00097 return "walk_msgs/WalkPath";
00098 }
00099
00100 static const char* value(const ::walk_msgs::WalkPath_<ContainerAllocator> &) { return value(); }
00101 };
00102
00103 template<class ContainerAllocator>
00104 struct Definition< ::walk_msgs::WalkPath_<ContainerAllocator> > {
00105 static const char* value()
00106 {
00107 return "nav_msgs/Path left_foot\n\
00108 nav_msgs/Path right_foot\n\
00109 walk_msgs/PathPoint3d center_of_mass\n\
00110 walk_msgs/PathPoint2d zmp\n\
00111 \n\
00112 ================================================================================\n\
00113 MSG: nav_msgs/Path\n\
00114 #An array of poses that represents a Path for a robot to follow\n\
00115 Header header\n\
00116 geometry_msgs/PoseStamped[] poses\n\
00117 \n\
00118 ================================================================================\n\
00119 MSG: std_msgs/Header\n\
00120 # Standard metadata for higher-level stamped data types.\n\
00121 # This is generally used to communicate timestamped data \n\
00122 # in a particular coordinate frame.\n\
00123 # \n\
00124 # sequence ID: consecutively increasing ID \n\
00125 uint32 seq\n\
00126 #Two-integer timestamp that is expressed as:\n\
00127 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00128 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00129 # time-handling sugar is provided by the client library\n\
00130 time stamp\n\
00131 #Frame this data is associated with\n\
00132 # 0: no frame\n\
00133 # 1: global frame\n\
00134 string frame_id\n\
00135 \n\
00136 ================================================================================\n\
00137 MSG: geometry_msgs/PoseStamped\n\
00138 # A Pose with reference coordinate frame and timestamp\n\
00139 Header header\n\
00140 Pose pose\n\
00141 \n\
00142 ================================================================================\n\
00143 MSG: geometry_msgs/Pose\n\
00144 # A representation of pose in free space, composed of postion and orientation. \n\
00145 Point position\n\
00146 Quaternion orientation\n\
00147 \n\
00148 ================================================================================\n\
00149 MSG: geometry_msgs/Point\n\
00150 # This contains the position of a point in free space\n\
00151 float64 x\n\
00152 float64 y\n\
00153 float64 z\n\
00154 \n\
00155 ================================================================================\n\
00156 MSG: geometry_msgs/Quaternion\n\
00157 # This represents an orientation in free space in quaternion form.\n\
00158 \n\
00159 float64 x\n\
00160 float64 y\n\
00161 float64 z\n\
00162 float64 w\n\
00163 \n\
00164 ================================================================================\n\
00165 MSG: walk_msgs/PathPoint3d\n\
00166 Header header\n\
00167 geometry_msgs/PointStamped[] points\n\
00168 \n\
00169 ================================================================================\n\
00170 MSG: geometry_msgs/PointStamped\n\
00171 # This represents a Point with reference coordinate frame and timestamp\n\
00172 Header header\n\
00173 Point point\n\
00174 \n\
00175 ================================================================================\n\
00176 MSG: walk_msgs/PathPoint2d\n\
00177 Header header\n\
00178 walk_msgs/Point2dStamped[] points\n\
00179 \n\
00180 ================================================================================\n\
00181 MSG: walk_msgs/Point2dStamped\n\
00182 Header header\n\
00183 Point2d point\n\
00184 \n\
00185 ================================================================================\n\
00186 MSG: walk_msgs/Point2d\n\
00187 float64 x\n\
00188 float64 y\n\
00189 \n\
00190 ";
00191 }
00192
00193 static const char* value(const ::walk_msgs::WalkPath_<ContainerAllocator> &) { return value(); }
00194 };
00195
00196 }
00197 }
00198
00199 namespace ros
00200 {
00201 namespace serialization
00202 {
00203
00204 template<class ContainerAllocator> struct Serializer< ::walk_msgs::WalkPath_<ContainerAllocator> >
00205 {
00206 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00207 {
00208 stream.next(m.left_foot);
00209 stream.next(m.right_foot);
00210 stream.next(m.center_of_mass);
00211 stream.next(m.zmp);
00212 }
00213
00214 ROS_DECLARE_ALLINONE_SERIALIZER;
00215 };
00216 }
00217 }
00218
00219 namespace ros
00220 {
00221 namespace message_operations
00222 {
00223
00224 template<class ContainerAllocator>
00225 struct Printer< ::walk_msgs::WalkPath_<ContainerAllocator> >
00226 {
00227 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::walk_msgs::WalkPath_<ContainerAllocator> & v)
00228 {
00229 s << indent << "left_foot: ";
00230 s << std::endl;
00231 Printer< ::nav_msgs::Path_<ContainerAllocator> >::stream(s, indent + " ", v.left_foot);
00232 s << indent << "right_foot: ";
00233 s << std::endl;
00234 Printer< ::nav_msgs::Path_<ContainerAllocator> >::stream(s, indent + " ", v.right_foot);
00235 s << indent << "center_of_mass: ";
00236 s << std::endl;
00237 Printer< ::walk_msgs::PathPoint3d_<ContainerAllocator> >::stream(s, indent + " ", v.center_of_mass);
00238 s << indent << "zmp: ";
00239 s << std::endl;
00240 Printer< ::walk_msgs::PathPoint2d_<ContainerAllocator> >::stream(s, indent + " ", v.zmp);
00241 }
00242 };
00243
00244
00245 }
00246 }
00247
00248 #endif // WALK_MSGS_MESSAGE_WALKPATH_H
00249