diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-03-17 23:58:00 +0400 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-03-17 23:58:00 +0400 |
commit | c266124099fe67dcff5d5f3deeef37acebdc1695 (patch) | |
tree | 70abb548532ca6c02ba8111bbd265fde0963095e /src/modules/uORB | |
parent | 2f7303f2ddebedacaa92b287ee70ecea0e2d5baf (diff) | |
download | px4-firmware-c266124099fe67dcff5d5f3deeef37acebdc1695.tar.gz px4-firmware-c266124099fe67dcff5d5f3deeef37acebdc1695.tar.bz2 px4-firmware-c266124099fe67dcff5d5f3deeef37acebdc1695.zip |
vehicle_local_position: use double for ref_lat and ref_lon instead of int32, fix related apps
Diffstat (limited to 'src/modules/uORB')
-rw-r--r-- | src/modules/uORB/topics/vehicle_local_position.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/uORB/topics/vehicle_local_position.h b/src/modules/uORB/topics/vehicle_local_position.h index d567f2e02..aeaf1e244 100644 --- a/src/modules/uORB/topics/vehicle_local_position.h +++ b/src/modules/uORB/topics/vehicle_local_position.h @@ -73,8 +73,8 @@ struct vehicle_local_position_s bool xy_global; /**< true if position (x, y) is valid and has valid global reference (ref_lat, ref_lon) */ bool z_global; /**< true if z is valid and has valid global reference (ref_alt) */ uint64_t ref_timestamp; /**< Time when reference position was set */ - int32_t ref_lat; /**< Reference point latitude in 1E7 degrees */ - int32_t ref_lon; /**< Reference point longitude in 1E7 degrees */ + double ref_lat; /**< Reference point latitude in degrees */ + double ref_lon; /**< Reference point longitude in degrees */ float ref_alt; /**< Reference altitude AMSL in meters, MUST be set to current (not at reference point!) ground level */ bool landed; /**< true if vehicle is landed */ /* Distance to surface */ |