Browse Source

AP_RangeFinder: increase leddarvu8 timeout to 0.5sec

c415-sdk
Randy Mackay 5 years ago committed by Andrew Tridgell
parent
commit
141099078c
  1. 3
      libraries/AP_RangeFinder/AP_RangeFinder_LeddarVu8.h

3
libraries/AP_RangeFinder/AP_RangeFinder_LeddarVu8.h

@ -27,6 +27,9 @@ protected: @@ -27,6 +27,9 @@ protected:
// get a reading, distance returned in reading_cm
bool get_reading(uint16_t &reading_cm) override;
// maximum time between readings before we change state to NoData:
uint16_t read_timeout_ms() const override { return 500; }
private:
// function codes

Loading…
Cancel
Save