Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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_t 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_t nav_survey_Inc_railnumberSinceBoot(void);
32 extern bool_t nav_survey_Snapshoot(void);
33 bool_t nav_survey_Snapshoot_Continu(void);
34 extern bool_t nav_survey_StopSnapshoot(void);
35 extern bool_t nav_survey_computefourth_corner(uint8_t wp1, uint8_t wp2, uint8_t wp3, uint8_t wp4 );
36 
37 extern bool_t nav_survey_losange_carto_init(uint8_t wp1, uint8_t wp2, uint8_t wp3, float distrail, float distplus);
38 
39 extern bool_t nav_survey_losange_carto(void); // !!!! important il faut mettre void en parametres d'entrée, sinon le compilo dit: attention : function declaration isn»t a prototype
40 
41 //(uint8_t wp1, uint8_t wp2, uint8_t wp3);
42 
43 /*
44  #define NavSurveylosange_cartoInit(_wp1, _wp2, _grid, _distplus) nav_survey_losange_init(_wp1, _wp2, _wp3, _grid, _distplus)
45  #define NavSurveylosange_carto nav_survey_losange
46  */
47 
48 
49 
50 #endif
51 
float distrailinteractif
Definition: cartography.c:108
unsigned short uint16_t
Definition: types.h:16
float distrail
Definition: cartography.c:105
bool_t nav_survey_StopSnapshoot(void)
Definition: cartography.c:191
bool_t nav_survey_Inc_railnumberSinceBoot(void)
Definition: cartography.c:167
void start_carto(void)
Definition: cartography.c:158
void init_carto(void)
Automatic survey of an oriented rectangle (defined by three points)
Definition: cartography.c:151
bool_t nav_survey_losange_carto(void)
Definition: cartography.c:409
void stop_carto(void)
Definition: cartography.c:161
bool_t nav_survey_Snapshoot_Continu(void)
Definition: cartography.c:182
unsigned char uint8_t
Definition: types.h:14
bool_t nav_survey_Snapshoot(void)
Definition: cartography.c:173
bool_t nav_survey_losange_carto_init(uint8_t wp1, uint8_t wp2, uint8_t wp3, float distrail, float distplus)
Definition: cartography.c:311
void periodic_downlink_carto(void)
Definition: cartography.c:154
uint16_t camera_snapshot_image_number
Definition: cartography.c:93
float distplus
Definition: cartography.c:106
bool_t nav_survey_computefourth_corner(uint8_t wp1, uint8_t wp2, uint8_t wp3, uint8_t wp4)
Definition: cartography.c:201