#include <iostream>
#include <chrono>
#include <boost/program_options.hpp>
#include <crazyflie_cpp/Crazyflie.h>
#include <crazyflie_cpp/crtp.h>
Go to the source code of this file.
Classes | |
struct | crtpMyPacket |
Functions | |
struct crtpMyPacket | __attribute__ ((packed)) |
crtpMyPacket (uint64_t id, uint64_t time_since_epoch) | |
uint64_t | getTimestamp () |
int | main (int argc, char **argv) |
void | onEmptyAck (const crtpPlatformRSSIAck *cb) |
void | onGenericPacket (const ITransport::Ack &ack) |
void | onLinkQuality (float quality) |
Variables | |
const crtp | header |
const uint64_t | id |
uint32_t | linkQualityAcked = 0 |
uint32_t | linkQualitySent = 0 |
uint32_t | numPacketsReceived = 0 |
uint64_t | sumRoundtripTime = 0 |
uint64_t | time_since_epoch |
struct crtpMyPacket __attribute__ | ( | (packed) | ) |
__attribute__::crtpMyPacket | ( | uint64_t | id, |
uint64_t | time_since_epoch | ||
) |
Definition at line 149 of file comCheck.cpp.
uint64_t getTimestamp | ( | ) |
Definition at line 23 of file comCheck.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 64 of file comCheck.cpp.
void onEmptyAck | ( | const crtpPlatformRSSIAck * | cb | ) |
Definition at line 52 of file comCheck.cpp.
void onGenericPacket | ( | const ITransport::Ack & | ack | ) |
Definition at line 40 of file comCheck.cpp.
void onLinkQuality | ( | float | quality | ) |
Definition at line 57 of file comCheck.cpp.
const crtp header |
Definition at line 157 of file comCheck.cpp.
const uint64_t id |
Definition at line 158 of file comCheck.cpp.
uint32_t linkQualityAcked = 0 |
Definition at line 38 of file comCheck.cpp.
uint32_t linkQualitySent = 0 |
Definition at line 37 of file comCheck.cpp.
uint32_t numPacketsReceived = 0 |
Definition at line 34 of file comCheck.cpp.
uint64_t sumRoundtripTime = 0 |
Definition at line 35 of file comCheck.cpp.
uint64_t time_since_epoch |
Definition at line 159 of file comCheck.cpp.