Go to the documentation of this file.00001
00002 #ifndef HALFSTEPS_PATTERN_GENERATOR_MESSAGE_FOOTPRINT_H
00003 #define HALFSTEPS_PATTERN_GENERATOR_MESSAGE_FOOTPRINT_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 "walk_msgs/Footprint2d.h"
00018
00019 namespace halfsteps_pattern_generator
00020 {
00021 template <class ContainerAllocator>
00022 struct Footprint_ {
00023 typedef Footprint_<ContainerAllocator> Type;
00024
00025 Footprint_()
00026 : footprint()
00027 , slideUp(0.0)
00028 , slideDown(0.0)
00029 , horizontalDistance(0.0)
00030 , stepHeight(0.0)
00031 {
00032 }
00033
00034 Footprint_(const ContainerAllocator& _alloc)
00035 : footprint(_alloc)
00036 , slideUp(0.0)
00037 , slideDown(0.0)
00038 , horizontalDistance(0.0)
00039 , stepHeight(0.0)
00040 {
00041 }
00042
00043 typedef ::walk_msgs::Footprint2d_<ContainerAllocator> _footprint_type;
00044 ::walk_msgs::Footprint2d_<ContainerAllocator> footprint;
00045
00046 typedef double _slideUp_type;
00047 double slideUp;
00048
00049 typedef double _slideDown_type;
00050 double slideDown;
00051
00052 typedef double _horizontalDistance_type;
00053 double horizontalDistance;
00054
00055 typedef double _stepHeight_type;
00056 double stepHeight;
00057
00058
00059 typedef boost::shared_ptr< ::halfsteps_pattern_generator::Footprint_<ContainerAllocator> > Ptr;
00060 typedef boost::shared_ptr< ::halfsteps_pattern_generator::Footprint_<ContainerAllocator> const> ConstPtr;
00061 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00062 };
00063 typedef ::halfsteps_pattern_generator::Footprint_<std::allocator<void> > Footprint;
00064
00065 typedef boost::shared_ptr< ::halfsteps_pattern_generator::Footprint> FootprintPtr;
00066 typedef boost::shared_ptr< ::halfsteps_pattern_generator::Footprint const> FootprintConstPtr;
00067
00068
00069 template<typename ContainerAllocator>
00070 std::ostream& operator<<(std::ostream& s, const ::halfsteps_pattern_generator::Footprint_<ContainerAllocator> & v)
00071 {
00072 ros::message_operations::Printer< ::halfsteps_pattern_generator::Footprint_<ContainerAllocator> >::stream(s, "", v);
00073 return s;}
00074
00075 }
00076
00077 namespace ros
00078 {
00079 namespace message_traits
00080 {
00081 template<class ContainerAllocator> struct IsMessage< ::halfsteps_pattern_generator::Footprint_<ContainerAllocator> > : public TrueType {};
00082 template<class ContainerAllocator> struct IsMessage< ::halfsteps_pattern_generator::Footprint_<ContainerAllocator> const> : public TrueType {};
00083 template<class ContainerAllocator>
00084 struct MD5Sum< ::halfsteps_pattern_generator::Footprint_<ContainerAllocator> > {
00085 static const char* value()
00086 {
00087 return "c0e358fe89a17f434cfecaf36056143a";
00088 }
00089
00090 static const char* value(const ::halfsteps_pattern_generator::Footprint_<ContainerAllocator> &) { return value(); }
00091 static const uint64_t static_value1 = 0xc0e358fe89a17f43ULL;
00092 static const uint64_t static_value2 = 0x4cfecaf36056143aULL;
00093 };
00094
00095 template<class ContainerAllocator>
00096 struct DataType< ::halfsteps_pattern_generator::Footprint_<ContainerAllocator> > {
00097 static const char* value()
00098 {
00099 return "halfsteps_pattern_generator/Footprint";
00100 }
00101
00102 static const char* value(const ::halfsteps_pattern_generator::Footprint_<ContainerAllocator> &) { return value(); }
00103 };
00104
00105 template<class ContainerAllocator>
00106 struct Definition< ::halfsteps_pattern_generator::Footprint_<ContainerAllocator> > {
00107 static const char* value()
00108 {
00109 return "walk_msgs/Footprint2d footprint\n\
00110 float64 slideUp\n\
00111 float64 slideDown\n\
00112 float64 horizontalDistance\n\
00113 float64 stepHeight\n\
00114 \n\
00115 ================================================================================\n\
00116 MSG: walk_msgs/Footprint2d\n\
00117 time beginTime\n\
00118 duration duration\n\
00119 float64 x\n\
00120 float64 y\n\
00121 float64 theta\n\
00122 \n\
00123 ";
00124 }
00125
00126 static const char* value(const ::halfsteps_pattern_generator::Footprint_<ContainerAllocator> &) { return value(); }
00127 };
00128
00129 template<class ContainerAllocator> struct IsFixedSize< ::halfsteps_pattern_generator::Footprint_<ContainerAllocator> > : public TrueType {};
00130 }
00131 }
00132
00133 namespace ros
00134 {
00135 namespace serialization
00136 {
00137
00138 template<class ContainerAllocator> struct Serializer< ::halfsteps_pattern_generator::Footprint_<ContainerAllocator> >
00139 {
00140 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00141 {
00142 stream.next(m.footprint);
00143 stream.next(m.slideUp);
00144 stream.next(m.slideDown);
00145 stream.next(m.horizontalDistance);
00146 stream.next(m.stepHeight);
00147 }
00148
00149 ROS_DECLARE_ALLINONE_SERIALIZER;
00150 };
00151 }
00152 }
00153
00154 namespace ros
00155 {
00156 namespace message_operations
00157 {
00158
00159 template<class ContainerAllocator>
00160 struct Printer< ::halfsteps_pattern_generator::Footprint_<ContainerAllocator> >
00161 {
00162 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::halfsteps_pattern_generator::Footprint_<ContainerAllocator> & v)
00163 {
00164 s << indent << "footprint: ";
00165 s << std::endl;
00166 Printer< ::walk_msgs::Footprint2d_<ContainerAllocator> >::stream(s, indent + " ", v.footprint);
00167 s << indent << "slideUp: ";
00168 Printer<double>::stream(s, indent + " ", v.slideUp);
00169 s << indent << "slideDown: ";
00170 Printer<double>::stream(s, indent + " ", v.slideDown);
00171 s << indent << "horizontalDistance: ";
00172 Printer<double>::stream(s, indent + " ", v.horizontalDistance);
00173 s << indent << "stepHeight: ";
00174 Printer<double>::stream(s, indent + " ", v.stepHeight);
00175 }
00176 };
00177
00178
00179 }
00180 }
00181
00182 #endif // HALFSTEPS_PATTERN_GENERATOR_MESSAGE_FOOTPRINT_H
00183