MAV_CMD_DO_SET_HOME will set the altitude to 0m

Hello.

I tried using MAV_CMD_DO_SET_HOME to set a landing point in the middle of a flight route, but when I put RTL after the MAV_CMD_DO_SET_HOME command, the altitude of the aircraft is reset to 0m, is this a bug?

If you know how to set multiple landing points on a flight route, I would appreciate it if you could let me know.

Thank you in advance.

Which GCS? Which ArduCopter firmware version?

What were the exact parameters that you sent the command with?

1 Like

Hello.

Sorry for the delay.

GCS is QGroundControl.
The firmware is Copter-4.3.7.
If I use the “specified location” under “set takeoff location,” it changes the takeoff point, but resets the flight altitude to 0 m.