#include <Crazyflie.h>
Classes | |
struct | externalPose |
struct | externalPosition |
Public Member Functions | |
CrazyflieBroadcaster (const std::string &link_uri) | |
void | emergencyStop () |
void | emergencyStopWatchdog () |
void | goTo (float x, float y, float z, float yaw, float duration, uint8_t groupMask=0) |
void | land (float height, float duration, uint8_t groupMask=0) |
void | sendExternalPoses (const std::vector< externalPose > &data) |
void | sendExternalPositions (const std::vector< externalPosition > &data) |
void | startTrajectory (uint8_t trajectoryId, float timescale=1.0, bool reversed=false, uint8_t groupMask=0) |
void | stop (uint8_t groupMask=0) |
void | takeoff (float height, float duration, uint8_t groupMask=0) |
Protected Member Functions | |
void | send2Packets (const uint8_t *data, uint32_t length) |
void | sendPacket (const uint8_t *data, uint32_t length) |
Private Attributes | |
uint64_t | m_address |
uint8_t | m_channel |
Crazyradio::Datarate | m_datarate |
int | m_devId |
Crazyradio * | m_radio |
Definition at line 827 of file Crazyflie.h.
CrazyflieBroadcaster::CrazyflieBroadcaster | ( | const std::string & | link_uri | ) |
Definition at line 1405 of file Crazyflie.cpp.
void CrazyflieBroadcaster::emergencyStop | ( | ) |
Definition at line 1581 of file Crazyflie.cpp.
Definition at line 1587 of file Crazyflie.cpp.
void CrazyflieBroadcaster::goTo | ( | float | x, |
float | y, | ||
float | z, | ||
float | yaw, | ||
float | duration, | ||
uint8_t | groupMask = 0 |
||
) |
Definition at line 1522 of file Crazyflie.cpp.
void CrazyflieBroadcaster::land | ( | float | height, |
float | duration, | ||
uint8_t | groupMask = 0 |
||
) |
Definition at line 1509 of file Crazyflie.cpp.
void CrazyflieBroadcaster::send2Packets | ( | const uint8_t * | data, |
uint32_t | length | ||
) | [protected] |
Definition at line 1483 of file Crazyflie.cpp.
void CrazyflieBroadcaster::sendExternalPoses | ( | const std::vector< externalPose > & | data | ) |
Definition at line 1625 of file Crazyflie.cpp.
void CrazyflieBroadcaster::sendExternalPositions | ( | const std::vector< externalPosition > & | data | ) |
Definition at line 1540 of file Crazyflie.cpp.
void CrazyflieBroadcaster::sendPacket | ( | const uint8_t * | data, |
uint32_t | length | ||
) | [protected] |
Definition at line 1463 of file Crazyflie.cpp.
void CrazyflieBroadcaster::startTrajectory | ( | uint8_t | trajectoryId, |
float | timescale = 1.0 , |
||
bool | reversed = false , |
||
uint8_t | groupMask = 0 |
||
) |
Definition at line 1530 of file Crazyflie.cpp.
void CrazyflieBroadcaster::stop | ( | uint8_t | groupMask = 0 | ) |
Definition at line 1515 of file Crazyflie.cpp.
void CrazyflieBroadcaster::takeoff | ( | float | height, |
float | duration, | ||
uint8_t | groupMask = 0 |
||
) |
Definition at line 1503 of file Crazyflie.cpp.
uint64_t CrazyflieBroadcaster::m_address [private] |
Definition at line 914 of file Crazyflie.h.
uint8_t CrazyflieBroadcaster::m_channel [private] |
Definition at line 913 of file Crazyflie.h.
Definition at line 915 of file Crazyflie.h.
int CrazyflieBroadcaster::m_devId [private] |
Definition at line 911 of file Crazyflie.h.
Crazyradio* CrazyflieBroadcaster::m_radio [private] |
Definition at line 910 of file Crazyflie.h.