Commit Graph

31031 Commits

Author SHA1 Message Date
Peter Barker dbe860152d AP_NavEKF2: tight types on constants
This saves ~200 bytes on at stm32 build, at the expense of people having
to watch the type carefully when increasing the values
2018-03-01 20:27:19 +09:00
Peter Barker 3a99b2bce1 AP_NavEKF: move initialisation of EKF constants into header file
Various comments where getting out of sync with one-another, and
having everything in one place lets you match values against types.
2018-03-01 20:27:19 +09:00
night-ghost 70eb659c2d added .apj to .gitignore 2018-03-01 20:33:21 +11:00
night-ghost c41d7d9486 AP_HAL_F4Light: build changed to use bootloader
also added generation of .apj images
2018-03-01 20:33:21 +11:00
Peter Barker 3f17ac765e Tools: build_binaries: raise a CalledProcessError on bad exit code
We've been silently ignoring bad exit codes.  Stop that.
2018-03-01 19:50:50 +11:00
Peter Barker 4d28fa8e09 Tools: build_binaries.py: catch exception on copy failure
Also correct some debug and add flake8 compliance
2018-03-01 19:50:50 +11:00
Andrew Tridgell 312bde54b4 HAL_ChibiOS: added fmuv2 build for 1M flash boards 2018-03-01 15:25:55 +11:00
Andrew Tridgell 035da5047a waf: added fmuv2 build
based on fmuv3, but with 1M target flash
2018-03-01 15:25:55 +11:00
David Ingraham a6aeebad4b Plane: Add support for AP_Gripper 2018-03-01 14:14:43 +11:00
Peter Barker cbbd5d3410 Tools: remove unused build_binaries.sh script
This was left as a reference while working out problems with
build_binaries.py

It is now causing confusion.
2018-03-01 13:52:16 +11:00
Peter Barker 053d789843 Tools: ardupilotwaf: disable SLP vectorization for clang++ in SITL
There appears to be a problem caused by clang++'s optimisations to do
with SLP vectorizations.

