$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-art_vehicle/doc_stacks/2013-03-01_14-08-11.497537/art_vehicle/art_msgs/msg/Epsilon.msg */ 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 private: 00040 static const char* __s_getDataType_() { return "art_msgs/Epsilon"; } 00041 public: 00042 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00043 00044 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00045 00046 private: 00047 static const char* __s_getMD5Sum_() { return "0d2bf0d163e0062abbee50aa67ba8a3a"; } 00048 public: 00049 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00050 00051 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00052 00053 private: 00054 static const char* __s_getMessageDefinition_() { return "# ART epsilon constants\n\ 00055 #\n\ 00056 # These constants represent trivial differences in distance, speed,\n\ 00057 # angle, etc.\n\ 00058 \n\ 00059 # $Id: Epsilon.msg 1539 2011-05-09 04:09:20Z jack.oquin $\n\ 00060 \n\ 00061 # constants\n\ 00062 float32 float_value = 1e-5\n\ 00063 float32 distance = 0.01\n\ 00064 float32 speed = 0.01\n\ 00065 \n\ 00066 # epsilon values for servo requests\n\ 00067 float32 brake_position = 0.01\n\ 00068 float32 steering_angle = 0.001\n\ 00069 float32 throttle_position = 0.01\n\ 00070 \n\ 00071 "; } 00072 public: 00073 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00074 00075 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00076 00077 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00078 { 00079 ros::serialization::OStream stream(write_ptr, 1000000000); 00080 return stream.getData(); 00081 } 00082 00083 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00084 { 00085 ros::serialization::IStream stream(read_ptr, 1000000000); 00086 return stream.getData(); 00087 } 00088 00089 ROS_DEPRECATED virtual uint32_t serializationLength() const 00090 { 00091 uint32_t size = 0; 00092 return size; 00093 } 00094 00095 typedef boost::shared_ptr< ::art_msgs::Epsilon_<ContainerAllocator> > Ptr; 00096 typedef boost::shared_ptr< ::art_msgs::Epsilon_<ContainerAllocator> const> ConstPtr; 00097 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00098 }; // struct Epsilon 00099 typedef ::art_msgs::Epsilon_<std::allocator<void> > Epsilon; 00100 00101 typedef boost::shared_ptr< ::art_msgs::Epsilon> EpsilonPtr; 00102 typedef boost::shared_ptr< ::art_msgs::Epsilon const> EpsilonConstPtr; 00103 00104 template<typename ContainerAllocator> const float Epsilon_<ContainerAllocator>::float_value = 1e-05; 00105 template<typename ContainerAllocator> const float Epsilon_<ContainerAllocator>::distance = 0.01; 00106 template<typename ContainerAllocator> const float Epsilon_<ContainerAllocator>::speed = 0.01; 00107 template<typename ContainerAllocator> const float Epsilon_<ContainerAllocator>::brake_position = 0.01; 00108 template<typename ContainerAllocator> const float Epsilon_<ContainerAllocator>::steering_angle = 0.001; 00109 template<typename ContainerAllocator> const float Epsilon_<ContainerAllocator>::throttle_position = 0.01; 00110 00111 template<typename ContainerAllocator> 00112 std::ostream& operator<<(std::ostream& s, const ::art_msgs::Epsilon_<ContainerAllocator> & v) 00113 { 00114 ros::message_operations::Printer< ::art_msgs::Epsilon_<ContainerAllocator> >::stream(s, "", v); 00115 return s;} 00116 00117 } // namespace art_msgs 00118 00119 namespace ros 00120 { 00121 namespace message_traits 00122 { 00123 template<class ContainerAllocator> struct IsMessage< ::art_msgs::Epsilon_<ContainerAllocator> > : public TrueType {}; 00124 template<class ContainerAllocator> struct IsMessage< ::art_msgs::Epsilon_<ContainerAllocator> const> : public TrueType {}; 00125 template<class ContainerAllocator> 00126 struct MD5Sum< ::art_msgs::Epsilon_<ContainerAllocator> > { 00127 static const char* value() 00128 { 00129 return "0d2bf0d163e0062abbee50aa67ba8a3a"; 00130 } 00131 00132 static const char* value(const ::art_msgs::Epsilon_<ContainerAllocator> &) { return value(); } 00133 static const uint64_t static_value1 = 0x0d2bf0d163e0062aULL; 00134 static const uint64_t static_value2 = 0xbbee50aa67ba8a3aULL; 00135 }; 00136 00137 template<class ContainerAllocator> 00138 struct DataType< ::art_msgs::Epsilon_<ContainerAllocator> > { 00139 static const char* value() 00140 { 00141 return "art_msgs/Epsilon"; 00142 } 00143 00144 static const char* value(const ::art_msgs::Epsilon_<ContainerAllocator> &) { return value(); } 00145 }; 00146 00147 template<class ContainerAllocator> 00148 struct Definition< ::art_msgs::Epsilon_<ContainerAllocator> > { 00149 static const char* value() 00150 { 00151 return "# ART epsilon constants\n\ 00152 #\n\ 00153 # These constants represent trivial differences in distance, speed,\n\ 00154 # angle, etc.\n\ 00155 \n\ 00156 # $Id: Epsilon.msg 1539 2011-05-09 04:09:20Z jack.oquin $\n\ 00157 \n\ 00158 # constants\n\ 00159 float32 float_value = 1e-5\n\ 00160 float32 distance = 0.01\n\ 00161 float32 speed = 0.01\n\ 00162 \n\ 00163 # epsilon values for servo requests\n\ 00164 float32 brake_position = 0.01\n\ 00165 float32 steering_angle = 0.001\n\ 00166 float32 throttle_position = 0.01\n\ 00167 \n\ 00168 "; 00169 } 00170 00171 static const char* value(const ::art_msgs::Epsilon_<ContainerAllocator> &) { return value(); } 00172 }; 00173 00174 template<class ContainerAllocator> struct IsFixedSize< ::art_msgs::Epsilon_<ContainerAllocator> > : public TrueType {}; 00175 } // namespace message_traits 00176 } // namespace ros 00177 00178 namespace ros 00179 { 00180 namespace serialization 00181 { 00182 00183 template<class ContainerAllocator> struct Serializer< ::art_msgs::Epsilon_<ContainerAllocator> > 00184 { 00185 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00186 { 00187 } 00188 00189 ROS_DECLARE_ALLINONE_SERIALIZER; 00190 }; // struct Epsilon_ 00191 } // namespace serialization 00192 } // namespace ros 00193 00194 namespace ros 00195 { 00196 namespace message_operations 00197 { 00198 00199 template<class ContainerAllocator> 00200 struct Printer< ::art_msgs::Epsilon_<ContainerAllocator> > 00201 { 00202 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::art_msgs::Epsilon_<ContainerAllocator> & v) 00203 { 00204 } 00205 }; 00206 00207 00208 } // namespace message_operations 00209 } // namespace ros 00210 00211 #endif // ART_MSGS_MESSAGE_EPSILON_H 00212