Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions TelloLib/Tello.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,16 @@ public static void doFlip(int dir)

client.Send(packet);
}
public static void doBounce(bool start = false)
{
// crc typ cmdL cmdH seqL seqH onoff crc crc
var packet = new byte[] { 0xcc, 0x60, 0x00, 0x27, 0x68, 0x53, 0x10, 0xe5, 0x01, 0x00, 0xba, 0xc7 };
//payload
packet[9] = (byte)((start) ? 0x30 : 0x31);
setPacketSequence(packet);
setPacketCRCs(packet);
client.Send(packet);
}
public static void setJpgQuality(int quality)
{
// crc typ cmdL cmdH seqL seqH quaL crc crc
Expand Down