00001
00002 #ifndef ART_MSGS_MESSAGE_ARTHERTZ_H
00003 #define ART_MSGS_MESSAGE_ARTHERTZ_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013
00014 namespace art_msgs
00015 {
00016 template <class ContainerAllocator>
00017 struct ArtHertz_ : public ros::Message
00018 {
00019 typedef ArtHertz_<ContainerAllocator> Type;
00020
00021 ArtHertz_()
00022 {
00023 }
00024
00025 ArtHertz_(const ContainerAllocator& _alloc)
00026 {
00027 }
00028
00029 static const double APPLANIX;
00030 static const double BRAKE;
00031 static const double COMMANDER;
00032 static const double IOADR;
00033 static const double LASER_FUSION;
00034 static const double LASER_NOISE;
00035 static const double MAPLANES;
00036 static const double NAVIGATOR;
00037 static const double OBSERVERS;
00038 static const double PILOT;
00039 static const double PSEUDO_LASER;
00040 static const double SICKFAST;
00041 static const double STEERING;
00042 static const double THROTTLE;
00043 static const double VEHICLE_TF;
00044
00045 private:
00046 static const char* __s_getDataType_() { return "art_msgs/ArtHertz"; }
00047 public:
00048 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00049
00050 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00051
00052 private:
00053 static const char* __s_getMD5Sum_() { return "fe3d67243941cb078e664e9bc369f978"; }
00054 public:
00055 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00056
00057 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00058
00059 private:
00060 static const char* __s_getMessageDefinition_() { return "# Real-time cycle rates for various ART vehicle nodes.\n\
00061 # $Id: ArtHertz.msg 620 2010-09-25 01:11:51Z jack.oquin $\n\
00062 \n\
00063 # All units are hertz (cycles/second). This is not a published\n\
00064 # message, it defines multi-language constants.\n\
00065 \n\
00066 float64 APPLANIX = 20.0\n\
00067 float64 BRAKE = 20.0\n\
00068 float64 COMMANDER = 10.0\n\
00069 float64 IOADR = 10.0\n\
00070 float64 LASER_FUSION = 10.0\n\
00071 float64 LASER_NOISE = 10.0\n\
00072 float64 MAPLANES = 5.0\n\
00073 float64 NAVIGATOR = 20.0\n\
00074 float64 OBSERVERS = 10.0\n\
00075 float64 PILOT = 20.0\n\
00076 float64 PSEUDO_LASER = 10.0\n\
00077 float64 SICKFAST = 10.0\n\
00078 float64 STEERING = 20.0\n\
00079 float64 THROTTLE = 20.0\n\
00080 float64 VEHICLE_TF = 5.0\n\
00081 \n\
00082 "; }
00083 public:
00084 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00085
00086 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00087
00088 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00089 {
00090 ros::serialization::OStream stream(write_ptr, 1000000000);
00091 return stream.getData();
00092 }
00093
00094 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00095 {
00096 ros::serialization::IStream stream(read_ptr, 1000000000);
00097 return stream.getData();
00098 }
00099
00100 ROS_DEPRECATED virtual uint32_t serializationLength() const
00101 {
00102 uint32_t size = 0;
00103 return size;
00104 }
00105
00106 typedef boost::shared_ptr< ::art_msgs::ArtHertz_<ContainerAllocator> > Ptr;
00107 typedef boost::shared_ptr< ::art_msgs::ArtHertz_<ContainerAllocator> const> ConstPtr;
00108 };
00109 typedef ::art_msgs::ArtHertz_<std::allocator<void> > ArtHertz;
00110
00111 typedef boost::shared_ptr< ::art_msgs::ArtHertz> ArtHertzPtr;
00112 typedef boost::shared_ptr< ::art_msgs::ArtHertz const> ArtHertzConstPtr;
00113
00114 template<typename ContainerAllocator> const double ArtHertz_<ContainerAllocator>::APPLANIX = 20.0;
00115 template<typename ContainerAllocator> const double ArtHertz_<ContainerAllocator>::BRAKE = 20.0;
00116 template<typename ContainerAllocator> const double ArtHertz_<ContainerAllocator>::COMMANDER = 10.0;
00117 template<typename ContainerAllocator> const double ArtHertz_<ContainerAllocator>::IOADR = 10.0;
00118 template<typename ContainerAllocator> const double ArtHertz_<ContainerAllocator>::LASER_FUSION = 10.0;
00119 template<typename ContainerAllocator> const double ArtHertz_<ContainerAllocator>::LASER_NOISE = 10.0;
00120 template<typename ContainerAllocator> const double ArtHertz_<ContainerAllocator>::MAPLANES = 5.0;
00121 template<typename ContainerAllocator> const double ArtHertz_<ContainerAllocator>::NAVIGATOR = 20.0;
00122 template<typename ContainerAllocator> const double ArtHertz_<ContainerAllocator>::OBSERVERS = 10.0;
00123 template<typename ContainerAllocator> const double ArtHertz_<ContainerAllocator>::PILOT = 20.0;
00124 template<typename ContainerAllocator> const double ArtHertz_<ContainerAllocator>::PSEUDO_LASER = 10.0;
00125 template<typename ContainerAllocator> const double ArtHertz_<ContainerAllocator>::SICKFAST = 10.0;
00126 template<typename ContainerAllocator> const double ArtHertz_<ContainerAllocator>::STEERING = 20.0;
00127 template<typename ContainerAllocator> const double ArtHertz_<ContainerAllocator>::THROTTLE = 20.0;
00128 template<typename ContainerAllocator> const double ArtHertz_<ContainerAllocator>::VEHICLE_TF = 5.0;
00129
00130 template<typename ContainerAllocator>
00131 std::ostream& operator<<(std::ostream& s, const ::art_msgs::ArtHertz_<ContainerAllocator> & v)
00132 {
00133 ros::message_operations::Printer< ::art_msgs::ArtHertz_<ContainerAllocator> >::stream(s, "", v);
00134 return s;}
00135
00136 }
00137
00138 namespace ros
00139 {
00140 namespace message_traits
00141 {
00142 template<class ContainerAllocator>
00143 struct MD5Sum< ::art_msgs::ArtHertz_<ContainerAllocator> > {
00144 static const char* value()
00145 {
00146 return "fe3d67243941cb078e664e9bc369f978";
00147 }
00148
00149 static const char* value(const ::art_msgs::ArtHertz_<ContainerAllocator> &) { return value(); }
00150 static const uint64_t static_value1 = 0xfe3d67243941cb07ULL;
00151 static const uint64_t static_value2 = 0x8e664e9bc369f978ULL;
00152 };
00153
00154 template<class ContainerAllocator>
00155 struct DataType< ::art_msgs::ArtHertz_<ContainerAllocator> > {
00156 static const char* value()
00157 {
00158 return "art_msgs/ArtHertz";
00159 }
00160
00161 static const char* value(const ::art_msgs::ArtHertz_<ContainerAllocator> &) { return value(); }
00162 };
00163
00164 template<class ContainerAllocator>
00165 struct Definition< ::art_msgs::ArtHertz_<ContainerAllocator> > {
00166 static const char* value()
00167 {
00168 return "# Real-time cycle rates for various ART vehicle nodes.\n\
00169 # $Id: ArtHertz.msg 620 2010-09-25 01:11:51Z jack.oquin $\n\
00170 \n\
00171 # All units are hertz (cycles/second). This is not a published\n\
00172 # message, it defines multi-language constants.\n\
00173 \n\
00174 float64 APPLANIX = 20.0\n\
00175 float64 BRAKE = 20.0\n\
00176 float64 COMMANDER = 10.0\n\
00177 float64 IOADR = 10.0\n\
00178 float64 LASER_FUSION = 10.0\n\
00179 float64 LASER_NOISE = 10.0\n\
00180 float64 MAPLANES = 5.0\n\
00181 float64 NAVIGATOR = 20.0\n\
00182 float64 OBSERVERS = 10.0\n\
00183 float64 PILOT = 20.0\n\
00184 float64 PSEUDO_LASER = 10.0\n\
00185 float64 SICKFAST = 10.0\n\
00186 float64 STEERING = 20.0\n\
00187 float64 THROTTLE = 20.0\n\
00188 float64 VEHICLE_TF = 5.0\n\
00189 \n\
00190 ";
00191 }
00192
00193 static const char* value(const ::art_msgs::ArtHertz_<ContainerAllocator> &) { return value(); }
00194 };
00195
00196 template<class ContainerAllocator> struct IsFixedSize< ::art_msgs::ArtHertz_<ContainerAllocator> > : public TrueType {};
00197 }
00198 }
00199
00200 namespace ros
00201 {
00202 namespace serialization
00203 {
00204
00205 template<class ContainerAllocator> struct Serializer< ::art_msgs::ArtHertz_<ContainerAllocator> >
00206 {
00207 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00208 {
00209 }
00210
00211 ROS_DECLARE_ALLINONE_SERIALIZER;
00212 };
00213 }
00214 }
00215
00216 namespace ros
00217 {
00218 namespace message_operations
00219 {
00220
00221 template<class ContainerAllocator>
00222 struct Printer< ::art_msgs::ArtHertz_<ContainerAllocator> >
00223 {
00224 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::art_msgs::ArtHertz_<ContainerAllocator> & v)
00225 {
00226 }
00227 };
00228
00229
00230 }
00231 }
00232
00233 #endif // ART_MSGS_MESSAGE_ARTHERTZ_H
00234