AutoCar  v1.0.0
car_speed.h
1 // Generated by gencpp from file odometry/car_speed.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef ODOMETRY_MESSAGE_CAR_SPEED_H
6 #define ODOMETRY_MESSAGE_CAR_SPEED_H
7 
8 
9 #include <string>
10 #include <vector>
11 #include <map>
12 
13 #include <ros/types.h>
14 #include <ros/serialization.h>
15 #include <ros/builtin_message_traits.h>
16 #include <ros/message_operations.h>
17 
18 
19 namespace odometry
20 {
21 template <class ContainerAllocator>
22 struct car_speed_
23 {
25 
26  car_speed_()
27  : angle(0.0)
28  , v_x(0.0)
29  , v_y(0.0)
30  , v_r(0.0)
31  , yaw(0.0) {
32  }
33  car_speed_(const ContainerAllocator& _alloc)
34  : angle(0.0)
35  , v_x(0.0)
36  , v_y(0.0)
37  , v_r(0.0)
38  , yaw(0.0) {
39  (void)_alloc;
40  }
41 
42 
43 
44  typedef double _angle_type;
45  _angle_type angle;
46 
47  typedef double _v_x_type;
48  _v_x_type v_x;
49 
50  typedef double _v_y_type;
51  _v_y_type v_y;
52 
53  typedef double _v_r_type;
54  _v_r_type v_r;
55 
56  typedef double _yaw_type;
57  _yaw_type yaw;
58 
59 
60 
61 
62  typedef boost::shared_ptr< ::odometry::car_speed_<ContainerAllocator> > Ptr;
63  typedef boost::shared_ptr< ::odometry::car_speed_<ContainerAllocator> const> ConstPtr;
64 
65 }; // struct car_speed_
66 
67 typedef ::odometry::car_speed_<std::allocator<void> > car_speed;
68 
69 typedef boost::shared_ptr< ::odometry::car_speed > car_speedPtr;
70 typedef boost::shared_ptr< ::odometry::car_speed const> car_speedConstPtr;
71 
72 // constants requiring out of line definition
73 
74 
75 
76 template<typename ContainerAllocator>
77 std::ostream& operator<<(std::ostream& s, const ::odometry::car_speed_<ContainerAllocator> & v)
78 {
79 ros::message_operations::Printer< ::odometry::car_speed_<ContainerAllocator> >::stream(s, "", v);
80 return s;
81 }
82 
83 } // namespace odometry
84 
85 namespace ros
86 {
87 namespace message_traits
88 {
89 
90 
91 
92 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
93 // {'odometry': ['/home/ubuntu/auto_car/src/odometry/msg']}
94 
95 // !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
96 
97 
98 
99 
100 template <class ContainerAllocator>
101 struct IsFixedSize< ::odometry::car_speed_<ContainerAllocator> >
102  : TrueType
103  { };
104 
105 template <class ContainerAllocator>
106 struct IsFixedSize< ::odometry::car_speed_<ContainerAllocator> const>
107  : TrueType
108  { };
109 
110 template <class ContainerAllocator>
111 struct IsMessage< ::odometry::car_speed_<ContainerAllocator> >
112  : TrueType
113  { };
114 
115 template <class ContainerAllocator>
116 struct IsMessage< ::odometry::car_speed_<ContainerAllocator> const>
117  : TrueType
118  { };
119 
120 template <class ContainerAllocator>
121 struct HasHeader< ::odometry::car_speed_<ContainerAllocator> >
122  : FalseType
123  { };
124 
125 template <class ContainerAllocator>
126 struct HasHeader< ::odometry::car_speed_<ContainerAllocator> const>
127  : FalseType
128  { };
129 
130 
131 template<class ContainerAllocator>
132 struct MD5Sum< ::odometry::car_speed_<ContainerAllocator> >
133 {
134  static const char* value()
135  {
136  return "7a02c599e55c2d47f4d95b574a34e902";
137  }
138 
139  static const char* value(const ::odometry::car_speed_<ContainerAllocator>&) { return value(); }
140  static const uint64_t static_value1 = 0x7a02c599e55c2d47ULL;
141  static const uint64_t static_value2 = 0xf4d95b574a34e902ULL;
142 };
143 
144 template<class ContainerAllocator>
145 struct DataType< ::odometry::car_speed_<ContainerAllocator> >
146 {
147  static const char* value()
148  {
149  return "odometry/car_speed";
150  }
151 
152  static const char* value(const ::odometry::car_speed_<ContainerAllocator>&) { return value(); }
153 };
154 
155 template<class ContainerAllocator>
156 struct Definition< ::odometry::car_speed_<ContainerAllocator> >
157 {
158  static const char* value()
159  {
160  return "float64 angle\n\
161 float64 v_x\n\
162 float64 v_y\n\
163 float64 v_r\n\
164 float64 yaw\n\
165 ";
166  }
167 
168  static const char* value(const ::odometry::car_speed_<ContainerAllocator>&) { return value(); }
169 };
170 
171 } // namespace message_traits
172 } // namespace ros
173 
174 namespace ros
175 {
176 namespace serialization
177 {
178 
179  template<class ContainerAllocator> struct Serializer< ::odometry::car_speed_<ContainerAllocator> >
180  {
181  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
182  {
183  stream.next(m.angle);
184  stream.next(m.v_x);
185  stream.next(m.v_y);
186  stream.next(m.v_r);
187  stream.next(m.yaw);
188  }
189 
190  ROS_DECLARE_ALLINONE_SERIALIZER;
191  }; // struct car_speed_
192 
193 } // namespace serialization
194 } // namespace ros
195 
196 namespace ros
197 {
198 namespace message_operations
199 {
200 
201 template<class ContainerAllocator>
202 struct Printer< ::odometry::car_speed_<ContainerAllocator> >
203 {
204  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::odometry::car_speed_<ContainerAllocator>& v)
205  {
206  s << indent << "angle: ";
207  Printer<double>::stream(s, indent + " ", v.angle);
208  s << indent << "v_x: ";
209  Printer<double>::stream(s, indent + " ", v.v_x);
210  s << indent << "v_y: ";
211  Printer<double>::stream(s, indent + " ", v.v_y);
212  s << indent << "v_r: ";
213  Printer<double>::stream(s, indent + " ", v.v_r);
214  s << indent << "yaw: ";
215  Printer<double>::stream(s, indent + " ", v.yaw);
216  }
217 };
218 
219 } // namespace message_operations
220 } // namespace ros
221 
222 #endif // ODOMETRY_MESSAGE_CAR_SPEED_H
Definition: car_speed.h:22
Definition: AprilTagDetection.h:76
Definition: car_speed.h:19