Randy Mackay
80134d2b7d
IR-LOCK: rework driver (from jschall) ( #5024 )
...
* irlock: change output format to tangent of angles
* irlock: put all targets in single struct
* irlock: eliminate tanf function in constant
2016-07-11 09:05:29 +02:00
Randy Mackay
aa1d7d7869
IRLock: fix compile error
2015-08-28 21:55:57 +02:00
Randy Mackay
7dcef40516
irlock: report target in radians
2015-05-29 16:50:48 +09:00
Randy Mackay
54308288f3
irlock: formatting fixes
2015-05-29 16:50:48 +09:00
Randy Mackay
10139400d5
irlock: simplify driver
...
Remove ioctl calls by always starting cycling
Remove unused orb variables and includes
Remove unused angle from irlock_s structure
Add test and set I2C address to pixy default
Reduce max num objects to 5
Add read errors reporting via nsh
2015-05-29 16:50:47 +09:00
Randy Mackay
a90caf7b7b
l3gd20: faster gyro interrupts
2015-05-19 13:25:42 +09:00
Randy Mackay
04863dc2d1
batt_smbus: add ioctl to return batt capacity
...
Also use full charge capacity instead of design capacity so that an old
battery's capacity will appear as lower than its original capacity but
it will still report 100% charged after charging
2015-04-10 14:17:25 +09:00
Randy Mackay
4e83f43ea3
batt_smbus: remove usleep
...
Also restore I2C address after performing command line search for
devices
2015-03-19 12:09:40 +09:00
Randy Mackay
23075f6dab
batt_smbus: calculate current discharged
2015-03-19 12:09:31 +09:00
Randy Mackay
48bf84ff37
oreoled: support send_bytes ioctl
...
Also increase maximum command length to 24 bytes
2015-03-02 08:29:12 +01:00
Randy Mackay
ca4adebe11
batt_smbus: remove debug
2015-03-02 15:30:06 +09:00
Randy Mackay
9a3ea61569
build: add oreoled to px4fmu-v2_default
2015-02-25 15:10:11 +01:00
Randy Mackay
90df6c6b58
OreoLED: fix formatting
2015-02-25 15:10:03 +01:00
Randy Mackay
0ac3c80542
OreoLED: driver for attiny88 based LED controller
2015-02-25 15:09:55 +01:00
Randy Mackay
d57dd250b9
batt_smbus: reverse reported current
...
smart batteries report a negative current when being discharged
2015-02-20 16:57:23 +01:00
Randy Mackay
d80a00fad1
batt_smbus: disable if no batt 10seconds after startup
2015-01-21 22:23:17 +01:00
Randy Mackay
c4e3577476
batt_smbus: add search
2014-12-30 13:43:23 +09:00
Randy Mackay
a952a18b42
batt_smbus: add get_PEC
2014-12-30 13:43:21 +09:00
Randy Mackay
65bcd0e122
batt_smbus: minor format fix
2014-12-30 13:43:18 +09:00
Randy Mackay
78b9e06a15
batt_smbus: remove redundant ORB_DECLARE
2014-12-30 13:43:15 +09:00
Randy Mackay
b8e818b387
batt_smbus: remove sleep before I2C transfer
2014-12-30 13:43:13 +09:00
Randy Mackay
df9547e9d3
batt_smbus: driver for smart battery
2014-12-30 13:43:11 +09:00
Randy Mackay
ac9e9835ac
i2c: const get_address
2014-12-30 13:43:08 +09:00
Randy Mackay
59e0b67c8e
NuttxConfig: increase I2C timeout to 10ms
2014-12-30 13:43:06 +09:00
Randy Mackay
0e51b99915
device: initialise device id
...
Conflicts:
mavlink/include/mavlink/v1.0
2014-10-08 10:39:17 +02:00
Randy Mackay
3e1eec5906
mpu6k: set hardware filter during ACCELIOCLOWPASS
...
also set from GYROIOCLOWPASS
Conflicts:
mavlink/include/mavlink/v1.0
2014-09-30 10:03:15 +02:00
Randy Mackay
2d4dd0d5c0
Tone alarm sound for barometer check fail
2014-08-01 09:24:07 +02:00
Randy Mackay
e6594e5192
tone_alarm: add EKF_WARNING tune
...
Conflicts:
mavlink/include/mavlink/v1.0
2014-07-23 06:30:32 +02:00
Randy Mackay
9f2c4b7513
tone_alarm: add PARACHUTE_RELEASE_TUNE
2014-04-28 11:43:25 +02:00
Randy Mackay
642081ddfe
tone_alarm: add GPS warning tone
2013-09-27 13:34:25 +02:00
Randy Mackay
f4abcb51a1
tone_alarm: add #define for device path
2013-09-16 07:21:31 +02:00
Randy Mackay
1a641b791d
tone_alarm: more device paths replaced with #define
2013-09-16 07:21:16 +02:00