
However, now I want to build an RC car that can explore with it's own 4g connection. This is a standard radio controlled car, 1:10 scale with a single brushed dc motor driving all 4 wheels and a steering servo for proportional control of the front wheels. I am using raspberry pi 3a+ and a pca9685 board. I have so far configured it successfully to drive the Esc, and hence the motor for forward and backward control through vigibot. Here is my problem: left and right control cannot be achieved using the arrow buttons as the software assumes 2 motors using differential steering. My first thought to get around this was to map the steering servo to camera pan, which actually works quite well, except when using a controller it does not reset the steering to the central position when letting go of the joystick.
How can I make it so that the left and right arrows control the steering servo only?
Many, many thanks again for your efforts and sorry that I am not able to communicate in French!
Daniel
(Edinburgh, Scotland)