0
$\begingroup$

I am using a raspberry pi 4 connecting to a PCA9685 and following the instruction on the donkeycar doc site (the link can be found below). I am at the step "fine tuning calibration." When I run "python manage.py drive" the steering works using my keyboard controls but the throttle is not causing any movement with the keys. I know that the throttle is not broken because the wheels turn when I do the calibration of the throttle. How do I solve this?

https://docs.donkeycar.com/guide/calibrate/

$\endgroup$
1
$\begingroup$

There can be a few explanations for this:

  1. Does your motor controller (ESC) have an on-off switch? If so, try flipping that
  2. Some ESCs need to "arm". Try going to full throttle and back and see if that makes a difference
  3. I'm assuming you have your battery plugged in ;-)
  4. Try reversing the direction in the myconfig.py file
$\endgroup$
3
  • $\begingroup$ Hi Chris! I have the switch on so that is not the problem and I do have the battery plugged in! When I reach about .6 throttle on local host the car starts to beep, should I push past that point? $\endgroup$ – Megan Jones May 8 at 0:29
  • $\begingroup$ Looks like your calibration value is not correct. Try increasing THROTTLE_STOPPED_PWM and THROTTLE_FORWARD_PWM. When you have the right THROTTLE_STOPPED_PWM value, running python manager.py drive will produce a beep sound from the ESC $\endgroup$ – Jonathan Tse May 8 at 0:40
  • $\begingroup$ when I was calibrating, 370 was when the car beeped! what should I be trying to change it to? $\endgroup$ – Megan Jones May 8 at 0:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.