Commit Graph

35724 Commits

Author SHA1 Message Date
Siddharth Purohit 2790d27976 AP_BoardConfig: add config for SLCAN routing 2019-01-23 15:57:05 +11:00
Siddharth Purohit eb29a7aa44 AP_UAVCAN: add source for SLCAN interface 2019-01-23 15:57:05 +11:00
Andrew Tridgell 18e97bd895 HAL_ChibiOS: fixed CAN on Pixhawk4 and PH4-mini
the silent pins floating disabled CAN
2019-01-23 13:24:13 +11:00
cclauss f5d23f8701 CI: Run flake8 on Python 3.7
Yet another attempt at #7131 because without automated test, these _undefined names_ keep creeping back into the codebase: #9225, #9226, #9229, #9788, #10038, and a new one below...

[flake8](http://flake8.pycqa.org) testing of https://github.com/ArduPilot/ardupilot on Python 3.7.1

$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./Tools/autotest/sim_vehicle.py:396:39: F821 undefined name 'autotest'
    swarminit_filepath = os.path.join(autotest, "swarminit.txt")
                                      ^
1     F821 undefined name 'autotest'
```
__E901,E999,F821,F822,F823__ are the "_showstopper_" [flake8](http://flake8.pycqa.org) issues that can halt the runtime with a SyntaxError, NameError, etc. Most other flake8 issues are merely "style violations" -- useful for readability but they do not effect runtime safety.
* F821: undefined name `name`
* F822: undefined name `name` in `__all__`
* F823: local variable name referenced before assignment
* E901: SyntaxError or IndentationError
* E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree
2019-01-23 09:35:55 +11:00
Andrew Tridgell f98bfb1a35 HAL_ChibiOS: enable flash logging on Omnibus and speedybeef4 2019-01-23 09:00:42 +11:00
Alexander Malishev 15db7a6b97 AP_OSD: normalize whitespace symbols
This fixes garbage on the screen (\n and \r symbols are not mapped
inside used fonts).
Thanks to @atshort for reporting the issue.
2019-01-22 13:11:50 +11:00
Andrew Tridgell 8d75ce6671 waf: submodule update 2019-01-22 12:56:05 +11:00
Mark Whitehorn 5c81a78c9c Plane: tailsitter forward transition bugfix 2019-01-22 12:55:47 +11:00
Matt e7dcee0dd8 AP_Mount: Solo gimbal params use HAVE_PAYLOAD_SPACE
Adds the HAVE_PAYLOAD_SPACE check to the solo gimbal's driver.
2019-01-22 12:46:49 +11:00
Andrew Tridgell 4fec201c92 HAL: removed old readmes for AVR and FLYMAPLE HALs 2019-01-22 09:25:00 +11:00
Peter Barker e4120c848c GCS_MAVLink: correct payload space check for mission requests 2019-01-22 09:01:57 +11:00
Peter Barker 8e19e805c6 GCS_Common: clarify enumeration item name MSG_NEXT_WAYPOINT 2019-01-22 09:01:57 +11:00
Peter Barker da1ded7cb9 GCS_MAVLink: rename queued_waypoint_send to queued_mission_request_send 2019-01-22 09:01:57 +11:00
vierfuffzig 81f77f5311 AP_Logger: fix _BACKEND_TYPE parameter description 2019-01-22 07:29:01 +11:00
Randy Mackay 1fa335a77b AP_Motors: actuator_spin_up renamed to include _to_ground_idle 2019-01-21 20:55:07 +09:00
Randy Mackay e2bd502b83 AP_Motors: minor format fixes 2019-01-21 20:13:43 +09:00
Matt 3d3f06cacb AP_Motors: Add actuator output slew time to multicopters
Adds slew time limiting for throttling up and throttling down to multicopters.  New parameters MOT_SLEW_UP_TIME and MOT_SLEW_DN_TIME added.  0 = disabled, no slew limiting.  Valid values are 0 to 0.5 seconds.  Also reworked functions related to linearization and PWM conversion to make more flexible throughout the code.
2019-01-21 20:07:58 +09:00
Andrew Tridgell 106d4058b4 Tools: removed F4Light bootloader 2019-01-21 21:57:21 +11:00
Andrew Tridgell 1b95f17940 AP_Compass: removed F4Light 2019-01-21 21:57:21 +11:00
Andrew Tridgell 8a8308df38 AP_BoardConfig: removed F4Light 2019-01-21 21:57:21 +11:00
Andrew Tridgell 14172d69d5 AP_Baro: removed F4Light 2019-01-21 21:57:21 +11:00
Andrew Tridgell 146f52036f AP_Param_Helper: removed as no longer used 2019-01-21 21:57:21 +11:00
Andrew Tridgell 696d7a0218 AP_Notify: removed F4Light 2019-01-21 21:57:21 +11:00
Andrew Tridgell 9520f5f768 AP_InertialSensor: removed F4Light 2019-01-21 21:57:21 +11:00
Andrew Tridgell c04f1180c9 AP_HAL: removed F4Light 2019-01-21 21:57:21 +11:00
Andrew Tridgell 2c666c0fe8 HAL_F4Light: removed HAL
this has been replaced by HAL_ChibiOS
2019-01-21 21:57:21 +11:00
Andrew Tridgell c9bab2f36e HAL_ChibiOS: enable dataflash logging on AirbotF4 2019-01-21 21:57:21 +11:00
Andrew Tridgell 7219ec3482 HAL_ChibiOS: enabled df logging on revo and sparky2 2019-01-21 21:57:21 +11:00
Andrew Tridgell 1d57385184 AP_Logger: removed f4light logging backend 2019-01-21 21:57:21 +11:00
Andrew Tridgell e3c9f10e91 AP_Logger: revived block based logging 2019-01-21 21:57:21 +11:00
Andrew Tridgell 2882e5d5e1 HAL_ChibiOS: enable dataflash logging on KakuteF4 2019-01-21 21:57:21 +11:00
Andrew Tridgell 91e5f56242 AP_FlashStorage: fixed a race condition
fixes #7670

thanks to night-ghost for the bug report
2019-01-21 20:59:00 +11:00
Andrew Tridgell 751dade9a8 HAL_SITL: enable optional storage in flash
this brings storage in SITL very close to storage in ChibiOS
2019-01-21 20:59:00 +11:00
Andrew Tridgell 0332057cbe autotest: added --flash-storage option 2019-01-21 20:59:00 +11:00
Andrew Tridgell 1f28994bae waf: added --sitl-flash-storage option 2019-01-21 20:59:00 +11:00
Randy Mackay 413bceda9d RC_Channel: minor format fix 2019-01-21 14:47:32 +09:00
Randy Mackay 1334437df4 Copter: 3.6.5-rc3 release notes 2019-01-21 10:08:40 +09:00
mirkix 506da9ac42 AP_HAL: enable UAVCAN for bbbmini, blue and pocket 2019-01-21 08:08:59 +11:00
mirkix f9d49913d9 ardupilotwaf: enable UAVCAN for bbbmini, blue and pocket 2019-01-21 08:08:59 +11:00
Peter Barker 1b6bed0d4b Rover: adjust LOG_BITMASK description to remove APM2 2019-01-20 09:35:32 +09:00
Peter Barker 0492635cbd AP_Notify: remove code protected by PX4 defines, correct comments 2019-01-20 08:52:51 +11:00
Peter Barker 002070ae9e AP_Notify: remove HAL-VRBRAIN-specific code 2019-01-20 08:52:51 +11:00
Peter Barker 4d67435b9c AP_BattMonitor: remove code dependant on HAL-VRBRAIN defines 2019-01-19 19:44:19 +11:00
Peter Barker 78be3880ee AP_Logger: remove VRBRAIN-HAL-specific code 2019-01-19 19:44:19 +11:00
Peter Barker 396028f628 AP_RSSI: remove defaults for CONFIG_ARCH_BOARD_PX4FMU_V4 - not used 2019-01-19 19:44:19 +11:00
Peter Barker 40856fef56 Plane: remove vestiges of old PX4_MIXER code 2019-01-19 19:31:03 +11:00
Peter Barker cd2182453a AP_SerialManager: remove PX4 code bracketed by defines which will never be set
Also update a comment
2019-01-19 18:17:48 +11:00
Peter Barker d3671d9ca3 AP_SerialManager: update description of BAUD parameters 2019-01-19 18:17:48 +11:00
Andrew Tridgell 85ca38b630 waf: fixed git hash in generated APJ file 2019-01-19 17:19:41 +11:00
Andrew Tridgell 2765f6e8f0 HAL_ChibiOS: setup APJ board IDs in environment 2019-01-19 17:19:41 +11:00