Commit Graph

36070 Commits

Author SHA1 Message Date
Andrew Tridgell ff52ceabba HAL_ChibiOS: fixed default volt and current pins for VRBrain 2019-01-24 18:41:38 +11:00
LukeMike 2f06484bb4 HAL_ChibiOS: added VRBrain boards into common_boards (build_binaries) 2019-01-24 18:41:38 +11:00
LukeMike e15d2c0f89 HAL_ChibiOS: added ChibiOS configuration of VR Brain 5.4 2019-01-24 18:41:38 +11:00
LukeMike 33f7f5b7b6 HAL_ChibiOS: added ChibiOS configuration for VR Core 1.0 2019-01-24 18:41:38 +11:00
LukeMike f615ab9a0a HAL_ChibiOS: added ChibiOS configuration for VR Brain 5.1 2019-01-24 18:41:38 +11:00
LukeMike db61e50fe8 HAL_ChibiOS: fixed USB_PRODUCT for VR Brain 5.2 2019-01-24 18:41:38 +11:00
Randy Mackay d29b4344df Copter: 3.6.5 release notes 2019-01-24 10:29:37 +09:00
Randy Mackay 23efb533d5 Rover: 3.5.0-rc2 release notes 2019-01-24 09:49:30 +09:00
Tom Pittenger 05bf329d81 Plane: ignore battery failsafe during landing
fixes https://github.com/ArduPilot/ardupilot/issues/10320
2019-01-23 14:16:27 -07:00
Nathan E 9ae5ada82f Correct AP_TECS.cpp typos per magicrub comments
poper changed to proper
2019-01-23 09:24:18 -07:00
Nathan E 4d7fc66657 Update parameters.cpp per magicrub comments 2019-01-23 09:24:18 -07:00
Nathan E 24f3abde99 Update AP_TECS.cpp 2019-01-23 09:24:18 -07:00
Nathan E 0401078694 Update AP_Airspeed.cpp 2019-01-23 09:24:18 -07:00
Nathan E 548a573803 Update AP_YawController.cpp 2019-01-23 09:24:18 -07:00
Nathan E f9aac6919c Update AP_RollController.cpp 2019-01-23 09:24:18 -07:00
Nathan E fbb2252fd9 Update AP_PitchController.cpp 2019-01-23 09:24:18 -07:00
Nathan E 448d19ddbb Update ArduPlane/Parameters.cpp 2019-01-23 09:24:18 -07:00
Randy Mackay ac773ccd79 Rover: convert ch7_option param to rc7_option 2019-01-23 20:13:50 +09:00
Pavlo Kolomiiets 2c909cf83b AP_WheelEncoder: Wheel encoder's offsets are properly propagated to EKF3. 2019-01-23 17:01:13 +09:00
Michael du Breuil 753f360d06 GCS_Common: NACK a failed partial mission write 2019-01-23 00:06:07 -07:00
Peter Barker b19f760628 GCS_MAVLink: don't allow signing key to be set up when armed
Discussion is here:
https://github.com/ArduPilot/ardupilot/issues/10298
2019-01-23 17:39:10 +11:00
Andrew Tridgell 871a019995 Tools: fixed code style on linux 2019-01-23 16:07:04 +11:00
Siddharth Purohit ba7187e31b Tools: use greadlink for macos systems 2019-01-23 15:57:05 +11:00
Siddharth Purohit c459f6c484 AP_UAVCAN: run code format script on AP_UAVCAN_SLCAN 2019-01-23 15:57:05 +11:00
Siddharth Purohit e12cb58b21 HAL_ChibiOS: run code formatter on CANSerialRouter 2019-01-23 15:57:05 +11:00
Siddharth Purohit ed6fe450c0 UAVCAN: SLCAN replace asserts with return false 2019-01-23 15:57:05 +11:00
Siddharth Purohit e1a9094bf6 HAL_ChibiOS: CANSerialRouter allow for changing serial port for the same boot 2019-01-23 15:57:05 +11:00
Siddharth Purohit 5cbe8eb5ee BoardConfig: fix description for SLCAN parameters 2019-01-23 15:57:05 +11:00
Siddharth Purohit 38125ab92a UAVCAN: change hex2nibble method to use branching instead of plain lookup table 2019-01-23 15:57:05 +11:00
Siddharth Purohit 2c0521654c AP_BoardConfig: split SLCAN Interface params to there own class 2019-01-23 15:57:05 +11:00
Siddharth Purohit 70da885214 AP_ToshibaCAN: add argument for enabling filters, unsupported 2019-01-23 15:57:05 +11:00
Siddharth Purohit dae9cbfad8 AP_KDECAN: add argument for CAN filter, unsupported 2019-01-23 15:57:05 +11:00
Siddharth Purohit a6b01901f1 HAL_ChibiOS: flush serial bus during switching to and from SLCAN 2019-01-23 15:57:05 +11:00
Siddharth Purohit 664c952460 HAL_ChibiOS: disable code for CAN for non UAVCAN supported 2019-01-23 15:57:05 +11:00
Siddharth Purohit f6d165d8c1 HAL_ChibiOS: CANSerialRouter unlock the port in timer 2019-01-23 15:57:05 +11:00
Siddharth Purohit 7912952afe BoardConfig_CAN: reset slcan port state at restart 2019-01-23 15:57:05 +11:00
Siddharth Purohit b5fbdc9888 HAL_ChibiOS: invoke serial data event signal for non dma ports as well 2019-01-23 15:57:05 +11:00
Siddharth Purohit e9047cc131 AP_UAVCAN: do locked serial transactions to support slcan routing 2019-01-23 15:57:05 +11:00
Siddharth Purohit 3a46fb59e5 AP_SerialManager: add support for fetching serial port by id 2019-01-23 15:57:05 +11:00
Siddharth Purohit 32a71cef92 ChibiOS: add support for timeout and closing SLCAN 2019-01-23 15:57:05 +11:00
Siddharth Purohit 979a8dea6d BoardConfig_CAN: add parameters for serial port selection and timeout 2019-01-23 15:57:05 +11:00
Siddharth Purohit 5cefd251f9 ChibiOS: add CAN to Serial bus router 2019-01-23 15:57:05 +11:00
Siddharth Purohit 112f535365 AP_UAVCAN: implement routing SLCAN to and from CANbus 2019-01-23 15:57:05 +11:00
Siddharth Purohit 7a871a8843 AP_UAVCAN: add config for enabling/disabling can filters 2019-01-23 15:57:05 +11:00
Siddharth Purohit 8f964b08b0 ChibiOS: move CAN driver code into HAL 2019-01-23 15:57:05 +11:00
Siddharth Purohit 504cfd8989 AP_HAL: add flag for enable/disabling filters 2019-01-23 15:57:05 +11:00
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