Skip to content

Commit

Permalink
Copter: allow tradheli inverted feature for loiter mode
Browse files Browse the repository at this point in the history
  • Loading branch information
bnsgeyer committed Mar 6, 2024
1 parent 8ef60ef commit 4be1148
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ArduCopter/mode.h
Original file line number Diff line number Diff line change
Expand Up @@ -1232,6 +1232,10 @@ class ModeLoiter : public Mode {
bool has_user_takeoff(bool must_navigate) const override { return true; }
bool allows_autotune() const override { return true; }

#if FRAME_CONFIG == HELI_FRAME
bool allows_inverted() const override { return true; };
#endif

#if AC_PRECLAND_ENABLED
void set_precision_loiter_enabled(bool value) { _precision_loiter_enabled = value; }
#endif
Expand Down

0 comments on commit 4be1148

Please sign in to comment.