diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-02-16 17:07:02 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-02-16 17:07:02 +0100 |
commit | 8016032a40aaab55fc1d48d1a092cb00d5da92d0 (patch) | |
tree | 09b8a96ebf6e8c6ca3d66a04ae85a92ebbcba139 /src/modules/uORB/topics/vehicle_local_position.h | |
parent | 30612eb32d1acd3139e28254bb0b7e793826a343 (diff) | |
parent | 5bb004a7113484a5461c07af31d51b3579a8596e (diff) | |
download | px4-firmware-8016032a40aaab55fc1d48d1a092cb00d5da92d0.tar.gz px4-firmware-8016032a40aaab55fc1d48d1a092cb00d5da92d0.tar.bz2 px4-firmware-8016032a40aaab55fc1d48d1a092cb00d5da92d0.zip |
Merged beta into paul_estimator
Diffstat (limited to 'src/modules/uORB/topics/vehicle_local_position.h')
-rw-r--r-- | src/modules/uORB/topics/vehicle_local_position.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/uORB/topics/vehicle_local_position.h b/src/modules/uORB/topics/vehicle_local_position.h index 44c339711..db9637cd9 100644 --- a/src/modules/uORB/topics/vehicle_local_position.h +++ b/src/modules/uORB/topics/vehicle_local_position.h @@ -76,6 +76,11 @@ struct vehicle_local_position_s { int32_t ref_lon; /**< Reference point longitude in 1E7 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 */ + float dist_bottom; /**< Distance to bottom surface (ground) */ + float dist_bottom_rate; /**< Distance to bottom surface (ground) change rate */ + uint64_t surface_bottom_timestamp; /**< Time when new bottom surface found */ + bool dist_bottom_valid; /**< true if distance to bottom surface is valid */ }; /** |