Classes | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
CrazyflieBroadcaster Class Reference

#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)
 
template<class T >
void setParam (const char *group, const char *name, const T &value)
 
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
 
Crazyradiom_radio
 

Detailed Description

Definition at line 891 of file Crazyflie.h.

Constructor & Destructor Documentation

CrazyflieBroadcaster::CrazyflieBroadcaster ( const std::string &  link_uri)

Definition at line 1496 of file Crazyflie.cpp.

Member Function Documentation

void CrazyflieBroadcaster::emergencyStop ( )

Definition at line 1672 of file Crazyflie.cpp.

void CrazyflieBroadcaster::emergencyStopWatchdog ( )

Definition at line 1678 of file Crazyflie.cpp.

void CrazyflieBroadcaster::goTo ( float  x,
float  y,
float  z,
float  yaw,
float  duration,
uint8_t  groupMask = 0 
)

Definition at line 1613 of file Crazyflie.cpp.

void CrazyflieBroadcaster::land ( float  height,
float  duration,
uint8_t  groupMask = 0 
)

Definition at line 1600 of file Crazyflie.cpp.

void CrazyflieBroadcaster::send2Packets ( const uint8_t *  data,
uint32_t  length 
)
protected

Definition at line 1574 of file Crazyflie.cpp.

void CrazyflieBroadcaster::sendExternalPoses ( const std::vector< externalPose > &  data)

Definition at line 1716 of file Crazyflie.cpp.

void CrazyflieBroadcaster::sendExternalPositions ( const std::vector< externalPosition > &  data)

Definition at line 1631 of file Crazyflie.cpp.

void CrazyflieBroadcaster::sendPacket ( const uint8_t *  data,
uint32_t  length 
)
protected

Definition at line 1554 of file Crazyflie.cpp.

template<class T >
void CrazyflieBroadcaster::setParam ( const char *  group,
const char *  name,
const T &  value 
)
inline

Definition at line 945 of file Crazyflie.h.

void CrazyflieBroadcaster::startTrajectory ( uint8_t  trajectoryId,
float  timescale = 1.0,
bool  reversed = false,
uint8_t  groupMask = 0 
)

Definition at line 1621 of file Crazyflie.cpp.

void CrazyflieBroadcaster::stop ( uint8_t  groupMask = 0)

Definition at line 1606 of file Crazyflie.cpp.

void CrazyflieBroadcaster::takeoff ( float  height,
float  duration,
uint8_t  groupMask = 0 
)

Definition at line 1594 of file Crazyflie.cpp.

Member Data Documentation

uint64_t CrazyflieBroadcaster::m_address
private

Definition at line 974 of file Crazyflie.h.

uint8_t CrazyflieBroadcaster::m_channel
private

Definition at line 973 of file Crazyflie.h.

Crazyradio::Datarate CrazyflieBroadcaster::m_datarate
private

Definition at line 975 of file Crazyflie.h.

int CrazyflieBroadcaster::m_devId
private

Definition at line 971 of file Crazyflie.h.

Crazyradio* CrazyflieBroadcaster::m_radio
private

Definition at line 970 of file Crazyflie.h.


The documentation for this class was generated from the following files:


crazyflie_cpp
Author(s): Wolfgang Hoenig
autogenerated on Fri Nov 1 2019 03:39:56