Driving
Author: Patrick Naughton
Date: 3/28/2018
Hours: 3
Tested both computer to Arduino and Arduino to computer communication using Python's serial library. Both are very intuitive and appear to function well. One thing to note is that the computer to Arduino communication can be rather slow.
Drove both the steering servo and ESC from a Raspberry Pi mounted on the Pi Car.
Set up and calibrated the ESC, Arduino, and remote control so that the remote control can drive the car. In this mode, the Arduino reads in the remote control signal and then feeds the ESC the corresponding pulse width. Additionally, it will later tell the Raspberry Pi what it is doing so that the Pi can transmit its intentions.
See code contributions here: https://github.com/patricknaughton01/comm_scripts/commits/master
Next Steps:
- Create a script to read ESC and servo commands from the Arduino and broadcast them.
- Test using the remote control to give a stationary Pi Car commands which will be transmitted to and executed by a mobile Pi Car.