Andrew Tridgell
e32e2f5b5d
AP_BoardConfig: added sensor_config_error()
...
used to notify user of fatal sensor setup error
8 years ago
Andrew Tridgell
4c36c77db1
AP_BoardConfig: split setup of safety switch init init_safety()
...
this allows it to be called late, so that servo outputs are fully
setup before the safety is disabled when BRD_SAFETYENABLE=0
8 years ago
Eugene Shamaev
67a6e651d6
AP_BoardConfig: removal of legacy UAVCAN support
8 years ago
Eugene Shamaev
0b54d5764c
AP_BoardConfig: support for CAN and UAVCAN at board level
8 years ago
Andrew Tridgell
c118deccb0
AP_BoardConfig: added BRD_IO_ENABLE parameter
...
allow for px4io to be disabled completely
8 years ago
Lucas De Marchi
ef1672befc
AP_BoardConfig: replace board ifdef with feature ifdef
8 years ago
Lucas De Marchi
9a83f05714
AP_BoardConfig: enable voltage monitoring on aerofc
8 years ago
Lucas De Marchi
00c2949dfb
Add support for baro on aerofc
8 years ago
Lucas De Marchi
b17acfee12
Add aerofc support
...
Flight Controller board that comes on Intel Aero RTF Drone.
8 years ago
Andrew Tridgell
ce978595cd
AP_BoardConfig: added support for ICM-20602 detection
8 years ago
Andrew Tridgell
1989f31ae3
AP_BoardConfig: added AUAV21 board type
...
unfortunately this uses the same sensor types as the PHMini, which
means we can't auto-detect the difference between them.
8 years ago
Andrew Tridgell
67b97b21db
AP_BoardConfig: switched to always using in-tree sensors
8 years ago
Andrew Tridgell
a2e92c4054
AP_BoardConfig: increase uavcan bus settle time to 2s
...
needed to ensure zubax mag has time to come up
8 years ago
Andrew Tridgell
ac4b100ae4
AP_BoardConfig: use in-tree drivers for FMUv1
8 years ago
Andrew Tridgell
08f770125e
AP_BoardConfig: moved optional sensor startup out of AP_BoardConfig
8 years ago
Andrew Tridgell
4f50d67790
AP_BoardConfig: added board type auto-detection
...
using SPI probing
8 years ago
Andrew Tridgell
73122adb78
AP_BoardConfig: removed unused startup functions for Pixracer
8 years ago
Andrew Tridgell
e7a9de9b41
AP_BoardConfig: use in-tree drivers for PH2SLIM
8 years ago
Andrew Tridgell
b0b93f8928
AP_BoardConfig: switch pixracer to always use in-tree drivers
8 years ago
Andrew Tridgell
fcf0a4ea59
AP_BoardConfig: use in-tree drivers for PHMINI
8 years ago
Andrew Tridgell
88e24dd8bd
AP_BoardConfig: added board type 103
...
for PH2 in-tree drivers
8 years ago
Andrew Tridgell
b9e1490740
AP_BoardConfig: added px4io auto-update to AP_BoardConfig
8 years ago
Andrew Tridgell
7e803df221
AP_BoardConfig: startup core peripherals for PX4
8 years ago
Andrew Tridgell
0c13c73aa0
AP_BoardConfig: removed PX4 airspeed drivers
8 years ago
Andrew Tridgell
ce174489c3
AP_BoardConfig: added get_board_type() for PX4
...
used to decide what drivers to start
8 years ago
murata
c808ee2f49
Global: To nullptr from NULL.
...
RC_Channel: To nullptr from NULL.
AC_Fence: To nullptr from NULL.
AC_Avoidance: To nullptr from NULL.
AC_PrecLand: To nullptr from NULL.
DataFlash: To nullptr from NULL.
SITL: To nullptr from NULL.
GCS_MAVLink: To nullptr from NULL.
DataFlash: To nullptr from NULL.
AP_Compass: To nullptr from NULL.
Global: To nullptr from NULL.
Global: To nullptr from NULL.
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Andrew Tridgell
7bf81c44b0
AP_BoardConfig: allow programmatic setting of default safety mask
8 years ago
Andrew Tridgell
0bd3b8ecbd
AP_BoardConfig: fixed bug in fmu safety mask set
8 years ago
Andrew Tridgell
8cb93ae7c3
AP_BoardConfig: call PWM_SERVO_IGNORE_SAFETY on fmu as well
8 years ago
Andrew Tridgell
aa4cde1aae
AP_BoardConfig: work around issues with bad components on some FMUv4 boards
...
some pixracer copies have poor components which can cause sensor bus
brownout on boot. This resets the sensor bus for 20ms on boot to try
to get clean sensor startup
9 years ago
Andrew Tridgell
b9c4a948d1
AP_BoardConfig: fixed startup ordering change in canbus vs external mag
9 years ago
Andrew Tridgell
119e312cd3
AP_BoardConfig: wait up to 0.4s for safety to be off on boot
9 years ago
Grant Morphett
30bcea73cc
PX4: Added detection for MPU6000 on px4slim.
9 years ago
LukeMike
38150a5544
AP_BoardConfig: defined and managed VRBRAIN board type and all functions for sensors startup
9 years ago
Andrew Tridgell
eaa88b1223
AP_BoardConfig: FMUv1 does not have pwm_input driver
9 years ago
Andrew Tridgell
39676d686c
AP_BoardConfig: FMUv1 does not have an L3GD20
9 years ago
Andrew Tridgell
7da89c611d
AP_BoardConfig: use a STATUSTEXT to show better in MP
...
this makes it easier to see why it won't boot
9 years ago
Andrew Tridgell
0d59935847
AP_BoardConfig: fixup for merge after VRBrain changes
9 years ago
Andrew Tridgell
77bee322e9
AP_BoardConfig: support the PHMINI as BRD_TYPE=5
9 years ago
Andrew Tridgell
61e15af3ca
AP_BoardConfig: added BRD_TYPE
...
this allows for PH2SLIM support with BRD_TYPE=6
9 years ago
Andrew Tridgell
7c5171e9b9
AP_BoardConfig: set default temperature on PH2 to 60
9 years ago
Andrew Tridgell
7806aa4274
AP_BoardConfig: moved optional sensors to the sensor startup
...
this makes startup much faster
9 years ago
Andrew Tridgell
36e0c7229a
AP_BoardConfig: implement PX4 driver start in C++
...
this brings driver startup into AP_BoardConfig, so we can start to
make driver startup depend on parameters
9 years ago
Andrew Tridgell
4643d6f314
AP_BoardConfig: break out PX4 setup from main code
...
refactoring in preparation for larger changes
9 years ago