I work on Rover and Copter projects who work with Pixhawk and Dropix.
I search a simple solution for add different sensors for execute commands.
By example:
Use a rain sensor for activate Hold command on my Rover and eventually Land for Copter.
Use a crepuscular sensor for start Auto mission.
Use a voltage sensor for a return to launch with Rover
Etc…
The idea is to have inputs available on Pixhawk and when a voltage input it work like a Boolean and execute an action.
I don’t know if my explanation is understable.
If there is a developer that can help me. I work on several projects with Pixhawk. I can give a little remuneration.
The simplier, I think, should be to have either a companion computer (like a raspberry pi) or a small microchip like an arduino that communication with the pixhawk.
To implement the sensor logic the best should be to look in libraries folder, you should have example on how implement a sensors on each data bus (i2c, spi, uart)
I am not enough qualified in programming for do that. I have base in Arduino programming but this is not enough.
Now, my development axis is principally with APM Rover, because I work on different solutions who can use this firmware.
So I search a developer who can do that for me.
I can give a little remuneration.