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

Jetracer dosen't respond to gamepad mouvements, steering and throttles values #143

Open
MounaSamaali opened this issue Aug 23, 2023 · 0 comments

Comments

@MounaSamaali
Copy link

hello, I'am starting controlling the jetracer for the first time. However Jetracer doesn't respond to steering and throttle values coded in python with these lines :
car.steering = 0.4
car.trottle =0.2
and also the jetracer dose not respond to the gamepad mouvements, I had theses errors on coding.

**__### [IndexError Traceback (most recent call last)
in
----> 1 left_link = traitlets.dlink((controller.axes[1], 'value'), (car, 'steering'), transform=lambda x: -x) # link controller 0.5 * controller axes 0 value to car steering
2 right_link = traitlets.dlink((controller.axes[5], 'value'), (car, 'throttle'), transform=lambda x: -x) # link 0.3 * axes 1 value to throttle
_
IndexError: tuple index out of range
]([url](

url_**

))

please any help for controlling the movement of the jetracer,

Thank you in advance
Mouna SAMAALI

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

No branches or pull requests

1 participant