Classes | Functions | Variables
battery.cpp File Reference
#include <iostream>
#include <chrono>
#include <thread>
#include <boost/program_options.hpp>
#include <crazyflie_cpp/Crazyflie.h>
Include dependency graph for battery.cpp:

Go to the source code of this file.

Classes

struct  log

Functions

struct log __attribute__ ((packed))
int main (int argc, char **argv)
void onLogData (uint32_t, struct log *data)

Variables

volatile bool g_done = false
float pm_extCurr
float pm_extVbat
float pm_vbat

Function Documentation

struct log __attribute__ ( (packed)  )
int main ( int  argc,
char **  argv 
)

Definition at line 25 of file battery.cpp.

void onLogData ( uint32_t  ,
struct log data 
)

Definition at line 17 of file battery.cpp.


Variable Documentation

volatile bool g_done = false

Definition at line 15 of file battery.cpp.

float pm_extCurr

Definition at line 16 of file battery.cpp.

float pm_extVbat

Definition at line 15 of file battery.cpp.

float pm_vbat

Definition at line 14 of file battery.cpp.



crazyflie_tools
Author(s): Wolfgang Hoenig
autogenerated on Wed Jun 12 2019 19:20:48