5 #ifndef SERIAL_COMM_MESSAGE_CAR_SPEED_H 6 #define SERIAL_COMM_MESSAGE_CAR_SPEED_H 13 #include <ros/types.h> 14 #include <ros/serialization.h> 15 #include <ros/builtin_message_traits.h> 16 #include <ros/message_operations.h> 21 template <
class ContainerAllocator>
44 typedef double _angle_type;
47 typedef double _v_x_type;
50 typedef double _v_y_type;
53 typedef double _v_r_type;
56 typedef double _yaw_type;
62 typedef boost::shared_ptr< ::serial_comm::car_speed_<ContainerAllocator> > Ptr;
63 typedef boost::shared_ptr< ::serial_comm::car_speed_<ContainerAllocator>
const> ConstPtr;
67 typedef ::serial_comm::car_speed_<std::allocator<void> >
car_speed;
69 typedef boost::shared_ptr< ::serial_comm::car_speed > car_speedPtr;
70 typedef boost::shared_ptr< ::serial_comm::car_speed const> car_speedConstPtr;
76 template<
typename ContainerAllocator>
77 std::ostream& operator<<(std::ostream& s, const ::serial_comm::car_speed_<ContainerAllocator> & v)
79 ros::message_operations::Printer< ::serial_comm::car_speed_<ContainerAllocator> >::stream(s,
"", v);
87 namespace message_traits
100 template <
class ContainerAllocator>
105 template <
class ContainerAllocator>
110 template <
class ContainerAllocator>
115 template <
class ContainerAllocator>
120 template <
class ContainerAllocator>
125 template <
class ContainerAllocator>
131 template<
class ContainerAllocator>
134 static const char* value()
136 return "7a02c599e55c2d47f4d95b574a34e902";
139 static const char* value(const ::serial_comm::car_speed_<ContainerAllocator>&) {
return value(); }
140 static const uint64_t static_value1 = 0x7a02c599e55c2d47ULL;
141 static const uint64_t static_value2 = 0xf4d95b574a34e902ULL;
144 template<
class ContainerAllocator>
147 static const char* value()
149 return "serial_comm/car_speed";
152 static const char* value(const ::serial_comm::car_speed_<ContainerAllocator>&) {
return value(); }
155 template<
class ContainerAllocator>
158 static const char* value()
160 return "float64 angle\n\ 168 static const char* value(const ::serial_comm::car_speed_<ContainerAllocator>&) {
return value(); }
176 namespace serialization
181 template<
typename Stream,
typename T>
inline static void allInOne(Stream& stream, T m)
183 stream.next(m.angle);
190 ROS_DECLARE_ALLINONE_SERIALIZER;
198 namespace message_operations
201 template<
class ContainerAllocator>
204 template<
typename Stream>
static void stream(Stream& s,
const std::string& indent, const ::serial_comm::car_speed_<ContainerAllocator>& v)
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);
222 #endif // SERIAL_COMM_MESSAGE_CAR_SPEED_H Definition: AprilTagDetection.h:76
Definition: car_speed.h:19
Definition: car_speed.h:22