TelloPy icon indicating copy to clipboard operation
TelloPy copied to clipboard

emergency command

Open javad-pixel opened this issue 6 years ago • 2 comments

hi, is there any way to add emergency land to source cause i need it thanks.

javad-pixel avatar Aug 05 '19 10:08 javad-pixel

@javad-pixel Can you please help me with the connection (Thank you in advance) Here is the issue - https://github.com/hanyazou/TelloPy/issues/59#issue-490709711

pnehareddy1 avatar Sep 09 '19 00:09 pnehareddy1

@javad-pixel add this under class Tello this will stop all four motors instantly

def emergency(self): """Stop all four motors instantly""" log.info('emergency') pkt = Packet(EMERGENCY_CMD) pkt.add_byte(0x00) pkt.fixup() return self.send_packet(pkt)

dheeeleee avatar Nov 11 '20 09:11 dheeeleee