Unverified Commit e28a6c9c authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #8587 from dakejahl/pr-GPS_message_name_update

Update GPS struct name to match PX4
parents 7c143cc6 87cca121
Subproject commit 2a4865adc3808687d6c6f550f497a02eb920c382 Subproject commit 2bfc6ffb3ba74b60deab5aef8e34c2cb909c4edc
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
*/ */
struct GPSPositionMessage struct GPSPositionMessage
{ {
vehicle_gps_position_s position_data; sensor_gps_s position_data;
}; };
Q_DECLARE_METATYPE(GPSPositionMessage); Q_DECLARE_METATYPE(GPSPositionMessage);
......
...@@ -85,8 +85,8 @@ private: ...@@ -85,8 +85,8 @@ private:
float _fixedBaseAltitudeMeters; float _fixedBaseAltitudeMeters;
float _fixedBaseAccuracyMeters; float _fixedBaseAccuracyMeters;
struct vehicle_gps_position_s _reportGpsPos; struct sensor_gps_s _reportGpsPos;
struct satellite_info_s *_pReportSatInfo = nullptr; struct satellite_info_s *_pReportSatInfo = nullptr;
QSerialPort *_serial = nullptr; QSerialPort *_serial = nullptr;
}; };
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
* and was manually copied here. * and was manually copied here.
*/ */
struct vehicle_gps_position_s { struct sensor_gps_s {
uint64_t timestamp; uint64_t timestamp;
uint64_t time_utc_usec; uint64_t time_utc_usec;
int32_t lat; int32_t lat;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment