2019-02-02, 08:58 AM
What do the scripts do? How do they communicate to the motor?
It would make more sense to implement a driver for your controller in servo.py It would not be efficient to execute bash scripts for this purpose since the autopilot commands the motor at 10-25hz any lag would degrade performance.
I have the arduino driver used by many, but there is also a driver for direct control from raspberry gpio pins. You could implement another driver. I can't say more without more information,
It would make more sense to implement a driver for your controller in servo.py It would not be efficient to execute bash scripts for this purpose since the autopilot commands the motor at 10-25hz any lag would degrade performance.
I have the arduino driver used by many, but there is also a driver for direct control from raspberry gpio pins. You could implement another driver. I can't say more without more information,