00001
00002 #ifndef VICON_BRIDGE_MESSAGE_TFDISTORTINFO_H
00003 #define VICON_BRIDGE_MESSAGE_TFDISTORTINFO_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 vicon_bridge
00019 {
00020 template <class ContainerAllocator>
00021 struct TfDistortInfo_ {
00022 typedef TfDistortInfo_<ContainerAllocator> Type;
00023
00024 TfDistortInfo_()
00025 : tf_pub_rate(0.0)
00026 , tf_ref_frame()
00027 , tf_frame_in()
00028 , tf_frame_out()
00029 , delay(0)
00030 , position_scale(0.0)
00031 , noise_type()
00032 , sigma_roll_pitch(0.0)
00033 , sigma_yaw(0.0)
00034 , sigma_xy(0.0)
00035 , sigma_z(0.0)
00036 , random_walk_k_xy(0.0)
00037 , random_walk_k_z(0.0)
00038 , random_walk_sigma_xy(0.0)
00039 , random_walk_sigma_z(0.0)
00040 , random_walk_tau_xy(0.0)
00041 , random_walk_tau_z(0.0)
00042 {
00043 }
00044
00045 TfDistortInfo_(const ContainerAllocator& _alloc)
00046 : tf_pub_rate(0.0)
00047 , tf_ref_frame(_alloc)
00048 , tf_frame_in(_alloc)
00049 , tf_frame_out(_alloc)
00050 , delay(0)
00051 , position_scale(0.0)
00052 , noise_type(_alloc)
00053 , sigma_roll_pitch(0.0)
00054 , sigma_yaw(0.0)
00055 , sigma_xy(0.0)
00056 , sigma_z(0.0)
00057 , random_walk_k_xy(0.0)
00058 , random_walk_k_z(0.0)
00059 , random_walk_sigma_xy(0.0)
00060 , random_walk_sigma_z(0.0)
00061 , random_walk_tau_xy(0.0)
00062 , random_walk_tau_z(0.0)
00063 {
00064 }
00065
00066 typedef double _tf_pub_rate_type;
00067 double tf_pub_rate;
00068
00069 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _tf_ref_frame_type;
00070 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > tf_ref_frame;
00071
00072 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _tf_frame_in_type;
00073 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > tf_frame_in;
00074
00075 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _tf_frame_out_type;
00076 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > tf_frame_out;
00077
00078 typedef int32_t _delay_type;
00079 int32_t delay;
00080
00081 typedef double _position_scale_type;
00082 double position_scale;
00083
00084 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _noise_type_type;
00085 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > noise_type;
00086
00087 typedef double _sigma_roll_pitch_type;
00088 double sigma_roll_pitch;
00089
00090 typedef double _sigma_yaw_type;
00091 double sigma_yaw;
00092
00093 typedef double _sigma_xy_type;
00094 double sigma_xy;
00095
00096 typedef double _sigma_z_type;
00097 double sigma_z;
00098
00099 typedef double _random_walk_k_xy_type;
00100 double random_walk_k_xy;
00101
00102 typedef double _random_walk_k_z_type;
00103 double random_walk_k_z;
00104
00105 typedef double _random_walk_sigma_xy_type;
00106 double random_walk_sigma_xy;
00107
00108 typedef double _random_walk_sigma_z_type;
00109 double random_walk_sigma_z;
00110
00111 typedef double _random_walk_tau_xy_type;
00112 double random_walk_tau_xy;
00113
00114 typedef double _random_walk_tau_z_type;
00115 double random_walk_tau_z;
00116
00117
00118 typedef boost::shared_ptr< ::vicon_bridge::TfDistortInfo_<ContainerAllocator> > Ptr;
00119 typedef boost::shared_ptr< ::vicon_bridge::TfDistortInfo_<ContainerAllocator> const> ConstPtr;
00120 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00121 };
00122 typedef ::vicon_bridge::TfDistortInfo_<std::allocator<void> > TfDistortInfo;
00123
00124 typedef boost::shared_ptr< ::vicon_bridge::TfDistortInfo> TfDistortInfoPtr;
00125 typedef boost::shared_ptr< ::vicon_bridge::TfDistortInfo const> TfDistortInfoConstPtr;
00126
00127
00128 template<typename ContainerAllocator>
00129 std::ostream& operator<<(std::ostream& s, const ::vicon_bridge::TfDistortInfo_<ContainerAllocator> & v)
00130 {
00131 ros::message_operations::Printer< ::vicon_bridge::TfDistortInfo_<ContainerAllocator> >::stream(s, "", v);
00132 return s;}
00133
00134 }
00135
00136 namespace ros
00137 {
00138 namespace message_traits
00139 {
00140 template<class ContainerAllocator> struct IsMessage< ::vicon_bridge::TfDistortInfo_<ContainerAllocator> > : public TrueType {};
00141 template<class ContainerAllocator> struct IsMessage< ::vicon_bridge::TfDistortInfo_<ContainerAllocator> const> : public TrueType {};
00142 template<class ContainerAllocator>
00143 struct MD5Sum< ::vicon_bridge::TfDistortInfo_<ContainerAllocator> > {
00144 static const char* value()
00145 {
00146 return "a7025291415a53264a70b836a949be8d";
00147 }
00148
00149 static const char* value(const ::vicon_bridge::TfDistortInfo_<ContainerAllocator> &) { return value(); }
00150 static const uint64_t static_value1 = 0xa7025291415a5326ULL;
00151 static const uint64_t static_value2 = 0x4a70b836a949be8dULL;
00152 };
00153
00154 template<class ContainerAllocator>
00155 struct DataType< ::vicon_bridge::TfDistortInfo_<ContainerAllocator> > {
00156 static const char* value()
00157 {
00158 return "vicon_bridge/TfDistortInfo";
00159 }
00160
00161 static const char* value(const ::vicon_bridge::TfDistortInfo_<ContainerAllocator> &) { return value(); }
00162 };
00163
00164 template<class ContainerAllocator>
00165 struct Definition< ::vicon_bridge::TfDistortInfo_<ContainerAllocator> > {
00166 static const char* value()
00167 {
00168 return "float64 tf_pub_rate\n\
00169 string tf_ref_frame\n\
00170 string tf_frame_in\n\
00171 string tf_frame_out\n\
00172 int32 delay\n\
00173 float64 position_scale\n\
00174 string noise_type\n\
00175 float64 sigma_roll_pitch\n\
00176 float64 sigma_yaw\n\
00177 float64 sigma_xy\n\
00178 float64 sigma_z\n\
00179 float64 random_walk_k_xy\n\
00180 float64 random_walk_k_z\n\
00181 float64 random_walk_sigma_xy\n\
00182 float64 random_walk_sigma_z\n\
00183 float64 random_walk_tau_xy\n\
00184 float64 random_walk_tau_z\n\
00185 ";
00186 }
00187
00188 static const char* value(const ::vicon_bridge::TfDistortInfo_<ContainerAllocator> &) { return value(); }
00189 };
00190
00191 }
00192 }
00193
00194 namespace ros
00195 {
00196 namespace serialization
00197 {
00198
00199 template<class ContainerAllocator> struct Serializer< ::vicon_bridge::TfDistortInfo_<ContainerAllocator> >
00200 {
00201 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00202 {
00203 stream.next(m.tf_pub_rate);
00204 stream.next(m.tf_ref_frame);
00205 stream.next(m.tf_frame_in);
00206 stream.next(m.tf_frame_out);
00207 stream.next(m.delay);
00208 stream.next(m.position_scale);
00209 stream.next(m.noise_type);
00210 stream.next(m.sigma_roll_pitch);
00211 stream.next(m.sigma_yaw);
00212 stream.next(m.sigma_xy);
00213 stream.next(m.sigma_z);
00214 stream.next(m.random_walk_k_xy);
00215 stream.next(m.random_walk_k_z);
00216 stream.next(m.random_walk_sigma_xy);
00217 stream.next(m.random_walk_sigma_z);
00218 stream.next(m.random_walk_tau_xy);
00219 stream.next(m.random_walk_tau_z);
00220 }
00221
00222 ROS_DECLARE_ALLINONE_SERIALIZER;
00223 };
00224 }
00225 }
00226
00227 namespace ros
00228 {
00229 namespace message_operations
00230 {
00231
00232 template<class ContainerAllocator>
00233 struct Printer< ::vicon_bridge::TfDistortInfo_<ContainerAllocator> >
00234 {
00235 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::vicon_bridge::TfDistortInfo_<ContainerAllocator> & v)
00236 {
00237 s << indent << "tf_pub_rate: ";
00238 Printer<double>::stream(s, indent + " ", v.tf_pub_rate);
00239 s << indent << "tf_ref_frame: ";
00240 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.tf_ref_frame);
00241 s << indent << "tf_frame_in: ";
00242 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.tf_frame_in);
00243 s << indent << "tf_frame_out: ";
00244 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.tf_frame_out);
00245 s << indent << "delay: ";
00246 Printer<int32_t>::stream(s, indent + " ", v.delay);
00247 s << indent << "position_scale: ";
00248 Printer<double>::stream(s, indent + " ", v.position_scale);
00249 s << indent << "noise_type: ";
00250 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.noise_type);
00251 s << indent << "sigma_roll_pitch: ";
00252 Printer<double>::stream(s, indent + " ", v.sigma_roll_pitch);
00253 s << indent << "sigma_yaw: ";
00254 Printer<double>::stream(s, indent + " ", v.sigma_yaw);
00255 s << indent << "sigma_xy: ";
00256 Printer<double>::stream(s, indent + " ", v.sigma_xy);
00257 s << indent << "sigma_z: ";
00258 Printer<double>::stream(s, indent + " ", v.sigma_z);
00259 s << indent << "random_walk_k_xy: ";
00260 Printer<double>::stream(s, indent + " ", v.random_walk_k_xy);
00261 s << indent << "random_walk_k_z: ";
00262 Printer<double>::stream(s, indent + " ", v.random_walk_k_z);
00263 s << indent << "random_walk_sigma_xy: ";
00264 Printer<double>::stream(s, indent + " ", v.random_walk_sigma_xy);
00265 s << indent << "random_walk_sigma_z: ";
00266 Printer<double>::stream(s, indent + " ", v.random_walk_sigma_z);
00267 s << indent << "random_walk_tau_xy: ";
00268 Printer<double>::stream(s, indent + " ", v.random_walk_tau_xy);
00269 s << indent << "random_walk_tau_z: ";
00270 Printer<double>::stream(s, indent + " ", v.random_walk_tau_z);
00271 }
00272 };
00273
00274
00275 }
00276 }
00277
00278 #endif // VICON_BRIDGE_MESSAGE_TFDISTORTINFO_H
00279