OFFBOARD takeoff, land, loiter via SET_POSITION_TARGET_LOCAL_NED

In offboard mode the best solution is to use the velocity setpoint.

The AUTO TAKEOFF is a part of the Waypoint system (GPS Waypoints)