Andrew Tridgell
5e5c30efe8
HAL_SITL: allow SITL to use SERIALn_PROTOCOL=23
...
this allows for testing of RC input protocol parsing in SITL
6 years ago
Andrew Tridgell
b130036798
HAL_SITL: use SIM_RC_CHANCOUNT
7 years ago
Michael du Breuil
9c288df8d7
AP_HAL_SITL: Remove RC overrides
7 years ago
Michael du Breuil
97696281ae
AP_HAL_SITL: Remove set_overrides() method
7 years ago
Pierre Kancir
ff46964d22
AP_HAL_SITL: RCInput minor fix
...
fix style
make constructor explicit
remove unused _valid
correct read to return real length instead of fixed 8
correct implicit cast
8 years ago
Andrew Tridgell
9081310ff1
HAL_SITL: support simulator RC input
9 years ago
Andrew Tridgell
655f57ad01
HAL_SITL: cleanup class names
...
remove SITL prefix
9 years ago
Andrew Tridgell
1450f33b51
HAL_SITL: support 16 RC input channels in SITL
9 years ago
Lucas De Marchi
4c82c535cc
AP_HAL_SITL: use init() method without arguments
...
Override the init() method from parent class that doesn't have a
parameter since it's not used here.
9 years ago
Gustavo Jose de Sousa
27b9d71e2c
AP_HAL_SITL: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
Andrew Tridgell
c81ad1d622
HAL_SITL: reformat HAL_SITL with astyle
10 years ago
Andrew Tridgell
40e3b422b5
HAL_SITL: rename HAL_AVR_SITL to HAL_SITL
...
it is nothing to do with the original AVR emulation now
10 years ago
Andrew Tridgell
7275d2b804
HAL_SITL: implement updated new_input() semantics
10 years ago
Andrew Tridgell
a566ebe4ec
HAL_SITL: prevent array overruns in RCInput/RCOutput
10 years ago
Andrew Tridgell
6eee2421cc
AP_HAL: removed RCInput valid_channels() and added new_input() and num_channels()
...
the valid_channels() method was inconsistently implemented between
boards, and served two quite different purposes. It is clearer as two
functions
11 years ago
Randy Mackay
bbbd90c430
AP_HAL: rename RCInput's valid() fn to valid_channels
12 years ago
Andrew Tridgell
7ecf8981b9
SITL: added dummy SPI and make RCInput 50Hz
12 years ago
Andrew Tridgell
e020694c03
SITL: fixed build of apm1/apm2 target
12 years ago
Andrew Tridgell
0c9d37e2ee
SITL: added RCInput and RCOutput
12 years ago