Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Motor output ramp consistent for higher than minimum initial motor command #21690

Merged
merged 2 commits into from
Jun 10, 2023

Commits on Jun 6, 2023

  1. mixer_module: correct pwm ramp

    Before:
    When the mixed throttle for the motor was exactly zero the ramp went
    from the disarmed PWM value to the minimum PWM value.
    
    When the throttle was even just slightly different from zero the ramp
    made a jump up to the commanded throttle scaled between
    disarmed PWM and maximum PWM, then ramped between
    disarmed PWM and minimum PWM and at the end jumped up again to
    the commanded throttle scaled between minimum PWM and maximum PWM.
    
    After:
    The ramp goes from disarmed PWM value to the the
    commanded throttle scaled between minimum PWM and maximum PWM.
    If the commanded throttle changes during the ramp then the scale and
    hence also end value of the ramp changes.
    MaEtUgR committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    335159c View commit details
    Browse the repository at this point in the history
  2. mixer_module: remove unnecessary init state

    That state only delayed the first arming by 50 miliseconds.
    Was presumably a workaround for some issue very very early on.
    See cc45283
    MaEtUgR committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    eef43eb View commit details
    Browse the repository at this point in the history