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

How to add another new Throttle to Donkey Car? #789

Closed
Choikyungho9 opened this issue Feb 17, 2021 · 1 comment
Closed

How to add another new Throttle to Donkey Car? #789

Choikyungho9 opened this issue Feb 17, 2021 · 1 comment

Comments

@Choikyungho9
Copy link

Choikyungho9 commented Feb 17, 2021

Hi. I want to add a new throttle to the donkey car code.

When referring to the throttle code in config.py and adding the code to a variable called throttle_2, donkey calibrate works in channel 2, but does not work in donkey drive. (I am controlling the drive with the joystick now.)

How to create an extra throttle?
I want to add throttle_2 to train donkey car.
Do you have a guide on this?

@DocGarbanzo
Copy link
Contributor

If you want to use a different variable, you need to set up a part that uses it (i.e. writes to it or reads to it). Tawn has made a great video about donkeycar parts, pls check out https://youtu.be/YZ4ESrtfShs.

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

2 participants