As in the topic, I need to create a system to control Solo drone's movement during landing in real time (based on horizontal sensors). I would like to use Dronekit in code running onboard. My idea was using override of roll, pitch, yaw channels during LAND mode and I checked that it is possible in simulation of ardupilot. But unfortunately I see that vehicle.mode = VehicleMode("LAND") does not change flight mode. Is it possible to change mode on LAND or GUIDED on Solo's pixhawk? Or what is different method to programmatic control of Solo? Or should I try flash any different branch of ardupilot?
Thank you for any help,