Go to the documentation of this file.00001
00002 #ifndef HRL_LIB_MESSAGE_PLANARBASEVELLIMITS_H
00003 #define HRL_LIB_MESSAGE_PLANARBASEVELLIMITS_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 "std_msgs/Header.h"
00018
00019 namespace hrl_lib
00020 {
00021 template <class ContainerAllocator>
00022 struct PlanarBaseVelLimits_ {
00023 typedef PlanarBaseVelLimits_<ContainerAllocator> Type;
00024
00025 PlanarBaseVelLimits_()
00026 : header()
00027 , xvel_pos_max(0.0)
00028 , xvel_neg_max(0.0)
00029 , yvel_pos_max(0.0)
00030 , yvel_neg_max(0.0)
00031 , avel_max(0.0)
00032 {
00033 }
00034
00035 PlanarBaseVelLimits_(const ContainerAllocator& _alloc)
00036 : header(_alloc)
00037 , xvel_pos_max(0.0)
00038 , xvel_neg_max(0.0)
00039 , yvel_pos_max(0.0)
00040 , yvel_neg_max(0.0)
00041 , avel_max(0.0)
00042 {
00043 }
00044
00045 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00046 ::std_msgs::Header_<ContainerAllocator> header;
00047
00048 typedef double _xvel_pos_max_type;
00049 double xvel_pos_max;
00050
00051 typedef double _xvel_neg_max_type;
00052 double xvel_neg_max;
00053
00054 typedef double _yvel_pos_max_type;
00055 double yvel_pos_max;
00056
00057 typedef double _yvel_neg_max_type;
00058 double yvel_neg_max;
00059
00060 typedef double _avel_max_type;
00061 double avel_max;
00062
00063
00064 typedef boost::shared_ptr< ::hrl_lib::PlanarBaseVelLimits_<ContainerAllocator> > Ptr;
00065 typedef boost::shared_ptr< ::hrl_lib::PlanarBaseVelLimits_<ContainerAllocator> const> ConstPtr;
00066 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00067 };
00068 typedef ::hrl_lib::PlanarBaseVelLimits_<std::allocator<void> > PlanarBaseVelLimits;
00069
00070 typedef boost::shared_ptr< ::hrl_lib::PlanarBaseVelLimits> PlanarBaseVelLimitsPtr;
00071 typedef boost::shared_ptr< ::hrl_lib::PlanarBaseVelLimits const> PlanarBaseVelLimitsConstPtr;
00072
00073
00074 template<typename ContainerAllocator>
00075 std::ostream& operator<<(std::ostream& s, const ::hrl_lib::PlanarBaseVelLimits_<ContainerAllocator> & v)
00076 {
00077 ros::message_operations::Printer< ::hrl_lib::PlanarBaseVelLimits_<ContainerAllocator> >::stream(s, "", v);
00078 return s;}
00079
00080 }
00081
00082 namespace ros
00083 {
00084 namespace message_traits
00085 {
00086 template<class ContainerAllocator> struct IsMessage< ::hrl_lib::PlanarBaseVelLimits_<ContainerAllocator> > : public TrueType {};
00087 template<class ContainerAllocator> struct IsMessage< ::hrl_lib::PlanarBaseVelLimits_<ContainerAllocator> const> : public TrueType {};
00088 template<class ContainerAllocator>
00089 struct MD5Sum< ::hrl_lib::PlanarBaseVelLimits_<ContainerAllocator> > {
00090 static const char* value()
00091 {
00092 return "79d6a8bc99f5988deabb3198a791ba92";
00093 }
00094
00095 static const char* value(const ::hrl_lib::PlanarBaseVelLimits_<ContainerAllocator> &) { return value(); }
00096 static const uint64_t static_value1 = 0x79d6a8bc99f5988dULL;
00097 static const uint64_t static_value2 = 0xeabb3198a791ba92ULL;
00098 };
00099
00100 template<class ContainerAllocator>
00101 struct DataType< ::hrl_lib::PlanarBaseVelLimits_<ContainerAllocator> > {
00102 static const char* value()
00103 {
00104 return "hrl_lib/PlanarBaseVelLimits";
00105 }
00106
00107 static const char* value(const ::hrl_lib::PlanarBaseVelLimits_<ContainerAllocator> &) { return value(); }
00108 };
00109
00110 template<class ContainerAllocator>
00111 struct Definition< ::hrl_lib::PlanarBaseVelLimits_<ContainerAllocator> > {
00112 static const char* value()
00113 {
00114 return "# max allowable velocities in positive and negative X and Y directions\n\
00115 # and max allowable angular velocity.\n\
00116 Header header\n\
00117 float64 xvel_pos_max\n\
00118 float64 xvel_neg_max\n\
00119 float64 yvel_pos_max\n\
00120 float64 yvel_neg_max\n\
00121 float64 avel_max\n\
00122 \n\
00123 \n\
00124 ================================================================================\n\
00125 MSG: std_msgs/Header\n\
00126 # Standard metadata for higher-level stamped data types.\n\
00127 # This is generally used to communicate timestamped data \n\
00128 # in a particular coordinate frame.\n\
00129 # \n\
00130 # sequence ID: consecutively increasing ID \n\
00131 uint32 seq\n\
00132 #Two-integer timestamp that is expressed as:\n\
00133 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00134 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00135 # time-handling sugar is provided by the client library\n\
00136 time stamp\n\
00137 #Frame this data is associated with\n\
00138 # 0: no frame\n\
00139 # 1: global frame\n\
00140 string frame_id\n\
00141 \n\
00142 ";
00143 }
00144
00145 static const char* value(const ::hrl_lib::PlanarBaseVelLimits_<ContainerAllocator> &) { return value(); }
00146 };
00147
00148 template<class ContainerAllocator> struct HasHeader< ::hrl_lib::PlanarBaseVelLimits_<ContainerAllocator> > : public TrueType {};
00149 template<class ContainerAllocator> struct HasHeader< const ::hrl_lib::PlanarBaseVelLimits_<ContainerAllocator> > : public TrueType {};
00150 }
00151 }
00152
00153 namespace ros
00154 {
00155 namespace serialization
00156 {
00157
00158 template<class ContainerAllocator> struct Serializer< ::hrl_lib::PlanarBaseVelLimits_<ContainerAllocator> >
00159 {
00160 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00161 {
00162 stream.next(m.header);
00163 stream.next(m.xvel_pos_max);
00164 stream.next(m.xvel_neg_max);
00165 stream.next(m.yvel_pos_max);
00166 stream.next(m.yvel_neg_max);
00167 stream.next(m.avel_max);
00168 }
00169
00170 ROS_DECLARE_ALLINONE_SERIALIZER;
00171 };
00172 }
00173 }
00174
00175 namespace ros
00176 {
00177 namespace message_operations
00178 {
00179
00180 template<class ContainerAllocator>
00181 struct Printer< ::hrl_lib::PlanarBaseVelLimits_<ContainerAllocator> >
00182 {
00183 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::hrl_lib::PlanarBaseVelLimits_<ContainerAllocator> & v)
00184 {
00185 s << indent << "header: ";
00186 s << std::endl;
00187 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00188 s << indent << "xvel_pos_max: ";
00189 Printer<double>::stream(s, indent + " ", v.xvel_pos_max);
00190 s << indent << "xvel_neg_max: ";
00191 Printer<double>::stream(s, indent + " ", v.xvel_neg_max);
00192 s << indent << "yvel_pos_max: ";
00193 Printer<double>::stream(s, indent + " ", v.yvel_pos_max);
00194 s << indent << "yvel_neg_max: ";
00195 Printer<double>::stream(s, indent + " ", v.yvel_neg_max);
00196 s << indent << "avel_max: ";
00197 Printer<double>::stream(s, indent + " ", v.avel_max);
00198 }
00199 };
00200
00201
00202 }
00203 }
00204
00205 #endif // HRL_LIB_MESSAGE_PLANARBASEVELLIMITS_H
00206
hrl_lib
Author(s): Cressel Anderson, Travis Deyle, Advait Jain, Hai Nguyen, Advisor: Prof. Charlie Kemp, Lab: Healthcare Robotics Lab at Georgia Tech
autogenerated on Wed Nov 27 2013 11:34:06