AutoCar  v1.0.0
pan_data.h
1 // Generated by gencpp from file serial_comm/pan_data.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef SERIAL_COMM_MESSAGE_PAN_DATA_H
6 #define SERIAL_COMM_MESSAGE_PAN_DATA_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 serial_comm
20 {
21 template <class ContainerAllocator>
22 struct pan_data_
23 {
25 
26  pan_data_()
27  : yaw(0.0)
28  , pitch(0.0) {
29  }
30  pan_data_(const ContainerAllocator& _alloc)
31  : yaw(0.0)
32  , pitch(0.0) {
33  (void)_alloc;
34  }
35 
36 
37 
38  typedef double _yaw_type;
39  _yaw_type yaw;
40 
41  typedef double _pitch_type;
42  _pitch_type pitch;
43 
44 
45 
46 
47  typedef boost::shared_ptr< ::serial_comm::pan_data_<ContainerAllocator> > Ptr;
48  typedef boost::shared_ptr< ::serial_comm::pan_data_<ContainerAllocator> const> ConstPtr;
49 
50 }; // struct pan_data_
51 
52 typedef ::serial_comm::pan_data_<std::allocator<void> > pan_data;
53 
54 typedef boost::shared_ptr< ::serial_comm::pan_data > pan_dataPtr;
55 typedef boost::shared_ptr< ::serial_comm::pan_data const> pan_dataConstPtr;
56 
57 // constants requiring out of line definition
58 
59 
60 
61 template<typename ContainerAllocator>
62 std::ostream& operator<<(std::ostream& s, const ::serial_comm::pan_data_<ContainerAllocator> & v)
63 {
64 ros::message_operations::Printer< ::serial_comm::pan_data_<ContainerAllocator> >::stream(s, "", v);
65 return s;
66 }
67 
68 } // namespace serial_comm
69 
70 namespace ros
71 {
72 namespace message_traits
73 {
74 
75 
76 
77 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
78 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/opt/ros/kinetic/share/geometry_msgs/cmake/../msg'], 'serial_comm': ['/home/ubuntu/auto_car/src/serial_comm/msg']}
79 
80 // !!!!!!!!!!! ['__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']
81 
82 
83 
84 
85 template <class ContainerAllocator>
86 struct IsFixedSize< ::serial_comm::pan_data_<ContainerAllocator> >
87  : TrueType
88  { };
89 
90 template <class ContainerAllocator>
91 struct IsFixedSize< ::serial_comm::pan_data_<ContainerAllocator> const>
92  : TrueType
93  { };
94 
95 template <class ContainerAllocator>
96 struct IsMessage< ::serial_comm::pan_data_<ContainerAllocator> >
97  : TrueType
98  { };
99 
100 template <class ContainerAllocator>
101 struct IsMessage< ::serial_comm::pan_data_<ContainerAllocator> const>
102  : TrueType
103  { };
104 
105 template <class ContainerAllocator>
106 struct HasHeader< ::serial_comm::pan_data_<ContainerAllocator> >
107  : FalseType
108  { };
109 
110 template <class ContainerAllocator>
111 struct HasHeader< ::serial_comm::pan_data_<ContainerAllocator> const>
112  : FalseType
113  { };
114 
115 
116 template<class ContainerAllocator>
117 struct MD5Sum< ::serial_comm::pan_data_<ContainerAllocator> >
118 {
119  static const char* value()
120  {
121  return "84eddaf18b6b9df47b605419a0572436";
122  }
123 
124  static const char* value(const ::serial_comm::pan_data_<ContainerAllocator>&) { return value(); }
125  static const uint64_t static_value1 = 0x84eddaf18b6b9df4ULL;
126  static const uint64_t static_value2 = 0x7b605419a0572436ULL;
127 };
128 
129 template<class ContainerAllocator>
130 struct DataType< ::serial_comm::pan_data_<ContainerAllocator> >
131 {
132  static const char* value()
133  {
134  return "serial_comm/pan_data";
135  }
136 
137  static const char* value(const ::serial_comm::pan_data_<ContainerAllocator>&) { return value(); }
138 };
139 
140 template<class ContainerAllocator>
141 struct Definition< ::serial_comm::pan_data_<ContainerAllocator> >
142 {
143  static const char* value()
144  {
145  return "float64 yaw\n\
146 float64 pitch\n\
147 ";
148  }
149 
150  static const char* value(const ::serial_comm::pan_data_<ContainerAllocator>&) { return value(); }
151 };
152 
153 } // namespace message_traits
154 } // namespace ros
155 
156 namespace ros
157 {
158 namespace serialization
159 {
160 
161  template<class ContainerAllocator> struct Serializer< ::serial_comm::pan_data_<ContainerAllocator> >
162  {
163  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
164  {
165  stream.next(m.yaw);
166  stream.next(m.pitch);
167  }
168 
169  ROS_DECLARE_ALLINONE_SERIALIZER;
170  }; // struct pan_data_
171 
172 } // namespace serialization
173 } // namespace ros
174 
175 namespace ros
176 {
177 namespace message_operations
178 {
179 
180 template<class ContainerAllocator>
181 struct Printer< ::serial_comm::pan_data_<ContainerAllocator> >
182 {
183  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::serial_comm::pan_data_<ContainerAllocator>& v)
184  {
185  s << indent << "yaw: ";
186  Printer<double>::stream(s, indent + " ", v.yaw);
187  s << indent << "pitch: ";
188  Printer<double>::stream(s, indent + " ", v.pitch);
189  }
190 };
191 
192 } // namespace message_operations
193 } // namespace ros
194 
195 #endif // SERIAL_COMM_MESSAGE_PAN_DATA_H
Definition: AprilTagDetection.h:76
Definition: pan_data.h:22
Definition: car_speed.h:19