Go to the documentation of this file.00001
00002 #ifndef ART_MSGS_MESSAGE_EPSILON_H
00003 #define ART_MSGS_MESSAGE_EPSILON_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
00018 namespace art_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct Epsilon_ {
00022 typedef Epsilon_<ContainerAllocator> Type;
00023
00024 Epsilon_()
00025 {
00026 }
00027
00028 Epsilon_(const ContainerAllocator& _alloc)
00029 {
00030 }
00031
00032 static const float float_value;
00033 static const float distance;
00034 static const float speed;
00035 static const float brake_position;
00036 static const float steering_angle;
00037 static const float throttle_position;
00038
00039 typedef boost::shared_ptr< ::art_msgs::Epsilon_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::art_msgs::Epsilon_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::art_msgs::Epsilon_<std::allocator<void> > Epsilon;
00044
00045 typedef boost::shared_ptr< ::art_msgs::Epsilon> EpsilonPtr;
00046 typedef boost::shared_ptr< ::art_msgs::Epsilon const> EpsilonConstPtr;
00047
00048 template<typename ContainerAllocator> const float Epsilon_<ContainerAllocator>::float_value = 1e-05;
00049 template<typename ContainerAllocator> const float Epsilon_<ContainerAllocator>::distance = 0.01;
00050 template<typename ContainerAllocator> const float Epsilon_<ContainerAllocator>::speed = 0.01;
00051 template<typename ContainerAllocator> const float Epsilon_<ContainerAllocator>::brake_position = 0.01;
00052 template<typename ContainerAllocator> const float Epsilon_<ContainerAllocator>::steering_angle = 0.001;
00053 template<typename ContainerAllocator> const float Epsilon_<ContainerAllocator>::throttle_position = 0.01;
00054
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const ::art_msgs::Epsilon_<ContainerAllocator> & v)
00057 {
00058 ros::message_operations::Printer< ::art_msgs::Epsilon_<ContainerAllocator> >::stream(s, "", v);
00059 return s;}
00060
00061 }
00062
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::art_msgs::Epsilon_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::art_msgs::Epsilon_<ContainerAllocator> const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::art_msgs::Epsilon_<ContainerAllocator> > {
00071 static const char* value()
00072 {
00073 return "0d2bf0d163e0062abbee50aa67ba8a3a";
00074 }
00075
00076 static const char* value(const ::art_msgs::Epsilon_<ContainerAllocator> &) { return value(); }
00077 static const uint64_t static_value1 = 0x0d2bf0d163e0062aULL;
00078 static const uint64_t static_value2 = 0xbbee50aa67ba8a3aULL;
00079 };
00080
00081 template<class ContainerAllocator>
00082 struct DataType< ::art_msgs::Epsilon_<ContainerAllocator> > {
00083 static const char* value()
00084 {
00085 return "art_msgs/Epsilon";
00086 }
00087
00088 static const char* value(const ::art_msgs::Epsilon_<ContainerAllocator> &) { return value(); }
00089 };
00090
00091 template<class ContainerAllocator>
00092 struct Definition< ::art_msgs::Epsilon_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "# ART epsilon constants\n\
00096 #\n\
00097 # These constants represent trivial differences in distance, speed,\n\
00098 # angle, etc.\n\
00099 \n\
00100 # $Id: Epsilon.msg 1539 2011-05-09 04:09:20Z jack.oquin $\n\
00101 \n\
00102 # constants\n\
00103 float32 float_value = 1e-5\n\
00104 float32 distance = 0.01\n\
00105 float32 speed = 0.01\n\
00106 \n\
00107 # epsilon values for servo requests\n\
00108 float32 brake_position = 0.01\n\
00109 float32 steering_angle = 0.001\n\
00110 float32 throttle_position = 0.01\n\
00111 \n\
00112 ";
00113 }
00114
00115 static const char* value(const ::art_msgs::Epsilon_<ContainerAllocator> &) { return value(); }
00116 };
00117
00118 template<class ContainerAllocator> struct IsFixedSize< ::art_msgs::Epsilon_<ContainerAllocator> > : public TrueType {};
00119 }
00120 }
00121
00122 namespace ros
00123 {
00124 namespace serialization
00125 {
00126
00127 template<class ContainerAllocator> struct Serializer< ::art_msgs::Epsilon_<ContainerAllocator> >
00128 {
00129 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00130 {
00131 }
00132
00133 ROS_DECLARE_ALLINONE_SERIALIZER;
00134 };
00135 }
00136 }
00137
00138 namespace ros
00139 {
00140 namespace message_operations
00141 {
00142
00143 template<class ContainerAllocator>
00144 struct Printer< ::art_msgs::Epsilon_<ContainerAllocator> >
00145 {
00146 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::art_msgs::Epsilon_<ContainerAllocator> & v)
00147 {
00148 }
00149 };
00150
00151
00152 }
00153 }
00154
00155 #endif // ART_MSGS_MESSAGE_EPSILON_H
00156