def send_position_setpoint(self, x, y, z, yaw):
        """
        Control mode where the position is sent as absolute x,y,z coordinate in
        meter and the yaw is the absolute orientation.

        x and y are in m
        yaw is in degrees
        """
        pk = CRTPPacket()
        pk.port = CRTPPort.COMMANDER_GENERIC
        pk.data = struct.pack('<Bffff', TYPE_POSITION,
                              x, y, z, yaw)
        self._cf.send_packet(pk)
def send_position_setpoint ( self , x , y , z , yaw ) : pk = CRTPPacket ( ) pk . port = CRTPPort . COMMANDER_GENERIC pk . data = struct . pack ( '<Bffff' , TYPE_POSITION , x , y , z , yaw ) self . _cf . send_packet ( pk )
Control mode where the position is sent as absolute x,y,z coordinate in
        meter and the yaw is the absolute orientation.

        x and y are in m
        yaw is in degrees