Randy Mackay
d271dda8c5
AC_PrecLand: init accepts update rate
2018-09-21 16:38:35 +09:00
Randy Mackay
7fbdaa3c65
AC_PrecLand: LAG to float and use main loop rate
...
also includes other changes from peer review:
- check_inertia_buffer renamed to init_inertial_buffer and nullptr checks removed to make it more clear this should only be called once
- init_inertial_buffer made private
- add check that inertial_buffer_size is never less than 1
- fixup comments
2018-09-21 16:38:35 +09:00
Randy Mackay
40d4bcb84a
AC_PrecLand: rename BUFFER to LAG and add alloc failure check
...
avoids issue where LAG parameter is set too large which would lead to trying to access unallocated memory
inertial buffer is only allocated at startup to avoid memory leak
2018-09-21 16:38:35 +09:00
fnoop
02da34a246
AC_PrecLand: Add PLND_BUFFER parameter and move to AP_HAL::utility::RingBuffer, #6297
...
AC_PrecLand: Add PLND_BUFFER parameter and move to AP_HAL::utility::RingBuffer, ##6297
AC_PrecLand: Fixup int type, #8892
AC_PrecLand: Add PLND_BUFFER parameter and move to AP_HAL::utility::RingBuffer, ##6297
Update screwed up submodules from rebase
2018-09-21 16:38:35 +09:00
Michael du Breuil
c02863e001
AP_AHRS: Internalize EKF getLLH altitude management
2018-09-21 00:18:49 +01:00
Michael du Breuil
1991f223ac
AP_NavEKF3: Fix roundoff, and missing offset handling of getLLH
2018-09-21 00:18:49 +01:00
Michael du Breuil
66e9286cf6
AP_NavEKF2: Fix roundoff, and missing offset handling of getLLH
2018-09-21 00:18:49 +01:00
Michael du Breuil
65641c3cb7
AC_Circle: Cope with AC_PosControl renaming
2018-09-20 15:15:45 -07:00
Michael du Breuil
d3bee76f0b
AC_WPNav: Cope with AC_PosControl renaming
2018-09-20 15:15:45 -07:00
Michael du Breuil
1d13aff711
AC_AttitudeControl: Rename several set_speed and set_accel functions
2018-09-20 15:15:45 -07:00
Lucas De Marchi
0990fc4400
AP_HAL_Linux: send warning to stderr
2018-09-19 23:21:13 -07:00
Peter Barker
5ae3c60e8b
AP_Notify: fix nullptr in ToshibaLED example
2018-09-19 22:40:20 -07:00
Peter Barker
71c9c91c2d
AP_Motors: fix example
2018-09-19 22:40:20 -07:00
Peter Barker
2ed8118cda
AP_FlashStorage: adjust example so it does not exit
2018-09-19 22:40:20 -07:00
Peter Barker
220a3d19bf
AP_HAL_Linux: do not attempt to run examples realtime unless root
2018-09-19 22:40:20 -07:00
Peter Barker
43c07259f3
AP_HAL_Linux: break out init_realtime
2018-09-19 22:40:20 -07:00
Michael du Breuil
7fda309d3c
AP_HAL_ChibiOS: Remap unused pins to ADC
2018-09-20 01:07:47 +01:00
Michael du Breuil
6544f16339
AP_HAL: Make BBBlue use AP_BoardLED2
2018-09-19 22:58:46 +01:00
Michael du Breuil
e41b2de5ea
AP_Notify: Catch bad board LED combos
2018-09-19 22:58:46 +01:00
Michael du Breuil
6f7ced73d6
AP_HAL: Remove bad GPIO LED pins on NavIO2
2018-09-19 22:58:46 +01:00
Michael du Breuil
9cd1be1d6f
AP_Math: Speed up location calculations slightly
2018-09-19 14:40:48 +10:00
Siddharth Purohit
8ac38d73f7
HAL_ChibiOS: add option for NO_FASTBOOT build and enable it for iomcu
2018-09-19 12:14:15 +10:00
Siddharth Purohit
6622c9b8fd
HAL_ChibiOS: wrap sscanf and snprintf methods
2018-09-19 12:14:15 +10:00
Siddharth Purohit
05539cd93b
HAL_ChibiOS:remove print statement left over from previous changes
2018-09-19 12:14:15 +10:00
Siddharth Purohit
2d1153081c
HAL_ChibiOS: do not build float support for bootloader builds
2018-09-19 12:14:15 +10:00
Siddharth Purohit
f9149f45b2
HAL_ChibiOS: explicitly mention if RTC not available
2018-09-19 12:14:15 +10:00
Siddharth Purohit
22f74b0827
HAL_ChibiOS: add option to set iomcu firmware environment var
2018-09-19 12:14:15 +10:00
Andrew Tridgell
3641dcee44
AP_IOMCU: only build iofirmware for ChibiOS
2018-09-19 12:14:15 +10:00
Andrew Tridgell
17112c8988
waf: allow build with "./waf iofirmware"
2018-09-19 12:14:15 +10:00
Andrew Tridgell
848dd87d58
AP_IOMCU: fixed code style issues
2018-09-19 12:14:15 +10:00
Andrew Tridgell
ba87856deb
AP_IOMCU: fixed build warning
2018-09-19 12:14:15 +10:00
Siddharth Purohit
605e0de03c
AP_IOMCU: conform to new time conversion API
2018-09-19 12:14:15 +10:00
Siddharth Purohit
42b4730d88
HAL_ChibiOS: add changes to hwdef to support STM32F1 based controller
2018-09-19 12:14:15 +10:00
Siddharth Purohit
bc601c1ff6
AP_IOMCU: add Boardconfig to list of required libraries
2018-09-19 12:14:15 +10:00
Siddharth Purohit
1a20fb4ea9
HAL_ChibiOS: disable flash methods where there is no Flash API support
2018-09-19 12:14:15 +10:00
Siddharth Purohit
847aca3c30
HAL_ChibiOS: reduce signal transitions count to save RAM
2018-09-19 12:14:15 +10:00
Siddharth Purohit
b9319cae56
HAL_ChibiOS: disable segments relating to unused features
2018-09-19 12:14:15 +10:00
Siddharth Purohit
87a2dea9d4
HAL_ChibiOS: disable features that require advanced dma
2018-09-19 12:14:15 +10:00
Siddharth Purohit
0f07480faf
HAL_ChibiOS: continue main_loop branching from main instead of allocating a separate thread
2018-09-19 12:14:15 +10:00
Siddharth Purohit
e824a9c360
HAL_ChibiOS: add hwdef files to support IOMCU
2018-09-19 12:14:15 +10:00
Andrew Tridgell
f0b27c9b92
AP_IOMCU: support brushed output
2018-09-19 12:14:15 +10:00
Andrew Tridgell
cfb10fbb2f
AP_IOMCU: fixed oneshot support in IO firmware
2018-09-19 12:14:15 +10:00
Andrew Tridgell
2c7e27374f
AP_IOMCU: use ioevents for oneshot in iofirmware
2018-09-19 12:14:15 +10:00
Andrew Tridgell
ecfe06b9e4
AP_IOMCU: implement safety LED and switch in iofirmware
2018-09-19 12:14:15 +10:00
Andrew Tridgell
037a455784
AP_IOMCU: moved protocol structures to a common header
2018-09-19 12:14:15 +10:00
Andrew Tridgell
89bfd7e850
AP_IOMCU: added blue LED support on PH1
2018-09-19 12:14:15 +10:00
Siddharth Purohit
19c002baaf
AP_IOMCU: add support for iofirmware update
2018-09-19 12:14:15 +10:00
Siddharth Purohit
fe3dda74bd
AP_IOMCU: remove optimize override from iofirmware
2018-09-19 12:14:15 +10:00
Siddharth Purohit
78ce5a3f70
HAL_Empty: fix ambiguity of UARTDriver with the one defined in ChibiOS
2018-09-19 12:14:15 +10:00
Siddharth Purohit
2341719929
AP_HAL_Empty: do not use ch as its used by ChibiOS globally
2018-09-19 12:14:15 +10:00