Classes | Functions | Variables
crazyflie_server.cpp File Reference
#include "ros/ros.h"
#include "crazyflie_driver/AddCrazyflie.h"
#include "crazyflie_driver/RemoveCrazyflie.h"
#include "crazyflie_driver/LogBlock.h"
#include "crazyflie_driver/GenericLogData.h"
#include "crazyflie_driver/UpdateParams.h"
#include "crazyflie_driver/sendPacket.h"
#include "crazyflie_driver/crtpPacket.h"
#include "crazyflie_cpp/Crazyradio.h"
#include "crazyflie_cpp/crtp.h"
#include "std_srvs/Empty.h"
#include "geometry_msgs/Twist.h"
#include "geometry_msgs/PointStamped.h"
#include "sensor_msgs/Imu.h"
#include "sensor_msgs/Temperature.h"
#include "sensor_msgs/MagneticField.h"
#include "std_msgs/Float32.h"
#include <thread>
#include <mutex>
#include <string>
#include <map>
#include <crazyflie_cpp/Crazyflie.h>
Include dependency graph for crazyflie_server.cpp:

Go to the source code of this file.

Classes

class  CrazyflieROS
struct  CrazyflieROS::log2
struct  CrazyflieROS::logImu

Functions

bool add_crazyflie (crazyflie_driver::AddCrazyflie::Request &req, crazyflie_driver::AddCrazyflie::Response &res)
double degToRad (double deg)
int main (int argc, char **argv)
constexpr double pi ()
double radToDeg (double rad)
bool remove_crazyflie (crazyflie_driver::RemoveCrazyflie::Request &req, crazyflie_driver::RemoveCrazyflie::Response &res)

Variables

float acc_x
float acc_y
float acc_z
float baro_pressure
float baro_temp
static std::map< std::string,
CrazyflieROS * > 
crazyflies
float gyro_x
float gyro_y
float gyro_z
float mag_x
float mag_y
float mag_z
float pm_vbat

Function Documentation

bool add_crazyflie ( crazyflie_driver::AddCrazyflie::Request &  req,
crazyflie_driver::AddCrazyflie::Response res 
)

Definition at line 561 of file crazyflie_server.cpp.

double degToRad ( double  deg)

Definition at line 30 of file crazyflie_server.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 622 of file crazyflie_server.cpp.

constexpr double pi ( )

Definition at line 28 of file crazyflie_server.cpp.

double radToDeg ( double  rad)

Definition at line 34 of file crazyflie_server.cpp.

bool remove_crazyflie ( crazyflie_driver::RemoveCrazyflie::Request &  req,
crazyflie_driver::RemoveCrazyflie::Response res 
)

Definition at line 601 of file crazyflie_server.cpp.


Variable Documentation

float acc_x

Definition at line 182 of file crazyflie_server.cpp.

float acc_y

Definition at line 183 of file crazyflie_server.cpp.

float acc_z

Definition at line 184 of file crazyflie_server.cpp.

Definition at line 195 of file crazyflie_server.cpp.

float baro_temp

Definition at line 194 of file crazyflie_server.cpp.

std::map<std::string, CrazyflieROS*> crazyflies [static]

Definition at line 559 of file crazyflie_server.cpp.

float gyro_x

Definition at line 185 of file crazyflie_server.cpp.

float gyro_y

Definition at line 186 of file crazyflie_server.cpp.

float gyro_z

Definition at line 187 of file crazyflie_server.cpp.

float mag_x

Definition at line 191 of file crazyflie_server.cpp.

float mag_y

Definition at line 192 of file crazyflie_server.cpp.

float mag_z

Definition at line 193 of file crazyflie_server.cpp.

float pm_vbat

Definition at line 196 of file crazyflie_server.cpp.



crazyflie_driver
Author(s): Wolfgang Hoenig
autogenerated on Sun Oct 8 2017 02:48:03