Andrew Tridgell
a6e0bb4ed0
HAL_ChibiOS: fixed uart order for revo-mini
...
and setup right battery pins
2018-02-14 18:27:00 +11:00
Andrew Tridgell
fba962f7ff
HAL_PX4: allow for different LED pins
...
and fixed build
2018-02-14 18:27:00 +11:00
Andrew Tridgell
17b3607aa8
HAL_ChibiOS: fixed RCIN on revo-mini
...
this also adds an attempt at using 'N' (inverted) channels for
RCIN. This doesn't work yet, but would be better for the revo-mini, as
it would allow the normal RCIN pin to be used
2018-02-14 18:27:00 +11:00
Andrew Tridgell
50be97b461
ChibiOS: submodule update
...
fixed USB on revo-mini
2018-02-14 18:27:00 +11:00
Andrew Tridgell
c6879c679a
HAL_ChibiOS: re-enable USART1 on revo-mini
2018-02-14 18:27:00 +11:00
Andrew Tridgell
310acd333e
AP_HAL: use 1/0 not HIGH/LOW for LEDs in ChibiOS
2018-02-14 18:27:00 +11:00
Andrew Tridgell
427e00dd41
HAL_ChibiOS: switched to system timer for AP_HAL::micros()
...
this uses the ChibiOS system timer instead of a separate GPT timer for
the core ChibiOS timer. The advantage is it saves us a timer, plus it
changes ChibiOS to use a 1MHz clock on its timer, which gives us
higher resolution for delays.
This has a remarkable effect on timing jitter, reducing it greatly
2018-02-14 18:27:00 +11:00
Andrew Tridgell
f321c84f9d
ChibiOS: submodule update
2018-02-14 18:27:00 +11:00
Andrew Tridgell
ceeb5e6892
AP_HAL: use 1/0 not HIGH/LOW for LED polarity
...
this fixes the build for pixracerled driver on px4-v2
2018-02-14 18:27:00 +11:00
Andrew Tridgell
f357eec78b
HAL_ChibiOS: added more comments in hwdef.dat
2018-02-14 18:27:00 +11:00
Andrew Tridgell
9a95737d7d
HAL_ChibiOS: added lots of comments to FMUv3 hwdef.dat
...
this should help for developers of new boards
2018-02-14 18:27:00 +11:00
Andrew Tridgell
a057498e0c
HAL_ChibiOS: pull PA9 PA10 high on revo-mini
...
needed for correct operation of USB
2018-02-14 18:27:00 +11:00
Andrew Tridgell
0fdef97c76
AP_Notify: allow ChibiOS to use PixracerLED driver
2018-02-14 18:27:00 +11:00
Andrew Tridgell
66608e8cad
HAL_ChibiOS: improved mini-pix support
2018-02-14 18:27:00 +11:00
Andrew Tridgell
52815cd952
AP_Compass: fixed compass orientation for mini-pix
2018-02-14 18:27:00 +11:00
Andrew Tridgell
f85c82ee5d
AP_Baro: fixed baro scaling for LPS2XH
2018-02-14 18:27:00 +11:00
Andrew Tridgell
320c3b53a4
waf: make it easier to list USB IDs to load fw to
2018-02-14 18:27:00 +11:00
ljwang
59ee3c8f62
AP_HAL: support mini-pix
2018-02-14 18:27:00 +11:00
ljwang
9b99a0ce55
AP_HAL_ChibiOS: fixed mini-pix hwdef.dat
2018-02-14 18:27:00 +11:00
ljwang
231aa16835
AP_Compass: support mini-pix
2018-02-14 18:27:00 +11:00
ljwang
88effef51a
AP_Baro: support mini-pix using LPS25H SPI barometer
...
allow LPS22H and LPS25H to share a driver
2018-02-14 18:27:00 +11:00
Andrew Tridgell
348a757cc6
Copter: re-enable FLOWHOLD mode on skyviper
2018-02-14 18:27:00 +11:00
Pierre Kancir
fe36c09bb0
Tools: correct Gazebo-iris param
2018-02-14 09:45:25 +09:00
Andrew Tridgell
c3f8d5580a
HAL_ChibiOS: undef log directory for skyviper-v2450
2018-02-14 07:39:27 +11:00
dheideman
47d5de353d
Sub: Set neutral controls when switching to manual/acro mode
2018-02-13 11:41:37 -05:00
Jacob Walser
08298fced6
Sub: clear roll/pitch trim when setting neutral controls
2018-02-13 11:41:37 -05:00
dheideman
b94ed3aecd
Sub: Adjust roll/pitch joystick button logic
2018-02-13 11:41:36 -05:00
Randy Mackay
0e9b5f4c10
Build: add commonly used boards info including skyviper
2018-02-13 15:27:18 +09:00
Andrew Tridgell
6cc007598e
AP_Scheduler: initialise _last_loop_time_s in init()
2018-02-13 17:15:05 +11:00
Andrew Tridgell
f190ca0867
Rover: use scheduler.get_last_loop_time_s()
2018-02-13 17:15:05 +11:00
Andrew Tridgell
59868f425e
Sub: use scheduler.get_last_loop_time_s()
2018-02-13 17:15:05 +11:00
Andrew Tridgell
e6cebdecd1
Plane: use scheduler.get_last_loop_time_s()
2018-02-13 17:15:05 +11:00
Andrew Tridgell
00ec3efb48
Copter: initialise G_Dt to 1.0/400
2018-02-13 17:15:05 +11:00
Andrew Tridgell
8907cb3b23
AP_Scheduler: time in seconds should be a float
2018-02-13 17:15:05 +11:00
Peter Barker
50ccbb5d0c
Tools: autotest: correct speedup parameter handling
2018-02-13 17:15:05 +11:00
Peter Barker
aeb99c675b
Tools: autotest: remove racey mavproxy.expect
...
The autopilot could well have emitted the statustext before we
start to expect() it
2018-02-13 17:15:05 +11:00
Peter Barker
44a1553535
Sub: eliminate perf_update scheduler table shim
2018-02-13 17:15:05 +11:00
Peter Barker
3859e5dfb1
Plane: eliminate update_perf_logging scheduler table shim
2018-02-13 17:15:05 +11:00
Peter Barker
730adc3f7c
Copter: eliminate perf_update scheduler table shim
2018-02-13 17:15:05 +11:00
Peter Barker
90d26a5100
Rover: eliminate perf_update scheduler table shim
2018-02-13 17:15:05 +11:00
Peter Barker
8288198ac8
AP_Scheduler: force single-precision floating point calculations
2018-02-13 17:15:05 +11:00
Andrew Tridgell
f06fdf330e
Copter: use get_last_loop_time_s() for G_Dt
2018-02-13 17:15:05 +11:00
Andrew Tridgell
491715bec7
AP_Scheduler: added get_last_loop_time_s()
...
this gives compatibility with previous G_Dt in copter
2018-02-13 17:15:05 +11:00
Andrew Tridgell
f436901517
AP_Scheduler: fixed perf info to match previous behaviour
2018-02-13 17:15:05 +11:00
Andrew Tridgell
b7c4dea9d3
HAL_ChibiOS: gain back 250usec in loop time
...
if we have already called delay_microseconds_boost() then we know
we've given up time to drivers, so we can avoid the extra delay in the
HAL
2018-02-13 17:15:05 +11:00
Andrew Tridgell
e0c9d9b592
AP_Scheduler: fixed loop time available
2018-02-13 17:15:05 +11:00
Andrew Tridgell
24d6493453
AP_Scheduler: make loop times cover INS wait_for_sample
...
this matches past behaviour, and gives much more useful information to
a user wanting to know if their board it meeting its desired loop rate
2018-02-13 17:15:05 +11:00
Andrew Tridgell
434c3fffc7
AP_Scheduler: fixed filtered loop time
2018-02-13 17:15:05 +11:00
Andrew Tridgell
832a96d29f
Sub: use filtered loop time
2018-02-13 17:15:05 +11:00
Andrew Tridgell
e0de4bccdf
Copter: use filtered loop time
2018-02-13 17:15:05 +11:00