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

add inverse reverse param #34

Closed
wants to merge 3 commits into from
Closed

Conversation

turtlewizard73
Copy link

Hi!

My story is: our team wanted to use xbox one joystick for controlling our robot with differential wheels in development. But in reverse the turning is inversed. I mean that for example if i want to go forward left then I have to push to joystick to forward and left, but if i want to go reverse left than i have to push the joystick to reverse rigth, so it is not intuitive.

I would like to propose a solution, already implemented and tested.
I have added a new param called "inverse_reverse" which make the joystick work more intuitively, so reverse left means reverse left on joystick as well pushing "M" on teleop twist keyboard.

Copy link

@clalancette clalancette left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, I think this is an OK feature to have, as long as it is off by default.

I have a few requests:

  1. Please add something to the top-level README.md describing this parameter and what it does.
  2. Please retarget this PR to the rolling branch, which is where we do the main development. From there, we can consider backporting it to the humble branch.

Thank you!

@turtlewizard73 turtlewizard73 changed the base branch from humble to rolling June 7, 2023 09:30
@turtlewizard73 turtlewizard73 requested a review from ahcorde as a code owner June 7, 2023 09:30
@turtlewizard73
Copy link
Author

Opened new PR #35 to rolling branch

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.

2 participants