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
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
c3f8d5580a
HAL_ChibiOS: undef log directory for skyviper-v2450
2018-02-14 07:39:27 +11:00
Andrew Tridgell
6cc007598e
AP_Scheduler: initialise _last_loop_time_s in init()
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
8288198ac8
AP_Scheduler: force single-precision floating point calculations
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
620d6ab4b8
AP_Scheduler: fixed merge issues
2018-02-13 17:15:05 +11:00
Peter Barker
73c0905b5e
AP_Scheduler: pass log-performance-bit at init time rather than update time
2018-02-13 17:15:05 +11:00
Peter Barker
4672e9d4eb
AP_Scheduler: resolve debug name conflict
2018-02-13 17:15:05 +11:00
Peter Barker
30d813a83e
DataFlash: move logging of PM messages to AP_Scheduler
2018-02-13 17:15:05 +11:00
Peter Barker
d3c1b720c6
AP_Scheduler: move logging of PM messages to AP_Scheduler
2018-02-13 17:15:05 +11:00
Peter Barker
d151b27e92
AP_Scheduler: move PERF: statustext sending into AP_Scheduler
2018-02-13 17:15:05 +11:00
Peter Barker
baa6e04854
AP_Scheduler: change loop time to remove sleeping in wait_for_sample
2018-02-13 17:15:05 +11:00
Peter Barker
4909000441
AP_Scheduler: implement loop()
2018-02-13 17:15:05 +11:00
Peter Barker
096f7367bf
AP_InertialSensor: add ins() to AP:: namespace
2018-02-13 17:15:05 +11:00
Peter Barker
e713802c24
AP_Scheduler: add accessor for tick counter
2018-02-13 17:15:05 +11:00
Peter Barker
ae9d4d514d
AP_Scheduler: PerfInfo: allow specification of loop rate
2018-02-13 17:15:05 +11:00
Peter Barker
d1781532d4
AP_Scheduler: PerfInfo: add pragma-once to header
2018-02-13 17:15:05 +11:00
Tom Pittenger
793f50808d
AP_GPS: add param defaults for EMLID_EDGE for GPS_TYPE=9
2018-02-13 15:29:53 +11:00
Tom Pittenger
3105fd56bc
AP_BoardConfig: add param defaults for EMLID_EDGE for CAN_DRIVER=1
2018-02-13 15:29:53 +11:00
Tom Pittenger
a2f1f63ab3
AP_HAL: add param defaults for EMLID_EDGE for GPS_TYPE=9 and CAN_DRIVER=1
2018-02-13 15:29:53 +11:00
Alexey Bulatov
8369f125ce
AP_HAL: Edge: add define HAL_WITH_UAVCAN
2018-02-13 13:52:44 +11:00
Mark Whitehorn
da69832140
AP_HAL_ChibiOS: add #ifdef around toneAlarm thread stack declaration
2018-02-13 07:27:02 +11:00
Lucas De Marchi
755b1cdced
AP_HAL_Linux: rpi: sort include headers
2018-02-12 09:05:21 -08:00
Lucas De Marchi
90160a9c52
AP_HAL_Linux: rpi: use const var and fix formatting
...
Use a const variable instead of a define so we don't polute the
environment with a define specific to this function.
Also remove tabs and replace with proper coding style.
2018-02-12 08:46:36 -08:00
Dmitri Ranfft
05ebabbf6b
AP_HAL_Linux: fixed RPi version detection on kernel 4.9
2018-02-12 08:36:58 -08:00
murata
7be15cab45
AP_HAL: disable copter winch on f4light boards
2018-02-12 12:17:12 +09:00
Randy Mackay
ec98cab262
AP_WheelEncoder: hide parameters by default
2018-02-12 12:16:41 +09:00
mirkix
3aa211b325
AP_HAL: fix BeagleBone Blue external I2C number
2018-02-12 09:49:56 +09:00
Tom Pittenger
1db04772b2
AP_UAVCAN: non-functional change - fix style
...
non-functional change - fix style
2018-02-10 23:48:23 -08:00
Nikita Tomilov
2a34593ed3
AP_UAVCAN: Magnetic: allow more than one compass on one node
...
To do so, we make use of UAVCAN message MagneticFieldStrength2, which
has a field describing the sensor_id of the node which measurements were
sent, and if a node sends this message we register multiple
AP_Compass_UAVCAN backends for this node. The routing of the messages
between those backends is also implemented here.
2018-02-10 23:48:23 -08:00
Nikita Tomilov
00a013e5be
AP_UAVCAN: utilizing MagneticFieldStrength2 message
...
This makes AP_UAVCAN_Compass work with this message. This will be used
later on for Edge GNSS which has two compasses.
2018-02-10 23:48:23 -08:00
Mark Whitehorn
59b2d44323
AP_HAL_ChibiOS: make ToneAlarm compilation conditional on presence of
...
alarm pin
2018-02-11 14:55:23 +11:00
Mark Whitehorn
d569e35a0f
AP_HAL_ChibiOS: add toneAlarm support for ChibiOS on MindPX-v2
2018-02-11 14:55:23 +11:00