Skip to content

Commit

Permalink
AP_Motors: change heli rotors turning on ground yaw behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
bnsgeyer committed Nov 22, 2024
1 parent cf918cb commit 3013e82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_Motors/AP_MotorsHeli.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class AP_MotorsHeli : public AP_Motors {
};

// use leaking integrator management scheme
bool using_leaky_integrator() const { return heli_option(HeliOption::USE_LEAKY_I); }
bool using_leaky_integrator() const override { return heli_option(HeliOption::USE_LEAKY_I); }

// Run arming checks
bool arming_checks(size_t buflen, char *buffer) const override;
Expand Down
2 changes: 2 additions & 0 deletions libraries/AP_Motors/AP_Motors_Class.h
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@ class AP_Motors {
// This function required for tradheli. Tradheli initializes targets when going from unarmed to armed state.
// This function is overriden in motors_heli class. Always true for multicopters.
virtual bool init_targets_on_arming() const { return true; }
// use leaking integrator management scheme
virtual bool using_leaky_integrator() const { return false; }

// returns true if the configured PWM type is digital and should have fixed endpoints
bool is_digital_pwm_type() const;
Expand Down

0 comments on commit 3013e82

Please sign in to comment.