From 0fe3aebd6ac33f93d780fdd03f177385eb9b273c Mon Sep 17 00:00:00 2001 From: wangjianyu3 Date: Mon, 16 Dec 2024 21:03:31 +0800 Subject: [PATCH] nuttx/uorb.h: Add carrier frequency for GNSS Satellite The `struct sensor_gnss_satellite.cf` may be parsed from `GSV.signal_id`(e.g. NMEA 0183 v4.11) and `struct sensor_gnss_satellite.constellation` Signed-off-by: wangjianyu3 --- include/nuttx/uorb.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/nuttx/uorb.h b/include/nuttx/uorb.h index f802458d06ea4..cd14a8bb30d34 100644 --- a/include/nuttx/uorb.h +++ b/include/nuttx/uorb.h @@ -914,6 +914,8 @@ struct sensor_gnss_satellite uint32_t constellation; + float cf; /* Carrier Frequency(Hz), GSV.signal_id */ + struct satellite { uint32_t svid; /* Space vehicle ID */