Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

joy changes setpoint after initial click on LT and RT #44

Open
aksell opened this issue Jan 21, 2018 · 1 comment
Open

joy changes setpoint after initial click on LT and RT #44

aksell opened this issue Jan 21, 2018 · 1 comment
Labels

Comments

@aksell
Copy link
Collaborator

aksell commented Jan 21, 2018

joy_node from joy sets a value between -1 and 1 for both LT and RT on the Xbox 360 Wired Controller. After the initial click the setpoint on LT and RT change from 0 to 1.

Reproduce error by running

  • rosrun joy joy_node

joy is built upon xboxdrv, when xboxdrv is inspected directly LT and RT seem fine.

@mortenfyhn mortenfyhn added the bug label Jan 21, 2018
@aksell
Copy link
Collaborator Author

aksell commented Jan 25, 2018

We could eliminate the need to pres LT and RT on startup by introducing a if statement in joystick_interface

if first click:
    "workaround problem"
else:
    "do as usual"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants