AC_Precland: remove unused _timestamp_us

This commit is contained in:
Peter Barker 2021-04-13 12:08:56 +10:00 committed by Peter Barker
parent b749756c29
commit 9513bbe85f
2 changed files with 0 additions and 2 deletions

View File

@ -48,7 +48,6 @@ void AC_PrecLand_Companion::handle_msg(const mavlink_message_t &msg)
__mavlink_landing_target_t packet;
mavlink_msg_landing_target_decode(&msg, &packet);
_timestamp_us = packet.time_usec;
_distance_to_target = packet.distance;
// compute unit vector towards target

View File

@ -39,7 +39,6 @@ public:
void handle_msg(const mavlink_message_t &msg) override;
private:
uint64_t _timestamp_us; // timestamp from message
float _distance_to_target; // distance from the camera to target in meters
Vector3f _los_meas_body; // unit vector in body frame pointing towards target