Running a Script on start up


I am currently using the ADC port on the px4 to arm/disarm the system with a button that will live on our rover. I wrote a simple script that monitors the voltage of the "sonar sensor" that the button is, and disarms the system if the button is pressed. I would like to have this code running continuously either when mission planner starts up, or when connection between the px4 and the GCS is established. It is not ideal to have to go in and select/run the script manually. 

Thanks, Seth

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –


This reply was deleted.


David Hori liked Isabella Domi's profile
Jan 12