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
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