Paparazzi UAS
v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
|
#include "std.h"
Go to the source code of this file.
Macros | |
#define | JEVOIS_MSG_T1 10 |
JEVOIS messages types. More... | |
#define | JEVOIS_MSG_N1 11 |
#define | JEVOIS_MSG_D1 12 |
#define | JEVOIS_MSG_T2 20 |
#define | JEVOIS_MSG_N2 21 |
#define | JEVOIS_MSG_D2 22 |
#define | JEVOIS_MSG_F2 23 |
#define | JEVOIS_MSG_T3 30 |
#define | JEVOIS_MSG_N3 31 |
#define | JEVOIS_MSG_D3 32 |
#define | JEVOIS_MSG_F3 33 |
#define | JEVOIS_NORM 1000 |
Normalized data from JEVOIS are between -1000 and 1000. More... | |
#define | JEVOIS_HFOV RadOfDeg(45) |
Camera horizontal FOV From datasheet it should be 65deg, but it seems that better results are acheived with 45. More... | |
#define | JEVOIS_VFOV (3*JEVOIS_HFOV/4) |
Camera vertical FOV Camera has a 4/3 ratio. More... | |
Functions | |
void | jevois_init (void) |
void | jevois_event (void) |
void | jevois_stream (bool activate) |
Start and stop streaming. More... | |
void | jevois_setmapping (int number) |
Set video mapping. More... | |
Variables | |
bool | jevois_stream_setting |
int | jevois_mapping_setting |
Definition in file jevois.h.
#define JEVOIS_HFOV RadOfDeg(45) |
Camera horizontal FOV From datasheet it should be 65deg, but it seems that better results are acheived with 45.
Definition at line 52 of file jevois.h.
Referenced by jevois_send_message().
#define JEVOIS_MSG_D1 12 |
Definition at line 34 of file jevois.h.
Referenced by jevois_parse().
#define JEVOIS_MSG_D2 22 |
Definition at line 37 of file jevois.h.
Referenced by jevois_parse().
#define JEVOIS_MSG_D3 32 |
Definition at line 41 of file jevois.h.
Referenced by jevois_parse().
#define JEVOIS_MSG_F2 23 |
Definition at line 38 of file jevois.h.
Referenced by jevois_parse().
#define JEVOIS_MSG_F3 33 |
Definition at line 42 of file jevois.h.
Referenced by jevois_parse().
#define JEVOIS_MSG_N1 11 |
Definition at line 33 of file jevois.h.
Referenced by jevois_parse().
#define JEVOIS_MSG_N2 21 |
Definition at line 36 of file jevois.h.
Referenced by jevois_parse().
#define JEVOIS_MSG_N3 31 |
Definition at line 40 of file jevois.h.
Referenced by jevois_parse().
#define JEVOIS_MSG_T1 10 |
#define JEVOIS_MSG_T2 20 |
Definition at line 35 of file jevois.h.
Referenced by jevois_parse().
#define JEVOIS_MSG_T3 30 |
Definition at line 39 of file jevois.h.
Referenced by jevois_parse().
#define JEVOIS_NORM 1000 |
Normalized data from JEVOIS are between -1000 and 1000.
Definition at line 45 of file jevois.h.
Referenced by jevois_send_message().
#define JEVOIS_VFOV (3*JEVOIS_HFOV/4) |
Camera vertical FOV Camera has a 4/3 ratio.
Definition at line 59 of file jevois.h.
Referenced by jevois_send_message().
void jevois_event | ( | void | ) |
Definition at line 324 of file jevois.c.
References jevois, JEVOIS_DEV, jevois_parse(), uart_char_available(), and uart_getch().
void jevois_init | ( | void | ) |
Definition at line 80 of file jevois.c.
References jevois_t::buf, jevois_t::idx, jevois, jevois_mapping_setting, JEVOIS_MAX_LEN, jevois_stream_setting, JV_SYNC, jevois_t::n, and jevois_t::state.
void jevois_setmapping | ( | int | number | ) |
Set video mapping.
[in] | number | video mapping number |
Definition at line 353 of file jevois.c.
References jevois_mapping_setting, jevois_stream(), and send_string().
void jevois_stream | ( | bool | activate | ) |
Start and stop streaming.
[in] | activate | enable or disable streaming |
Definition at line 343 of file jevois.c.
References jevois_stream_setting, and send_string().
Referenced by jevois_setmapping().
int jevois_mapping_setting |
Definition at line 34 of file jevois.c.
Referenced by jevois_init(), and jevois_setmapping().
bool jevois_stream_setting |
Definition at line 35 of file jevois.c.
Referenced by jevois_init(), and jevois_stream().