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

#include <Crazyflie.h>


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

Detailed Description

Definition at line 894 of file Crazyflie.h.

Constructor & Destructor Documentation

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

Definition at line 1504 of file Crazyflie.cpp.

Member Function Documentation

void CrazyflieBroadcaster::emergencyStop ( )

Definition at line 1680 of file Crazyflie.cpp.

void CrazyflieBroadcaster::emergencyStopWatchdog ( )

Definition at line 1686 of file Crazyflie.cpp.

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

Definition at line 1621 of file Crazyflie.cpp.

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

Definition at line 1608 of file Crazyflie.cpp.

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

Definition at line 1582 of file Crazyflie.cpp.

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

Definition at line 1724 of file Crazyflie.cpp.

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

Definition at line 1639 of file Crazyflie.cpp.

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

Definition at line 1562 of file Crazyflie.cpp.

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

Definition at line 948 of file Crazyflie.h.

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

Definition at line 1629 of file Crazyflie.cpp.

void CrazyflieBroadcaster::stop ( uint8_t  groupMask = 0)

Definition at line 1614 of file Crazyflie.cpp.

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

Definition at line 1602 of file Crazyflie.cpp.

Member Data Documentation

uint64_t CrazyflieBroadcaster::m_address

Definition at line 977 of file Crazyflie.h.

uint8_t CrazyflieBroadcaster::m_channel

Definition at line 976 of file Crazyflie.h.

Crazyradio::Datarate CrazyflieBroadcaster::m_datarate

Definition at line 978 of file Crazyflie.h.

int CrazyflieBroadcaster::m_devId

Definition at line 974 of file Crazyflie.h.

Crazyradio* CrazyflieBroadcaster::m_radio

Definition at line 973 of file Crazyflie.h.

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

Author(s): Wolfgang Hoenig
autogenerated on Mon Feb 10 2020 03:41:49