Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
cartography.h
Go to the documentation of this file.
1 
3 #ifndef CARTOGRAPHY_H
4 #define CARTOGRAPHY_H
5 
6 
7 
8 
9 void init_carto(void);
10 void periodic_downlink_carto(void);
11 void start_carto(void);
12 void stop_carto(void);
13 
14 /*
15  typedef enum {NS, WE} survey_orientation_t;
16  */
17 
18 
19 #if USE_ONBOARD_CAMERA
20 extern bool CAMERA_SNAPSHOT_REQUIERED;
22 #endif
23 
24 extern float distrailinteractif; //pour exporter la variable et pouvoir la changer depuis settings
25 
26 
27 
29 
30 
31 extern bool nav_survey_Inc_railnumberSinceBoot(void);
32 extern bool nav_survey_Snapshoot(void);
34 extern bool nav_survey_StopSnapshoot(void);
35 extern bool nav_survey_computefourth_corner(uint8_t wp1, uint8_t wp2, uint8_t wp3, uint8_t wp4);
36 
37 extern bool nav_survey_losange_carto_init(uint8_t wp1, uint8_t wp2, uint8_t wp3, float distrail, float distplus);
38 
39 extern bool nav_survey_losange_carto(
40  void); // !!!! important il faut mettre void en parametres d'entrée, sinon le compilo dit: attention : function declaration isn»t a prototype
41 
42 //(uint8_t wp1, uint8_t wp2, uint8_t wp3);
43 
44 /*
45  #define NavSurveylosange_cartoInit(_wp1, _wp2, _grid, _distplus) nav_survey_losange_init(_wp1, _wp2, _wp3, _grid, _distplus)
46  #define NavSurveylosange_carto nav_survey_losange
47  */
48 
49 
50 
51 #endif
52 
uint16_t
unsigned short uint16_t
Definition: types.h:16
start_carto
void start_carto(void)
Definition: cartography.c:166
periodic_downlink_carto
void periodic_downlink_carto(void)
Definition: cartography.c:152
camera_snapshot_image_number
uint16_t camera_snapshot_image_number
Definition: cartography.c:92
stop_carto
void stop_carto(void)
Definition: cartography.c:170
distrailinteractif
float distrailinteractif
Definition: cartography.c:107
distplus
float distplus
Definition: cartography.c:105
uint8_t
unsigned char uint8_t
Definition: types.h:14
nav_survey_StopSnapshoot
bool nav_survey_StopSnapshoot(void)
Definition: cartography.c:201
nav_survey_Inc_railnumberSinceBoot
bool nav_survey_Inc_railnumberSinceBoot(void)
Definition: cartography.c:177
nav_survey_Snapshoot
bool nav_survey_Snapshoot(void)
Definition: cartography.c:183
nav_survey_Snapshoot_Continu
bool nav_survey_Snapshoot_Continu(void)
Definition: cartography.c:192
init_carto
void init_carto(void)
Automatic survey of an oriented rectangle (defined by three points)
Definition: cartography.c:148
nav_survey_losange_carto_init
bool nav_survey_losange_carto_init(uint8_t wp1, uint8_t wp2, uint8_t wp3, float distrail, float distplus)
Definition: cartography.c:322
nav_survey_losange_carto
bool nav_survey_losange_carto(void)
Definition: cartography.c:423
nav_survey_computefourth_corner
bool nav_survey_computefourth_corner(uint8_t wp1, uint8_t wp2, uint8_t wp3, uint8_t wp4)
Definition: cartography.c:211
distrail
float distrail
Definition: cartography.c:104