Hi,
I'm working on a ground station software and in particular on autodetection of Ardupilot autopilots, right now.
I have two questions:
1) Autopilot. What is the right way to distinguish between Pixhawk and APM2.5 and possibly other hardware via MAVLINK connection?
I do not see explicit parameter for that. I saw that there are parameters which have different values for different boards (eg. RSSI_PIN or BATT_CURR_PIN), so I could do that implicitly, but maybe there is nicer way for that?
2) Frame type. There is this MAV_TYPE reported via heartbeat. Iris+ reports MAV_TYPE_QUADROTOR but I would like to know that it is an Iris frame. There is a parameter named "FRAME" which can be used but again, it does not look very consistent. Why it wasn't introduced as MAV_TYPE_IRIS? Or given the million frames out there the frame type could be a user defined string instead of strictly defined uint8_t enum.
Thanks,
Janis Dzerve.