It *looks* like it doesn't push enough operands into one of the vectors,
so you end up with a division by zero when attempting to execute an SSE
instruction.
2018-03-01 13:12:10 +11:00
Jacob Walser 9897ff60de Frame_params: Add BlueROV2 Heavy param file 2018-02-28 13:22:08 -05:00
murata c0954b557e Copter: move BCN param desc within define
non-functional change to make the formatting consistent
2018-02-28 13:17:40 +09:00
Francisco Ferreira e4382c2232 AP_HAL_ChibiOS: fix CAN thread name 2018-02-28 11:37:55 +09:00
Francisco Ferreira 146143ff2e AP_Rangefinder: adapt to new serial manager enum name
Lidar is now called Rangefinder
2018-02-28 08:04:16 +09:00
Francisco Ferreira 0340188a8f AP_SerialManager: rename Lidar to Rangefinder 2018-02-28 08:04:16 +09:00
Francisco Ferreira 45531775cd AP_Rangefinder: support multiple serial rangefinders 2018-02-28 08:04:16 +09:00
Francisco Ferreira 5999421c72 AP_RangeFinder: uLanding now uses the Lidar protocol
uLanding was using a specific protocol in serial manager, but that's not needed and would break following work
As previously, baudrate is hardcoded
2018-02-28 08:04:16 +09:00
Francisco Ferreira 972264637c AP_SerialManager: remove special uLanding protocol type
Old protocol will be changed to Lidar on library init
2018-02-28 08:04:16 +09:00
Peter Barker 398d0d1f37 Copter: do not allow toy mode on Helicopters 2018-02-27 14:22:32 +09:00
Peter Barker b8e1f03599 Copter: add define for disabling beacon 2018-02-27 07:43:13 +09:00
Peter Barker 18135b4764 Tools: build-with-disabled-features: update deps 2018-02-27 07:43:13 +09:00
Peter Barker 0e68ce2ad8 Copter: correct #error prerequisites 2018-02-27 07:43:13 +09:00
Peter Barker 5b355214fd Copter: add option to disable CIRCLE flight mode
Saves about 2.4kB of flash
2018-02-27 07:43:13 +09:00
Peter Barker e4898e1d60 Copter: add option to disable GUIDED_NOGPS flight mode
Saves about 6.3kB of flash
2018-02-27 07:43:13 +09:00
Peter Barker 86b162e32f Copter: add option to disable BRAKE flight mode 2018-02-27 07:43:13 +09:00
Peter Barker a7fe242e31 Copter: add option to disable RTL flight mode 2018-02-27 07:43:13 +09:00
Peter Barker b8c432b1a1 Copter: add option to disable GUIDED flight mode
Saves about 6kB of flash
2018-02-27 07:43:13 +09:00
Peter Barker 0ddeb56a05 Copter: add option to disable DRIFT flight mode
Saves about 1kB of space
2018-02-27 07:43:13 +09:00
Peter Barker e5056f8d40 Copter: add option to disable SPORT flight mode
Saves about 1,500 bytes
2018-02-27 07:43:13 +09:00
Peter Barker 7154f4dea4 Copter: add option to disable LOITER mode 2018-02-27 07:43:13 +09:00
Peter Barker 9b440d6b25 Copter: add option to disable SmartRTL mode
Saves 5.5k of Flash
2018-02-27 07:43:13 +09:00
Peter Barker 3a61b86e65 Copter: add option to disable POSHOLD mode
Saves about 4k of Flash
2018-02-27 07:43:13 +09:00
Peter Barker b9ad2bc8db Copter: add option to disable AUTO mode
Saves ~12k of flash
2018-02-27 07:43:13 +09:00
Peter Barker eb9bbddcb7 Copter: add in_guided_mode mode callback 2018-02-27 07:43:13 +09:00
Peter Barker e66034f183 Copter: allow fence to be disabled while AFS is enabled 2018-02-27 07:43:13 +09:00
Peter Barker bb9af3b79d Copter: autotune: correct compilation when logging disabled 2018-02-27 07:43:13 +09:00
night-ghost 75180c3c08 AP_HAL_F4light: fixes OSD compilation issue 2018-02-26 22:05:16 +11:00
Andrew Tridgell 6241ca4527 GCS_MAVLink: send 65535 for 16 bit meminfo
when above 65535 send 65535, so users don't get worried about low memory
on ChibiOS where they often have more than 64k available
2018-02-26 22:04:33 +11:00
Andrew Tridgell 2581965669 HAL_ChibiOS: fixed mini-pix IMU orientation 2018-02-26 19:16:24 +11:00
Peter Barker 9cffa13f7b Copter: correct mav result for compass motor calibration on heli 2018-02-24 00:27:41 +00:00
mirkix 234dcc1939 AP_HAL_Linux: fix BeagleBone Blue voltage divider 2018-02-23 18:35:55 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas b24e5c3991 Copter: Obey MOUNT == DISABLED 2018-02-22 20:58:51 +10:00
Peter Barker 846506230d Copter: remove pointless initialisations
Also reduce storage size of gps primary
2018-02-22 17:51:35 +10:00
Peter Barker 1a68979050 Copter: correct nullptr check for circle nav allocation 2018-02-22 16:14:50 +10:00
Peter Barker e05cba5d2c DataFlash: remove default reason of zero from Log_Write_Mode
All vehicles now supply this reason all the time
2018-02-22 10:30:10 +10:00
Peter Barker f844f4ea80 Tracker: add reason to set_mode 2018-02-22 10:30:10 +10:00
Peter Barker dc5ef168fd Copter: toymode: correct compilation with fence is disabled 2018-02-22 10:26:37 +10:00
Peter Barker 25665c5dd9 Copter: correct definition of unused variable when precision landing disabled 2018-02-22 10:26:37 +10:00
Peter Barker 06da2f50ce Copter: correct compilation when logging is disabled 2018-02-22 10:25:39 +10:00