Lucas De Marchi
28f67f0947
AP_HAL_PX4: replace header guard with pragma once
9 years ago
Lucas De Marchi
0c3733601b
AP_HAL_PX4: 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
Andrew Tridgell
335e621932
HAL_PX4: cope with PX4 header changes
9 years ago
Gustavo Jose de Sousa
08333f1ffe
AP_HAL_PX4: 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
Eugene Shamaev
40a5aa497a
HAL_PX4: added rc_bind for DSM bind
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
Andrew Tridgell
89676be825
HAL_PX4: fixed RCInput race condition
...
the number of channels could be zero with thread switch at the wrong
time
11 years ago
Randy Mackay
bbbd90c430
AP_HAL: rename RCInput's valid() fn to valid_channels
12 years ago
Andrew Tridgell
d01d754ba8
HAL_PX4: if we have lost RC input then set channel 3 to 900
...
this allows failsafe to kick in
12 years ago
Andrew Tridgell
02b4ecc273
HAL_PX4: get RC input from PX4IO board
...
this allows us to support DSM and SBUS receivers
12 years ago
Andrew Tridgell
930e79a9e1
HAL_PX4: fixed rcin->valid() for RC override input
12 years ago
Andrew Tridgell
84bd10d279
HAL_PX4: minor cleanups
12 years ago
Andrew Tridgell
1fc95a2d45
HAL_PX4: support PPM RC Input
...
HIL flying now works properly
12 years ago
Andrew Tridgell
38bccee230
HAL_PX4: initial RCInput driver (overrides only)
12 years ago