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

Feature/smooth throttle change #3

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

rodrigomedeirosbrazil
Copy link
Owner

No description provided.

@rodrigomedeirosbrazil rodrigomedeirosbrazil self-assigned this Dec 29, 2024
…handling logic

- Updated `getThrottlePercentage` to `getThrottlePosition` for clarity.
- Introduced `getThrottle` method as an alias for `getThrottlePosition`.
- Simplified throttle handling in `Esc` class by removing unnecessary checks and improving readability.
- Enhanced throttle control logic to limit rapid changes in throttle position.
- Added new methods to handle throttle limiting based on acceleration and deceleration thresholds.
- Introduced `setLimiting` to configure throttle limits and `handleLimited` to manage throttle adjustments during rapid changes.
- Updated `getThrottle` to return limited throttle values when necessary.
- Enhanced the `Throttle` class with new member variables for managing limiting state and thresholds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant