NavSatFix.h
Go to the documentation of this file.
1 #include "sick_scan/sick_scan_base.h" /* Base definitions included in all header files, added by add_sick_scan_base_header.py. Do not edit this line. */
2 // Generated by gencpp from file sensor_msgs/NavSatFix.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SENSOR_MSGS_MESSAGE_NAVSATFIX_H
7 #define SENSOR_MSGS_MESSAGE_NAVSATFIX_H
8 
9 
10 #include <string>
11 #include <vector>
12 #include <map>
13 
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
18 
19 #include <std_msgs/Header.h>
21 
22 namespace sensor_msgs
23 {
24 template <class ContainerAllocator>
25 struct NavSatFix_
26 {
28 
30  : header()
31  , status()
32  , latitude(0.0)
33  , longitude(0.0)
34  , altitude(0.0)
37  position_covariance.fill(0.0);
38  }
39  NavSatFix_(const ContainerAllocator& _alloc)
40  : header(_alloc)
41  , status(_alloc)
42  , latitude(0.0)
43  , longitude(0.0)
44  , altitude(0.0)
47  (void)_alloc;
48  position_covariance.fill(0.0);
49  }
50 
51 
52 
53  typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
55 
56  typedef ::sensor_msgs::NavSatStatus_<ContainerAllocator> _status_type;
58 
59  typedef double _latitude_type;
61 
62  typedef double _longitude_type;
64 
65  typedef double _altitude_type;
67 
68  typedef std::array<double, 9> _position_covariance_type;
70 
73 
74 
75  enum { COVARIANCE_TYPE_UNKNOWN = 0u };
78  enum { COVARIANCE_TYPE_KNOWN = 3u };
79 
80 
81  typedef std::shared_ptr< ::sensor_msgs::NavSatFix_<ContainerAllocator> > Ptr;
82  typedef std::shared_ptr< ::sensor_msgs::NavSatFix_<ContainerAllocator> const> ConstPtr;
83 
84 }; // struct NavSatFix_
85 
86 typedef ::sensor_msgs::NavSatFix_<std::allocator<void> > NavSatFix;
87 
88 typedef std::shared_ptr< ::sensor_msgs::NavSatFix > NavSatFixPtr;
89 typedef std::shared_ptr< ::sensor_msgs::NavSatFix const> NavSatFixConstPtr;
90 
91 // constants requiring out of line definition
92 
93 
94 
95 
96 
97 
98 
99 
100 
101 
102 
103 template<typename ContainerAllocator>
104 std::ostream& operator<<(std::ostream& s, const ::sensor_msgs::NavSatFix_<ContainerAllocator> & v)
105 {
107 return s;
108 }
109 
110 } // namespace sensor_msgs
111 
112 namespace roswrap
113 {
114 namespace message_traits
115 {
116 
117 
118 
119 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': True}
120 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/opt/ros/kinetic/share/geometry_msgs/cmake/../msg'], 'sensor_msgs': ['/tmp/binarydeb/ros-kinetic-sensor-msgs-1.12.5/msg']}
121 
122 // !!!!!!!!!!! ['__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']
123 
124 
125 
126 
127 template <class ContainerAllocator>
128 struct IsFixedSize< ::sensor_msgs::NavSatFix_<ContainerAllocator> >
129  : FalseType
130  { };
131 
132 template <class ContainerAllocator>
133 struct IsFixedSize< ::sensor_msgs::NavSatFix_<ContainerAllocator> const>
134  : FalseType
135  { };
136 
137 template <class ContainerAllocator>
138 struct IsMessage< ::sensor_msgs::NavSatFix_<ContainerAllocator> >
139  : TrueType
140  { };
141 
142 template <class ContainerAllocator>
143 struct IsMessage< ::sensor_msgs::NavSatFix_<ContainerAllocator> const>
144  : TrueType
145  { };
146 
147 template <class ContainerAllocator>
148 struct HasHeader< ::sensor_msgs::NavSatFix_<ContainerAllocator> >
149  : TrueType
150  { };
151 
152 template <class ContainerAllocator>
153 struct HasHeader< ::sensor_msgs::NavSatFix_<ContainerAllocator> const>
154  : TrueType
155  { };
156 
157 
158 template<class ContainerAllocator>
159 struct MD5Sum< ::sensor_msgs::NavSatFix_<ContainerAllocator> >
160 {
161  static const char* value()
162  {
163  return "2d3a8cd499b9b4a0249fb98fd05cfa48";
164  }
165 
166  static const char* value(const ::sensor_msgs::NavSatFix_<ContainerAllocator>&) { return value(); }
167  static const uint64_t static_value1 = 0x2d3a8cd499b9b4a0ULL;
168  static const uint64_t static_value2 = 0x249fb98fd05cfa48ULL;
169 };
170 
171 template<class ContainerAllocator>
172 struct DataType< ::sensor_msgs::NavSatFix_<ContainerAllocator> >
173 {
174  static const char* value()
175  {
176  return "sensor_msgs/NavSatFix";
177  }
178 
179  static const char* value(const ::sensor_msgs::NavSatFix_<ContainerAllocator>&) { return value(); }
180 };
181 
182 template<class ContainerAllocator>
183 struct Definition< ::sensor_msgs::NavSatFix_<ContainerAllocator> >
184 {
185  static const char* value()
186  {
187  return "# Navigation Satellite fix for any Global Navigation Satellite System\n\
188 #\n\
189 # Specified using the WGS 84 reference ellipsoid\n\
190 \n\
191 # header.stamp specifies the ROS time for this measurement (the\n\
192 # corresponding satellite time may be reported using the\n\
193 # sensor_msgs/TimeReference message).\n\
194 #\n\
195 # header.frame_id is the frame of reference reported by the satellite\n\
196 # receiver, usually the location of the antenna. This is a\n\
197 # Euclidean frame relative to the vehicle, not a reference\n\
198 # ellipsoid.\n\
199 Header header\n\
200 \n\
201 # satellite fix status information\n\
202 NavSatStatus status\n\
203 \n\
204 # Latitude [degrees]. Positive is north of equator; negative is south.\n\
205 float64 latitude\n\
206 \n\
207 # Longitude [degrees]. Positive is east of prime meridian; negative is west.\n\
208 float64 longitude\n\
209 \n\
210 # Altitude [m]. Positive is above the WGS 84 ellipsoid\n\
211 # (quiet NaN if no altitude is available).\n\
212 float64 altitude\n\
213 \n\
214 # Position covariance [m^2] defined relative to a tangential plane\n\
215 # through the reported position. The components are East, North, and\n\
216 # Up (ENU), in row-major order.\n\
217 #\n\
218 # Beware: this coordinate system exhibits singularities at the poles.\n\
219 \n\
220 float64[9] position_covariance\n\
221 \n\
222 # If the covariance of the fix is known, fill it in completely. If the\n\
223 # GPS receiver provides the variance of each measurement, put them\n\
224 # along the diagonal. If only Dilution of Precision is available,\n\
225 # estimate an approximate covariance from that.\n\
226 \n\
227 uint8 COVARIANCE_TYPE_UNKNOWN = 0\n\
228 uint8 COVARIANCE_TYPE_APPROXIMATED = 1\n\
229 uint8 COVARIANCE_TYPE_DIAGONAL_KNOWN = 2\n\
230 uint8 COVARIANCE_TYPE_KNOWN = 3\n\
231 \n\
232 uint8 position_covariance_type\n\
233 \n\
234 ================================================================================\n\
235 MSG: std_msgs/Header\n\
236 # Standard metadata for higher-level stamped data types.\n\
237 # This is generally used to communicate timestamped data \n\
238 # in a particular coordinate frame.\n\
239 # \n\
240 # sequence ID: consecutively increasing ID \n\
241 uint32 seq\n\
242 #Two-integer timestamp that is expressed as:\n\
243 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
244 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
245 # time-handling sugar is provided by the client library\n\
246 time stamp\n\
247 #Frame this data is associated with\n\
248 # 0: no frame\n\
249 # 1: global frame\n\
250 string frame_id\n\
251 \n\
252 ================================================================================\n\
253 MSG: sensor_msgs/NavSatStatus\n\
254 # Navigation Satellite fix status for any Global Navigation Satellite System\n\
255 \n\
256 # Whether to output an augmented fix is determined by both the fix\n\
257 # type and the last time differential corrections were received. A\n\
258 # fix is valid when status >= STATUS_FIX.\n\
259 \n\
260 int8 STATUS_NO_FIX = -1 # unable to fix position\n\
261 int8 STATUS_FIX = 0 # unaugmented fix\n\
262 int8 STATUS_SBAS_FIX = 1 # with satellite-based augmentation\n\
263 int8 STATUS_GBAS_FIX = 2 # with ground-based augmentation\n\
264 \n\
265 int8 status\n\
266 \n\
267 # Bits defining which Global Navigation Satellite System signals were\n\
268 # used by the receiver.\n\
269 \n\
270 uint16 SERVICE_GPS = 1\n\
271 uint16 SERVICE_GLONASS = 2\n\
272 uint16 SERVICE_COMPASS = 4 # includes BeiDou.\n\
273 uint16 SERVICE_GALILEO = 8\n\
274 \n\
275 uint16 service\n\
276 ";
277  }
278 
279  static const char* value(const ::sensor_msgs::NavSatFix_<ContainerAllocator>&) { return value(); }
280 };
281 
282 } // namespace message_traits
283 } // namespace roswrap
284 
285 namespace roswrap
286 {
287 namespace serialization
288 {
289 
290  template<class ContainerAllocator> struct Serializer< ::sensor_msgs::NavSatFix_<ContainerAllocator> >
291  {
292  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
293  {
294  stream.next(m.header);
295  stream.next(m.status);
296  stream.next(m.latitude);
297  stream.next(m.longitude);
298  stream.next(m.altitude);
299  stream.next(m.position_covariance);
300  stream.next(m.position_covariance_type);
301  }
302 
304  }; // struct NavSatFix_
305 
306 } // namespace serialization
307 } // namespace roswrap
308 
309 namespace roswrap
310 {
311 namespace message_operations
312 {
313 
314 template<class ContainerAllocator>
315 struct Printer< ::sensor_msgs::NavSatFix_<ContainerAllocator> >
316 {
317  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sensor_msgs::NavSatFix_<ContainerAllocator>& v)
318  {
319  s << indent << "header: ";
320  s << std::endl;
322  s << indent << "status: ";
323  s << std::endl;
325  s << indent << "latitude: ";
326  Printer<double>::stream(s, indent + " ", v.latitude);
327  s << indent << "longitude: ";
328  Printer<double>::stream(s, indent + " ", v.longitude);
329  s << indent << "altitude: ";
330  Printer<double>::stream(s, indent + " ", v.altitude);
331  s << indent << "position_covariance[]" << std::endl;
332  for (size_t i = 0; i < v.position_covariance.size(); ++i)
333  {
334  s << indent << " position_covariance[" << i << "]: ";
335  Printer<double>::stream(s, indent + " ", v.position_covariance[i]);
336  }
337  s << indent << "position_covariance_type: ";
338  Printer<uint8_t>::stream(s, indent + " ", v.position_covariance_type);
339  }
340 };
341 
342 } // namespace message_operations
343 } // namespace roswrap
344 
345 #endif // SENSOR_MSGS_MESSAGE_NAVSATFIX_H
roswrap::message_traits::FalseType
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Definition: message_traits.h:89
sensor_msgs::NavSatFix_::_header_type
::std_msgs::Header_< ContainerAllocator > _header_type
Definition: NavSatFix.h:53
sensor_msgs::NavSatFix_
Definition: NavSatFix.h:25
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
roswrap::serialization::Serializer
Templated serialization class. Default implementation provides backwards compatibility with old messa...
Definition: serialization.h:120
sensor_msgs::NavSatFix_::NavSatFix_
NavSatFix_(const ContainerAllocator &_alloc)
Definition: NavSatFix.h:39
sensor_msgs::NavSatFix_::status
_status_type status
Definition: NavSatFix.h:57
roswrap::message_traits::HasHeader
HasHeader informs whether or not there is a header that gets serialized as the first thing in the mes...
Definition: message_traits.h:107
sensor_msgs::NavSatFix_::COVARIANCE_TYPE_KNOWN
@ COVARIANCE_TYPE_KNOWN
Definition: NavSatFix.h:78
const
#define const
Definition: getopt.c:38
roswrap::message_traits::MD5Sum< ::sensor_msgs::NavSatFix_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::NavSatFix_< ContainerAllocator > &)
Definition: NavSatFix.h:166
s
XmlRpcServer s
sensor_msgs::NavSatFix_::Ptr
std::shared_ptr< ::sensor_msgs::NavSatFix_< ContainerAllocator > > Ptr
Definition: NavSatFix.h:81
roswrap::message_operations::Printer::stream
static void stream(Stream &s, const std::string &indent, const M &value)
Definition: message_operations.h:43
roswrap::message_traits::IsFixedSize
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
Definition: message_traits.h:103
sensor_msgs::NavSatFix_::position_covariance_type
_position_covariance_type_type position_covariance_type
Definition: NavSatFix.h:72
ros::message_operations::Printer
ROS_DECLARE_ALLINONE_SERIALIZER
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
Definition: serialization.h:74
sensor_msgs::NavSatFix_::_altitude_type
double _altitude_type
Definition: NavSatFix.h:65
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
roswrap::message_traits::Definition< ::sensor_msgs::NavSatFix_< ContainerAllocator > >::value
static const char * value()
Definition: NavSatFix.h:185
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
roswrap::message_traits::MD5Sum< ::sensor_msgs::NavSatFix_< ContainerAllocator > >::value
static const char * value()
Definition: NavSatFix.h:161
sensor_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::sensor_msgs::BatteryState_< ContainerAllocator > &v)
Definition: BatteryState.h:187
sensor_msgs::NavSatFix_::_longitude_type
double _longitude_type
Definition: NavSatFix.h:62
sensor_msgs::NavSatFix_::COVARIANCE_TYPE_APPROXIMATED
@ COVARIANCE_TYPE_APPROXIMATED
Definition: NavSatFix.h:76
roswrap::message_traits::Definition< ::sensor_msgs::NavSatFix_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::NavSatFix_< ContainerAllocator > &)
Definition: NavSatFix.h:279
sensor_msgs::NavSatFix_::altitude
_altitude_type altitude
Definition: NavSatFix.h:66
sensor_msgs::NavSatFixConstPtr
std::shared_ptr< ::sensor_msgs::NavSatFix const > NavSatFixConstPtr
Definition: NavSatFix.h:89
sensor_msgs::NavSatFix_::header
_header_type header
Definition: NavSatFix.h:54
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
NavSatStatus.h
sensor_msgs::NavSatFixPtr
std::shared_ptr< ::sensor_msgs::NavSatFix > NavSatFixPtr
Definition: NavSatFix.h:88
std_msgs::Header_
Definition: Header.h:23
sensor_msgs::NavSatFix_::_position_covariance_type
std::array< double, 9 > _position_covariance_type
Definition: NavSatFix.h:68
sensor_msgs::NavSatFix_::_status_type
::sensor_msgs::NavSatStatus_< ContainerAllocator > _status_type
Definition: NavSatFix.h:56
roswrap::message_traits::TrueType
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Definition: message_traits.h:79
roswrap::message_traits::MD5Sum
Specialize to provide the md5sum for a message.
Definition: message_traits.h:118
sensor_msgs::NavSatStatus_
Definition: NavSatStatus.h:23
sensor_msgs::NavSatFix_::position_covariance
_position_covariance_type position_covariance
Definition: NavSatFix.h:69
sensor_msgs::NavSatFix
::sensor_msgs::NavSatFix_< std::allocator< void > > NavSatFix
Definition: NavSatFix.h:86
roswrap::serialization::Serializer< ::sensor_msgs::NavSatFix_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: NavSatFix.h:292
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
sensor_msgs::NavSatFix_::_latitude_type
double _latitude_type
Definition: NavSatFix.h:59
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
sensor_msgs::NavSatFix_::ConstPtr
std::shared_ptr< ::sensor_msgs::NavSatFix_< ContainerAllocator > const > ConstPtr
Definition: NavSatFix.h:82
sensor_msgs::NavSatFix_::Type
NavSatFix_< ContainerAllocator > Type
Definition: NavSatFix.h:27
roswrap::message_traits::DataType< ::sensor_msgs::NavSatFix_< ContainerAllocator > >::value
static const char * value()
Definition: NavSatFix.h:174
sensor_msgs::NavSatFix_::_position_covariance_type_type
uint8_t _position_covariance_type_type
Definition: NavSatFix.h:71
sensor_msgs::NavSatFix_::COVARIANCE_TYPE_UNKNOWN
@ COVARIANCE_TYPE_UNKNOWN
Definition: NavSatFix.h:75
sensor_msgs::NavSatFix_::latitude
_latitude_type latitude
Definition: NavSatFix.h:60
roswrap::message_operations::Printer< ::sensor_msgs::NavSatFix_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::NavSatFix_< ContainerAllocator > &v)
Definition: NavSatFix.h:317
sensor_msgs::NavSatFix_::NavSatFix_
NavSatFix_()
Definition: NavSatFix.h:29
sensor_msgs
Tools for manipulating sensor_msgs.
Header.h
sensor_msgs::NavSatFix_::longitude
_longitude_type longitude
Definition: NavSatFix.h:63
sensor_msgs::NavSatFix_::COVARIANCE_TYPE_DIAGONAL_KNOWN
@ COVARIANCE_TYPE_DIAGONAL_KNOWN
Definition: NavSatFix.h:77
roswrap::message_traits::DataType< ::sensor_msgs::NavSatFix_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::NavSatFix_< ContainerAllocator > &)
Definition: NavSatFix.h:179


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:09