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

smooth joystick coordinate scaling #3

Open
Jonny999999 opened this issue Jul 6, 2022 · 0 comments
Open

smooth joystick coordinate scaling #3

Jonny999999 opened this issue Jul 6, 2022 · 0 comments
Labels
driving-behaivor optimizations in motor command generation for better driving feeling enhancement New feature or request low-prio

Comments

@Jonny999999
Copy link
Owner

Scale coordinates of joystick to have more precision (joystick travel) at slower speeds.
Currently implemented with linear scaling (see below), however this currently results in a weird/unexpected acceleration at the rapid change of scaling.
=> find a better way to scale the coordinates

already tried

exponential scaling

first tried with exponential scaling: 1c6586c
=> smooth but some some area with almost no output change at start

linear scaling

then linear scaling with switching point: b460a52
=> can be adjusted precisely but the point it switches to the other slope is very hard/noticeable while driving

ideas

Bezier curve??

have a function that represents the desired scaling curve
example: https://www.desmos.com/calculator/cahqdxeshd

@Jonny999999 Jonny999999 added the enhancement New feature or request label Jul 6, 2022
@Jonny999999 Jonny999999 added the driving-behaivor optimizations in motor command generation for better driving feeling label Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
driving-behaivor optimizations in motor command generation for better driving feeling enhancement New feature or request low-prio
Projects
None yet
Development

No branches or pull requests

1 participant