Commit Graph

30737 Commits

Author SHA1 Message Date
Randy Mackay 2aeda48512 AR_AttitudeControl: minor arg name fix
non-functional change
2018-02-09 17:36:21 +09:00
Peter Barker 8f8917369c Copter: correct use of parent class constructors 2018-02-09 13:41:12 +11:00
Tom Pittenger 18caed135e AP_UAVCAN: simply do_cyclic
- non-functional change, just returning early instead of deeper and deeper brackets
2018-02-08 16:57:17 -08:00
Tom Pittenger 52589f3c22 AP_UAVCAN: refactor RC Out functions
- non-functional change
2018-02-08 16:57:17 -08:00
Peter Barker 5e55784707 Copter: remove unneeded and unwanted virtual keywords 2018-02-09 09:11:04 +09:00
Randy Mackay 4319e37f0c Copter: non-functional FlowHold changes
class declaration moved to alphabetical position in mode.h
parameter descriptions include FlowHow at beginning to help distinguished from optical flow parameters
resolved compiler warnings
2018-02-09 10:56:32 +11:00
Andrew Tridgell 10f940c8d0 HAL_ChibiOS: adjust RCIN pin settings for fmuv4
thanks to Mark for this change
2018-02-09 10:14:53 +11:00
Andrew Tridgell 9301e4888a HAL_ChibiOS: make not having bus lock a soft error
this is nicer for driver developers
2018-02-09 10:14:49 +11:00
Andrew Tridgell abd659212e AP_BoardConfig: fixed device semaphore in board detect
thanks to Mark for finding this
2018-02-09 10:14:46 +11:00
Andrew Tridgell 2b86c0e962 HAL_ChibiOS: tweak DMA settings for skyviper-v2450
this resolves a problem with the cypress radio.

