func (tello *Tello) SetSlowMode() {
	tello.SetSportsMode(false)
}
SetSlowMode sets the 'slow' or 'normal' mode of flight.
package tello
func (tello *Tello) TakeOff() {
	tello.ctrlMu.Lock()
	tello.autoXYMu.Lock()
	tello.homeValid = false  
	tello.autoXYMu.Unlock()
	tello.ctrlSeq++
	pkt := newPacket(ptSet, msgDoTakeoff, tello.ctrlSeq, 0)
	tello.ctrlConn.Write(packetToBuffer(pkt))
	tello.ctrlMu.Unlock()
}
func (tello *Tello) ThrowTakeOff() {
	tello.ctrlMu.Lock()
	tello.autoXYMu.Lock()
	tello.homeValid = false  
	tello.autoXYMu.Unlock()
	tello.ctrlSeq++
	pkt := newPacket(ptGet, msgDoThrowTakeoff, tello.ctrlSeq, 0)
	tello.ctrlConn.Write(packetToBuffer(pkt))
	tello.ctrlMu.Unlock()
}
func (tello *Tello) Land() {
	tello.ctrlMu.Lock()
	defer tello.ctrlMu.Unlock()
	tello.ctrlSeq++
	pkt := newPacket(ptSet, msgDoLand, tello.ctrlSeq, 1)
	pkt.payload[0] = 0  
	tello.ctrlConn.Write(packetToBuffer(pkt))
}
func (tello *Tello) StopLanding() {
	tello.ctrlMu.Lock()
	defer tello.ctrlMu.Unlock()
	tello.ctrlSeq++
	pkt := newPacket(ptSet, msgDoLand, tello.ctrlSeq, 1)
	pkt.payload[0] = 1
	tello.ctrlConn.Write(packetToBuffer(pkt))
}
func (tello *Tello) PalmLand() {
	tello.ctrlMu.Lock()
	defer tello.ctrlMu.Unlock()
	tello.ctrlSeq++
	pkt := newPacket(ptSet, msgDoPalmLand, tello.ctrlSeq, 1)
	pkt.payload[0] = 0
	tello.ctrlConn.Write(packetToBuffer(pkt))
}
func (tello *Tello) Bounce() {
	tello.ctrlMu.Lock()
	defer tello.ctrlMu.Unlock()
	tello.ctrlSeq++
	pkt := newPacket(ptSet, msgDoBounce, tello.ctrlSeq, 1)
	if tello.ctrlBouncing {
		pkt.payload[0] = 0x31
		tello.ctrlBouncing = false
	} else {
		pkt.payload[0] = 0x30
		tello.ctrlBouncing = true
	}
	tello.ctrlConn.Write(packetToBuffer(pkt))
}
func (tello *Tello) Flip(dir FlipType) {
	tello.ctrlMu.Lock()
	defer tello.ctrlMu.Unlock()
	tello.ctrlSeq++
	pkt := newPacket(ptFlip, msgDoFlip, tello.ctrlSeq, 1)
	pkt.payload[0] = byte(dir)
	tello.ctrlConn.Write(packetToBuffer(pkt))
}
func (tello *Tello) StartSmartVideo(cmd SvCmd) {
	tello.ctrlMu.Lock()
	defer tello.ctrlMu.Unlock()
	tello.ctrlSeq++
	pkt := newPacket(ptSet, msgDoSmartVideo, tello.ctrlSeq, 1)
	pkt.payload[0] = byte(cmd) | 0x01
	tello.ctrlConn.Write(packetToBuffer(pkt))
}
func (tello *Tello) StopSmartVideo(cmd SvCmd) {
	tello.ctrlMu.Lock()
	defer tello.ctrlMu.Unlock()
	tello.ctrlSeq++
	pkt := newPacket(ptSet, msgDoSmartVideo, tello.ctrlSeq, 1)
	pkt.payload[0] = byte(cmd)
	tello.ctrlConn.Write(packetToBuffer(pkt))
}
func (tello *Tello) Hover() {
	tello.ctrlMu.Lock()
	tello.ctrlLx = 0
	tello.ctrlLy = 0
	tello.ctrlRx = 0
	tello.ctrlRy = 0
	tello.ctrlMu.Unlock()
}
func (tello *Tello) Forward(pct int) {
	var speed int16
	if pct > 0 {
		speed = int16(pct) * 327  
	}
	tello.UpdateSticks(StickMessage{Rx: 0, Ry: speed, Lx: 0, Ly: 0})
}
func (tello *Tello) Backward(pct int) {
	var speed int16
	if pct > 0 {
		speed = int16(pct) * 327  
	}
	tello.UpdateSticks(StickMessage{Rx: 0, Ry: -speed, Lx: 0, Ly: 0})
}
func (tello *Tello) Left(pct int) {
	var speed int16
	if pct > 0 {
		speed = int16(pct) * 327  
	}
	tello.UpdateSticks(StickMessage{Rx: -speed, Ry: 0, Lx: 0, Ly: 0})
}
func (tello *Tello) Right(pct int) {
	var speed int16
	if pct > 0 {
		speed = int16(pct) * 327  
	}
	tello.UpdateSticks(StickMessage{Rx: speed, Ry: 0, Lx: 0, Ly: 0})
}
func (tello *Tello) Up(pct int) {
	var speed int16
	if pct > 0 {
		speed = int16(pct) * 327  
	}
	tello.UpdateSticks(StickMessage{Rx: 0, Ry: 0, Lx: 0, Ly: speed})
}
func (tello *Tello) Down(pct int) {
	var speed int16
	if pct > 0 {
		speed = int16(pct) * 327  
	}
	tello.UpdateSticks(StickMessage{Rx: 0, Ry: 0, Lx: 0, Ly: -speed})
}
func (tello *Tello) Clockwise(pct int) {
	var speed int16
	if pct > 0 {
		speed = int16(pct) * 327  
	}
	tello.UpdateSticks(StickMessage{Rx: 0, Ry: 0, Lx: speed, Ly: 0})
}
func (tello *Tello) TurnRight(pct int) {
	tello.Clockwise(pct)
}
func (tello *Tello) Anticlockwise(pct int) {
	var speed int16
	if pct > 0 {
		speed = int16(pct) * 327  
	}
	tello.UpdateSticks(StickMessage{Rx: 0, Ry: 0, Lx: -speed, Ly: 0})
}
func (tello *Tello) TurnLeft(pct int) {
	tello.Anticlockwise(pct)
}
func (tello *Tello) CounterClockwise(pct int) {
	tello.Anticlockwise(pct)
}
func (tello *Tello) SetSportsMode(sports bool) {
	tello.ctrlMu.Lock()
	tello.ctrlSportsMode = sports
	tello.ctrlMu.Unlock()
}
func (tello *Tello) SetFastMode() {
	tello.SetSportsMode(true)
}