I'm on the calibration step now with my servo in channel 1 and throttle in channel 0. I can get my servos to rotate left and right using
donkey calibrate --channel 1 --bus=1
but nothing happens with my throttle when I run
donkey calibrate --channel 0 --bus=1.
Originally, the ESC for my motor takes a 100hz signal with a duty cycle between 10-20% and I verified that this works by using a function generator set to 100hz. The default signal from the calibrate command is 60hz, and I'm wondering how to change that to 100hz for my car to work.
Additionally, when I use my raspberry pi to calibrate, the light on my ESC flashes green which detects that the 'Throttle Trim is incorrectly set'.
For reference I am using a Rasberry Pi 3 with a Traxxas Slash 4x4
Found the solution, calibrate has a --pwmFreq parameter where the default is set to 60hz. I changed the default - found in projectName/donkeycar/donkeycar/management/base.py - to 100hz
Hi,
I'm on the calibration step now with my servo in channel 1 and throttle in channel 0. I can get my servos to rotate left and right using
donkey calibrate --channel 1 --bus=1
but nothing happens with my throttle when I rundonkey calibrate --channel 0 --bus=1
.Originally, the ESC for my motor takes a 100hz signal with a duty cycle between 10-20% and I verified that this works by using a function generator set to 100hz. The default signal from the calibrate command is 60hz, and I'm wondering how to change that to 100hz for my car to work.
Additionally, when I use my raspberry pi to calibrate, the light on my ESC flashes green which detects that the 'Throttle Trim is incorrectly set'.
For reference I am using a Rasberry Pi 3 with a Traxxas Slash 4x4
Thank you!!