#include <CrazyflieUSB.h>
Public Member Functions | |
CrazyflieUSB (uint32_t devid) | |
virtual void | sendPacket (const uint8_t *data, uint32_t length, ITransport::Ack &result) |
virtual void | sendPacketNoAck (const uint8_t *data, uint32_t length) |
std::string | serial () |
float | version () const |
~CrazyflieUSB () | |
Static Public Member Functions | |
static uint32_t | numDevices () |
Private Member Functions | |
void | setCrtpToUsb (bool crtpToUsb) |
Definition at line 10 of file CrazyflieUSB.h.
CrazyflieUSB::CrazyflieUSB | ( | uint32_t | devid | ) |
Definition at line 8 of file CrazyflieUSB.cpp.
Definition at line 16 of file CrazyflieUSB.cpp.
uint32_t CrazyflieUSB::numDevices | ( | ) | [static] |
Definition at line 21 of file CrazyflieUSB.cpp.
void CrazyflieUSB::sendPacket | ( | const uint8_t * | data, |
uint32_t | length, | ||
ITransport::Ack & | result | ||
) | [virtual] |
Implements ITransport.
Definition at line 36 of file CrazyflieUSB.cpp.
void CrazyflieUSB::sendPacketNoAck | ( | const uint8_t * | data, |
uint32_t | length | ||
) | [virtual] |
Implements ITransport.
Definition at line 83 of file CrazyflieUSB.cpp.
std::string CrazyflieUSB::serial | ( | ) |
Definition at line 26 of file CrazyflieUSB.cpp.
void CrazyflieUSB::setCrtpToUsb | ( | bool | crtpToUsb | ) | [private] |
Definition at line 112 of file CrazyflieUSB.cpp.
float CrazyflieUSB::version | ( | ) | const |
Definition at line 31 of file CrazyflieUSB.cpp.