(2020-03-26, 11:02 PM)janne Wrote: My questions;
-What program outputs the directions for the motor driver?
-And in what "form"(nmea?) is the output?
Indeed, at first it can be quite daunting. The raspberry sends (motor) commands to the arduino and receives status information back. This is a proprietary byte code format; it would be ill-advised to break into this protocol. The arduino can drive a motor in three different ways. Each way requires additional electronic circuitry to be attached to D2, D3, D9 and/or D10 of the arduino, depending on the way of driving (in the code 'pwm_style'). All a good understander needs to know is in the motor.ino code commentary, but if you are not into electronics I'd suggest you buy a complete motor controller from the pypilot.org site; this integrates an arduino and the electronics to attach a motor to.