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