5 Replies Latest reply on Jul 13, 2017 4:16 PM by Intel Corporation

    How to change the default takeoff altitude

    philipbinbin

      Hi,

       

      When I use the code to control RTF. It always fly to 20 meters and then to the target altitude.

      How to change it?Are there have any ways to let RTF takeoff slowly?like controlled by RC?

       

      vehicle._master.mav.command_long_send(vehicle._master.target_system, vehicle._master.target_component,

                                                    mavutil.mavlink.MAV_CMD_NAV_TAKEOFF, 0, 0, 0, 0, 0, 0, 0, aTargetAltitude)

       

      Thanks.