Browse Source

GCS_MAVLink: add magic number definitions

mission-4.1.18
Peter Barker 8 years ago
parent
commit
27cd972331
  1. 3
      libraries/GCS_MAVLink/GCS.h

3
libraries/GCS_MAVLink/GCS.h

@ -373,6 +373,9 @@ protected:
virtual int16_t vfr_hud_throttle() const { return 0; } virtual int16_t vfr_hud_throttle() const { return 0; }
Vector3f vfr_hud_velned; Vector3f vfr_hud_velned;
static constexpr const float magic_force_arm_value = 2989.0f;
static constexpr const float magic_force_disarm_value = 21196.0f;
private: private:
float adjust_rate_for_stream_trigger(enum streams stream_num); float adjust_rate_for_stream_trigger(enum streams stream_num);

Loading…
Cancel
Save