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

frontend: Joystick output: force feedback via vibration motor if available #1480

Open
1 task done
vshie opened this issue Nov 30, 2024 · 1 comment
Open
1 task done
Labels
enhancement New feature or request ui UI related issues

Comments

@vshie
Copy link

vshie commented Nov 30, 2024

Current behaviour

Lots of video games rumble your joystick when your vehicle collides with walls or objects. Creating a link between accelerometer readings "spiking" and joystick rumble would be a cool way to convey to an operator they are hitting things, particularly the bottom. This could also be useful to signal other things, like vehicle mode changes or other event sources.

Expected or desired behaviour

In joystick menu, allow configuration of joystick rumble "source" if available. Set to collision detection, mode change, etc. for sources. Include "TEST" button to verify controller rumbles as expected, and a duration of the vibration slider?

Prerequisites

  • I have checked to make sure that a similar request has not already been filed or fixed.
@vshie vshie added enhancement New feature or request ui UI related issues labels Nov 30, 2024
@rafaellehmkuhl
Copy link
Member

Makes a lot of sense.

Do you think it could be helpful with something as simple as "if vehicle.acc_x > X_LIMIT then vibrate" or processing that raw data from the accelerometer (e.g.: moving average) would be needed for it to be useful?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ui UI related issues
Projects
None yet
Development

No branches or pull requests

2 participants