Andrew Tridgell
38a36a070f
DataFlash: removed some special cases for ChibiOS
7 years ago
Andrew Tridgell
30903f2acb
AP_IOMCU: support oneshot mode
7 years ago
Andrew Tridgell
ba3cdf74b5
HAL_Chibios: optional ADC debugging
...
this debugging capability is very useful on board bringup. It outputs
the first 6 analog channels as an AP_ADC MAVLink message
7 years ago
Andrew Tridgell
c863681849
HAL_ChibiOS: fixed PWM output assignment
7 years ago
Andrew Tridgell
82c6d2751f
HAL_ChibiOS: fixed F412 ram and flash setup
7 years ago
Peter Barker
87be7fea0c
AP_HAL: added support for Sparky2 STM23F405 board
7 years ago
Peter Barker
67bed1d6c2
HAL_ChibiOS: added support for Sparky2 STM23F405 board
7 years ago
Siddharth Purohit
a6be19d8cf
HAL_SITL: fix sitl build for mac osx
7 years ago
Andrew Tridgell
8b0e9bcff4
AP_Scheduler: use pre-computed loop constants
...
this prevents changing the loop rate without a reboot. Too many
subsystems rely on a consistent loop rate to allow it to be changed
7 years ago
Peter Barker
f2242e07db
AP_Scheduler: remove memoisation in loop_period_s()
7 years ago
Peter Barker
a6ac37d0ba
AP_Scheduler: eliminate MAIN_LOOP_SECONDS macro
7 years ago
Leonard Hall
e249e06714
AC_PosControl: minor enhancement to lean_angles_to_accel
7 years ago
Andrew Tridgell
44dd079cb9
AP_Scheduler: allow for loop rates above 400Hz
...
with ChibiOS we can run copter at 1KHz with no scheduling misses. This
small PR allows that to be configured.
7 years ago
Andrew Tridgell
100363ba03
AP_InertialSensor: if no sensors found allow parameter change
7 years ago
Andrew Tridgell
24c424ae5d
AP_InertialSensor: support over 1kHz IMUs
...
this allows for invensense IMUs to run above 1kHz by adjusting the
downsampling rate
7 years ago
Andrew Tridgell
c0c5f23aa5
AP_InertialSensor: added INS_ENABLE_MASK
...
this allows for only a specified subset of IMUs to be probed, so you
can disable IMUs that aren't needed.
The back corresponds to bits in the order the IMUs are normally probed
on the board
7 years ago
Andrew Tridgell
9416165fe3
AP_InertialSensor: improved invensense debugging on ChibiOS
7 years ago
Leonard Hall
d5976442f8
AC_PosControl: minor comment change
...
non-functional change
7 years ago
Leonard Hall
3ada0f32b0
AC_AttitudeControl: minor comment update
...
Non-functional change
7 years ago
mirkix
700171a0fc
AP_HAL_Linux: add second RCIN port for Blue
7 years ago
Michael du Breuil
8712fbd55d
AP_BattMonitor: Move per battery params into a containing class
7 years ago
Michael du Breuil
bb0d43d03c
AP_BattMonitor: Remove unneeded memebers
...
is_powering_off was only used for solo, and was just an intermediate
copy before updating notify
7 years ago
Michael du Breuil
a1a5665213
AP_Param: Support marking a param group as ignoring the enable flag
7 years ago
Nikita Tomilov
1549b1a52a
AP_BoardConfig: CAN: Merge PX4 and Linux CAN setup
...
Here we merge PX4 and Linux CAN bus setup since the interface is almost
the same for both of them.
7 years ago
Tom Pittenger
d713d57904
AP_HAL_Linux: update software license referencing UAVCAN submodule
7 years ago
Nikita Tomilov
3ac2e4e8c5
AP_HAL_Linux: CAN: _pollRead no more than 100 iterations
...
This adds a counter here to only loop to a maximum number of iterations.
Now we avoid situations in which we would be stuck processing packets here.
This also adds some other meaningful defines
7 years ago
Nikita Tomilov
43bfcbc8e2
AP_HAL_Linux: CAN: Rename CANDriver -> CANManager
7 years ago
Nikita Tomilov
d0fc481202
AP_HAL_Linux: CAN: Rename Linux::LinuxCAN -> Linux::CAN
7 years ago
Alexey Bulatov
e0acbd3e53
AP_HAL_LINUX: Add CAN to timer_task
7 years ago
Alexey Bulatov
606eb05c95
AP_BoardConfig: Linux CAN initialisation
7 years ago
Nikita Tomilov
a50e6c6dd7
AP_HAL: board: linux: Add default CAN interface name
7 years ago
Nikita Tomilov
b6665f7e58
AP_HAL_Linux: CAN: get rid of RaiiCloser
7 years ago
Alexey Bulatov
976500960f
AP_HAL_LINUX: Add CAN driver
7 years ago
Alexey Bulatov
09de8e852d
AP_HAL: Make methods get_UAVCAN and set_UAVCAN pure
7 years ago
Dylan Herman
85e1f9f9f6
AP_SmartRTL: attempts to set home in update
...
update will continuously attempt to set SmartRTL home as long as
position is ok and home has not be set. Updated examples to use set_home.
7 years ago
Andrew Tridgell
8fea99e1da
HAL_Linux: use calloc in preferance to malloc
7 years ago
Andrew Tridgell
3f5534eed5
AP_HAL: use calloc in preferance to malloc
7 years ago
Andrew Tridgell
f6138e3c91
HAL_ChibiOS: use calloc in preferance to malloc
7 years ago
Andrew Tridgell
20d75f52c2
AP_Compass: use calloc in preferance to malloc
7 years ago
Andrew Tridgell
c9deabc283
DataFlash: use calloc in MAVLink backend
7 years ago
Andrew Tridgell
8dae3fe59b
HAL_ChibiOS: use calloc for malloc type
...
this is not strictly necessary on ChibiOS as we already override
malloc, but will keep static analysis happy
7 years ago
Andrew Tridgell
a99b690d49
HAL_PX4: use calloc for malloc_type()
...
this ensures that EKF memory is zero on start
7 years ago
Andrew Tridgell
4322ef7ca4
AP_HAL: prevent valgrind errors in EKF
...
ensure that EKF memory is zero on start
7 years ago
Randy Mackay
094620bc8a
AC_WPNav: pass dt to avoidance
7 years ago
Leonard Hall
f48b14b810
AC_Avoidance: accept dt and pass to sqrt controller
7 years ago
Leonard Hall
b9ed8b292a
AC_PosControl: pass dt to att control sqrt_controller
7 years ago
Leonard Hall
62cc25022c
AC_AttitudeControl: protect against overshoot in sqrt controller
7 years ago
Leonard Hall
75de0cb4ef
AC_AttitudeControl: sqrt_controller accepts dt
7 years ago
Leonard Hall
0a10deb3f7
AP_Motors: Fix gain scaling on Throttle Average Max and reduce additional gain on low throttle for Single and Coax.
7 years ago
Andrew Tridgell
7ca3b56886
HAL_ChibiOS: fixed STM32F405 typos
7 years ago