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 896 of file Crazyflie.h.

Constructor & Destructor Documentation

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

Definition at line 1510 of file Crazyflie.cpp.

Member Function Documentation

void CrazyflieBroadcaster::emergencyStop ( )

Definition at line 1686 of file Crazyflie.cpp.

void CrazyflieBroadcaster::emergencyStopWatchdog ( )

Definition at line 1692 of file Crazyflie.cpp.

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

Definition at line 1627 of file Crazyflie.cpp.

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

Definition at line 1614 of file Crazyflie.cpp.

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

Definition at line 1588 of file Crazyflie.cpp.

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

Definition at line 1730 of file Crazyflie.cpp.

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

Definition at line 1645 of file Crazyflie.cpp.

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

Definition at line 1568 of file Crazyflie.cpp.

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

Definition at line 950 of file Crazyflie.h.

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

Definition at line 1635 of file Crazyflie.cpp.

void CrazyflieBroadcaster::stop ( uint8_t  groupMask = 0)

Definition at line 1620 of file Crazyflie.cpp.

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

Definition at line 1608 of file Crazyflie.cpp.

Member Data Documentation

uint64_t CrazyflieBroadcaster::m_address
private

Definition at line 979 of file Crazyflie.h.

uint8_t CrazyflieBroadcaster::m_channel
private

Definition at line 978 of file Crazyflie.h.

Crazyradio::Datarate CrazyflieBroadcaster::m_datarate
private

Definition at line 980 of file Crazyflie.h.

int CrazyflieBroadcaster::m_devId
private

Definition at line 976 of file Crazyflie.h.

Crazyradio* CrazyflieBroadcaster::m_radio
private

Definition at line 975 of file Crazyflie.h.


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


crazyflie_cpp
Author(s): Wolfgang Hoenig
autogenerated on Tue May 19 2020 03:38:05