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

Enable more joystick functions #172

Open
Achllle opened this issue Oct 9, 2023 · 0 comments
Open

Enable more joystick functions #172

Achllle opened this issue Oct 9, 2023 · 0 comments
Labels
enhancement New feature or request help wanted We're especially looking for input from the public on this one

Comments

@Achllle
Copy link
Collaborator

Achllle commented Oct 9, 2023

Problem statement

We currently use teleop_twist_joy to convert joy messages to Twist messages which allows us to maintain less code and rely on tried and true libraries. However it means we're restricted in what we can do:

  • no tweaking of mapping function type from joystick movement to twist. Right now that mapping seems linear (need to verify) while it would be good to have some kind of exponential mapping so that steering and acceleration is not as sensitive
  • we can't use button switches to perform things like changing drive mode to effort or adjusting PID values out of the box

Potential solutions

  • fork the library and modify it to include these functions
  • use the library as is but write a separate node that also listens to the /joy topic. This might lead to a bit of hackiness.
@Achllle Achllle added enhancement New feature or request help wanted We're especially looking for input from the public on this one labels Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted We're especially looking for input from the public on this one
Projects
None yet
Development

No branches or pull requests

1 participant