global_variables.h 547 Bytes
Newer Older
Philippe Gaussier's avatar
Philippe Gaussier committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

// global variables to access the drone data and use the different shared memories (blc)

extern Drone drone1;

extern blc_channel blc_control_arm; // 1=on, 0=off;
extern blc_channel blc_control_remote_vector;
    //Channels use to control manually the drone
extern blc_channel blc_control_motors; //x, y, z, r

    //Channels use to command the drone
extern blc_channel blc_control_commands; // 1=on, 0=off
extern blc_channel blc_highres_imu;

    //Different blc channel use to publish data
extern blc_channel blc_heartbeat; //Hearbeat message