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,
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