1
1
/****************************************************************************
2
- * apps/system/uorb/sensor/gps .c
2
+ * apps/system/uorb/sensor/gnss .c
3
3
*
4
4
* Licensed to the Apache Software Foundation (ASF) under one or more
5
5
* contributor license agreements. See the NOTICE file distributed with
22
22
* Included Files
23
23
****************************************************************************/
24
24
25
- #include <sensor/gps .h>
25
+ #include <sensor/gnss .h>
26
26
27
27
/****************************************************************************
28
28
* Private Functions
29
29
****************************************************************************/
30
30
31
31
#ifdef CONFIG_DEBUG_UORB
32
- static const char sensor_gps_format [] =
32
+ static const char sensor_gnss_format [] =
33
33
"timestamp:%" PRIu64 ",time_utc:%" PRIu64 ",latitude:%hf,longitude:%hf,"
34
34
"altitude:%hf,altitude_ellipsoid:%hf,eph:%hf,epv:%hf,hdop:%hf,pdop:%hf,"
35
35
"vdop:%hf,ground_speed:%hf,course:%hf,satellites_used:%" PRIu32 "" ;
36
36
37
- static const char sensor_gps_satellite_format [] =
37
+ static const char sensor_gnss_satellite_format [] =
38
38
"timestamp:%" PRIu64 ",count:%" PRIu32 ",satellites:%" PRIu32 ","
39
39
"svid0:%" PRIu32 ",elevation0:%" PRIu32 ",azimuth0:%" PRIu32 ","
40
40
"snr0:%" PRIu32 ",svid1:%" PRIu32 ",elevation1:%" PRIu32 ","
@@ -48,6 +48,6 @@ static const char sensor_gps_satellite_format[] =
48
48
* Public Data
49
49
****************************************************************************/
50
50
51
- ORB_DEFINE (sensor_gps , struct sensor_gps , sensor_gps_format );
52
- ORB_DEFINE (sensor_gps_satellite , struct sensor_gps_satellite ,
53
- sensor_gps_satellite_format );
51
+ ORB_DEFINE (sensor_gnss , struct sensor_gnss , sensor_gnss_format );
52
+ ORB_DEFINE (sensor_gnss_satellite , struct sensor_gnss_satellite ,
53
+ sensor_gnss_satellite_format );
0 commit comments