Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1702 - 1
#define on 1
2
#define off 0
3
 
4
/*Enabling disabling Panels Switches*/
5
//Not working yet!!! Just here to remember:
6
 
7
int swBat = on;
8
int swCam = off;
9
int swDir = off;
10
int swGPS = on;
11
int swAlt = off;
12
int swTim = off;
13
int swDis = off;
14
 
15
/*Panels variables*/
16
//Will come from APM telem port
17
 
18
float bat_val = 12.05; //current voltage
19
float bat_cel = 3; //number of cells
20
float lat = 34.178851; //latidude
21
float lon = -118.501655; //longitude
22
float hom_dis = 0; //distance from home <-------- !!! (probably must be calculated here)
23
float head = 170.0; //heading angle = compass
24
float alt = 0; //altitude <-------- !!! ( Need to know the default unit meters foots?)
25
float vel = 0; //velocity <-------- !!! ( Need to know the default unit meters/sec kmeters/h milles/h?)
26
int   num_sat = 3; //number of satelites
27
int   gps_lock = 1; //GPS lock... need verify if is boolean or not <--------- !!! ( Remember!!! Very important on startup time!!!)
28
 
29