Go to the documentation of this file.
6 #ifndef SENSOR_MSGS_MESSAGE_NAVSATFIX_H
7 #define SENSOR_MSGS_MESSAGE_NAVSATFIX_H
14 #include <ros/types.h>
15 #include <ros/serialization.h>
16 #include <ros/builtin_message_traits.h>
17 #include <ros/message_operations.h>
24 template <
class ContainerAllocator>
56 typedef ::sensor_msgs::NavSatStatus_<ContainerAllocator>
_status_type;
81 typedef std::shared_ptr< ::sensor_msgs::NavSatFix_<ContainerAllocator> >
Ptr;
82 typedef std::shared_ptr< ::sensor_msgs::NavSatFix_<ContainerAllocator>
const>
ConstPtr;
86 typedef ::sensor_msgs::NavSatFix_<std::allocator<void> >
NavSatFix;
103 template<
typename ContainerAllocator>
104 std::ostream&
operator<<(std::ostream& s, const ::sensor_msgs::NavSatFix_<ContainerAllocator> & v)
114 namespace message_traits
127 template <
class ContainerAllocator>
132 template <
class ContainerAllocator>
137 template <
class ContainerAllocator>
142 template <
class ContainerAllocator>
147 template <
class ContainerAllocator>
152 template <
class ContainerAllocator>
158 template<
class ContainerAllocator>
163 return "2d3a8cd499b9b4a0249fb98fd05cfa48";
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;
171 template<
class ContainerAllocator>
176 return "sensor_msgs/NavSatFix";
179 static const char*
value(const ::sensor_msgs::NavSatFix_<ContainerAllocator>&) {
return value(); }
182 template<
class ContainerAllocator>
187 return "# Navigation Satellite fix for any Global Navigation Satellite System\n\
189 # Specified using the WGS 84 reference ellipsoid\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\
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\
201 # satellite fix status information\n\
202 NavSatStatus status\n\
204 # Latitude [degrees]. Positive is north of equator; negative is south.\n\
207 # Longitude [degrees]. Positive is east of prime meridian; negative is west.\n\
210 # Altitude [m]. Positive is above the WGS 84 ellipsoid\n\
211 # (quiet NaN if no altitude is available).\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\
218 # Beware: this coordinate system exhibits singularities at the poles.\n\
220 float64[9] position_covariance\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\
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\
232 uint8 position_covariance_type\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\
240 # sequence ID: consecutively increasing ID \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\
247 #Frame this data is associated with\n\
252 ================================================================================\n\
253 MSG: sensor_msgs/NavSatStatus\n\
254 # Navigation Satellite fix status for any Global Navigation Satellite System\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\
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\
267 # Bits defining which Global Navigation Satellite System signals were\n\
268 # used by the receiver.\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\
279 static const char*
value(const ::sensor_msgs::NavSatFix_<ContainerAllocator>&) {
return value(); }
287 namespace serialization
292 template<
typename Stream,
typename T>
inline static void allInOne(
Stream& stream, T m)
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);
311 namespace message_operations
314 template<
class ContainerAllocator>
317 template<
typename Stream>
static void stream(Stream& s,
const std::string&
indent, const ::sensor_msgs::NavSatFix_<ContainerAllocator>& v)
331 s <<
indent <<
"position_covariance[]" << std::endl;
332 for (
size_t i = 0; i < v.position_covariance.size(); ++i)
334 s <<
indent <<
" position_covariance[" << i <<
"]: ";
337 s <<
indent <<
"position_covariance_type: ";
345 #endif // SENSOR_MSGS_MESSAGE_NAVSATFIX_H
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
::std_msgs::Header_< ContainerAllocator > _header_type
Templated serialization class. Default implementation provides backwards compatibility with old messa...
NavSatFix_(const ContainerAllocator &_alloc)
static const char * value(const ::sensor_msgs::NavSatFix_< ContainerAllocator > &)
std::shared_ptr< ::sensor_msgs::NavSatFix_< ContainerAllocator > > Ptr
static void stream(Stream &s, const std::string &indent, const M &value)
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
_position_covariance_type_type position_covariance_type
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
Specialize to provide the datatype for a message.
static const char * value()
Specialize to provide the definition for a message.
static const char * value()
std::ostream & operator<<(std::ostream &s, const ::sensor_msgs::BatteryState_< ContainerAllocator > &v)
@ COVARIANCE_TYPE_APPROXIMATED
static const char * value(const ::sensor_msgs::NavSatFix_< ContainerAllocator > &)
std::shared_ptr< ::sensor_msgs::NavSatFix const > NavSatFixConstPtr
std::shared_ptr< ::sensor_msgs::NavSatFix > NavSatFixPtr
std::array< double, 9 > _position_covariance_type
::sensor_msgs::NavSatStatus_< ContainerAllocator > _status_type
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
Specialize to provide the md5sum for a message.
_position_covariance_type position_covariance
::sensor_msgs::NavSatFix_< std::allocator< void > > NavSatFix
static void allInOne(Stream &stream, T m)
Stream base-class, provides common functionality for IStream and OStream.
std::shared_ptr< ::sensor_msgs::NavSatFix_< ContainerAllocator > const > ConstPtr
NavSatFix_< ContainerAllocator > Type
static const char * value()
uint8_t _position_covariance_type_type
@ COVARIANCE_TYPE_UNKNOWN
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::NavSatFix_< ContainerAllocator > &v)
Tools for manipulating sensor_msgs.
_longitude_type longitude
@ COVARIANCE_TYPE_DIAGONAL_KNOWN
static const char * value(const ::sensor_msgs::NavSatFix_< ContainerAllocator > &)
sick_scan_xd
Author(s): Michael Lehning
, Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:09