Skip to content

Commit

Permalink
ArduSub: adjust for rangefinders getting longer ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Aug 26, 2024
1 parent b47b107 commit 1dca51f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ArduSub/Sub.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ class Sub : public AP_Vehicle {
bool enabled:1;
bool alt_healthy:1; // true if we can trust the altitude from the rangefinder
int16_t alt_cm; // tilt compensated altitude (in cm) from rangefinder
int16_t min_cm; // min rangefinder distance (in cm)
int16_t max_cm; // max rangefinder distance (in cm)
int32_t min_cm; // min rangefinder distance (in cm)
int32_t max_cm; // max rangefinder distance (in cm)
uint32_t last_healthy_ms;
float inertial_alt_cm; // inertial alt at time of last rangefinder sample
float rangefinder_terrain_offset_cm; // terrain height above EKF origin
Expand Down

0 comments on commit 1dca51f

Please sign in to comment.