Hello Everyone!
I want to be able to update the location of the Home at any moment
Suppose I fly the quadcopter from a moving boat
This feature exists in DJI quads with this name “Dynamic Home Point”, but I can’t figure out how to implement it in Pixhawk
thanks
You can set home point by using MAV_CMD_DO_SET_HOME message. New versions of QGroundControl support this. You can click the map and set home.
I did not try this in flight but in sitl it is working.
This should be done automatically, the ship is moving and I don’t want to specify the home myself, I want the quad to consider the location of the joystick as home and return to it after the mission is done.
MAV_CMD_DO_SET_HOME İs implemented in PX4 commander module. You should send this mavlink command somehow like MAVSDK,MAVROS,Pymavlink etc. I’m not sure which of these supports this command. But if you check commander module implementation is looks quite clear.