LegStrong
LegStrong copied to clipboard
Throttle ramp is always reseting to MEDIUM when controller turns ON
When setting throttle ramp to a value different them 2 (Medium throttle), after sending the command to switch ON the controller, the mode is always returning to Medium. This issue started only after new Boost option implementation in the RUN button.
Suspect that last_throttle_ramp should be set at the same time as Throttle_ramp in the decreaseValue() and increaseValue(). https://github.com/machadofelipe/LegStrong/blob/7a55baf43bdda287f271f49e493682ddb2000d7b/misc/source/mode08.cpp#L170-L173