Thanks to Sid for working this out
2018-02-08 22:15:41 +11:00
Andrew Tridgell 8226530610 HAL_ChibiOS: added DMA_PRIORITY and DMA_NOSHARE options
this allows finer grained control of DMA streams
2018-02-08 22:13:00 +11:00
Andrew Tridgell 8b5291975b waf: disable uavcan and fatfs on skyviper-v2450 2018-02-08 22:10:46 +11:00
Andrew Tridgell 36695fe1f6 waf: create abin files for some px4 builds
needed for skyviper web UI upload
2018-02-08 18:56:51 +11:00
Andrew Tridgell 507fcb0f27 Tools: moved make_abin.sh into Tools/scripts
will be used in px4 build
2018-02-08 18:56:51 +11:00
Andrew Tridgell 258ae49952 waf: support PX4 boards with no microSD or USB 2018-02-08 18:56:51 +11:00
Andrew Tridgell bacafb77cf mk: added rcS_no_microSD
for boards without a microSD or USB card
2018-02-08 18:56:51 +11:00
Andrew Tridgell eb0389caf2 HAL_PX4: used cypress bus defines 2018-02-08 18:56:51 +11:00
Andrew Tridgell f8e16008f6 AP_HAL: updated cypress radio bus pins for skyviper 2018-02-08 18:56:51 +11:00
Andrew Tridgell 330fa815e8 Frams_params: updates for new pos controller for skyviper 2018-02-08 18:56:51 +11:00
Andrew Tridgell 88d53aaa92 mk: added AP_TempCalibration and AP_Radio 2018-02-08 17:36:33 +11:00
Andrew Tridgell 763aee6b48 Copter: fixed units on flowhold brate rate 2018-02-08 17:36:33 +11:00
Andrew Tridgell 4ce0c2c827 HAL_ChibiOS: simplify skyviper-v2450 config
remove unused peripherals
2018-02-08 17:36:33 +11:00
Andrew Tridgell b90c0d78f3 HAL_ChibiOS: fixed build warning 2018-02-08 17:36:33 +11:00
Andrew Tridgell 86d43061e9 waf: added skyviper-v2450-px4 build 2018-02-08 17:36:33 +11:00
Andrew Tridgell 64384fa8c9 AP_Radio: allow build of AP_Radio under PX4 2018-02-08 17:36:33 +11:00
Andrew Tridgell 0ed75052f8 Copter: enable parameters inside mode objects
this adds FHLD_* parameters for FlowHold mode. It is a large patch as
it needs to disentagle the mode class to enable it to be used in
Parameters.h
2018-02-08 17:36:33 +11:00
Andrew Tridgell 8eff43a352 HAL_ChibiOS: fixed printf arguments 2018-02-08 17:36:33 +11:00
Andrew Tridgell f928bd9420 AP_Radio: fixed build warnings 2018-02-08 17:36:33 +11:00
Andrew Tridgell 598c2b9eb1 AP_TempCalibration: fixed build warning 2018-02-08 17:36:33 +11:00
Andrew Tridgell aee6462deb HAL_ChibiOS: enable I2C clearing on F412 board only
may be needed on other boards in the future, but for now we only know
its needed on an I2C 20789, which is rare
2018-02-08 17:36:33 +11:00
Siddharth Purohit 40142e5aef ChibiOS: implement way to clear i2c bus by toggling clock line 2018-02-08 17:36:33 +11:00
Andrew Tridgell 238db04187 Frame_Params: set TMODE_ENABLE=2 for the F412 2018-02-08 17:36:33 +11:00
Andrew Tridgell 9261e1cbde Copter: enable F412 toymode button setup
different button mapping for new controller
2018-02-08 17:36:33 +11:00
Andrew Tridgell 8d43c6c3dc AP_Radio: implement OTA update for cc2500 2018-02-08 17:36:33 +11:00
Andrew Tridgell ca12d99430 Frame_Params: fixed orientation on F412 2018-02-08 17:36:33 +11:00
Andrew Tridgell 0d089e8116 HAL_ChibiOS: fixed F412 OF reset pin 2018-02-08 17:36:33 +11:00
Andrew Tridgell eeff485a39 AP_Radio: fixed timing of telem packets 2018-02-08 17:36:33 +11:00
Andrew Tridgell 240b6d57f7 AP_Radio: added SRT packet formats for cc2500 2018-02-08 17:36:33 +11:00
Andrew Tridgell 2b9dd0b394 AP_Radio: fixed startup with stored bind info 2018-02-08 17:36:33 +11:00
Andrew Tridgell 3c3389a005 HAL_ChibiOS: raise I2C bus priority on F412
needed for good scheduling with I2C IMU
2018-02-08 17:36:33 +11:00
Andrew Tridgell 20a008c80a HAL_ChibiOS: disable trace buffers
these were unusued but still allocated
2018-02-08 17:36:33 +11:00
Andrew Tridgell b380143349 AP_InertialSensor: improved handling of I2C invensense sensor
on I2C the lower bus bandwidth changes the tradeoffs
2018-02-08 17:36:33 +11:00
Andrew Tridgell b33c815e96 AP_InertialSensor: added whoami for prototype 20789 2018-02-08 17:36:33 +11:00
Andrew Tridgell 58dfca8ccd Sub: pass loop rate to perf_info 2018-02-08 17:36:33 +11:00
Andrew Tridgell daf35f7a30 Copter: pass loop rate to perf_info 2018-02-08 17:36:33 +11:00
Andrew Tridgell b3ed8fd3f9 AP_Scheduler: scale perf_info with loop rate
this allows it to be used for a wide range of loop rates
2018-02-08 17:36:33 +11:00
Andrew Tridgell 875008f2a6 HAL_ChibiOS: lock all DMA channels on reboot
this fixes a problem with the ICM-20789 on I2C where a reboot while the bus is active
leaves the IMU in a dead state where it can't be recovered without a power cycle.
2018-02-08 17:36:33 +11:00
Andrew Tridgell 32ddbca428 AP_Radio: do cypress sends as single transfer
this prevents timing errors to cypress chip on packet send
2018-02-08 17:36:33 +11:00
Andrew Tridgell 65f4c0ba50 AP_Radio: improved timeout abstraction in cypress driver 2018-02-08 17:36:33 +11:00
Andrew Tridgell 6faace278a HAL_ChibiOS: run i2c at 400kHz on F412 2018-02-08 17:36:33 +11:00