Anton Babushkin
09452805b1
rgbled: copyright updated
12 years ago
Anton Babushkin
a012d5be82
rgbled: more cleanup
12 years ago
Anton Babushkin
f2d5d008a6
rgbled: major cleanup and bugfixes
12 years ago
Jean Cyr
89d3e1db28
Implement Spektrum DSM pairing in V2
...
- Bind control for V2
- Relays and accessory power not supported on V2 hardware
12 years ago
Randy Mackay
f4abcb51a1
tone_alarm: add #define for device path
12 years ago
Lorenz Meier
03727974f1
Fix binding states for DSM
12 years ago
Lorenz Meier
a0d26cb282
Make mixer upload not depending on single serial transfer error
12 years ago
marco
318abfabcb
mkblctrl fix and qgroundcontrol2 startup script for different frametypes
12 years ago
Lorenz Meier
24648b5294
Minor cleanups in the drivers
12 years ago
px4dev
19fdaf2009
Use the generic device::SPI locking strategy.
12 years ago
Jean Cyr
41610ff7dd
DSM pairing cleanup in px4io.cpp
...
- Simplify parameter range checking in dsm_bind_ioctl
- Replace DSM magic numbers with symbolic constants
12 years ago
Lorenz Meier
d84fe2913e
Move IRQ restore to right position
12 years ago
Andrew Tridgell
4893509344
drivers: report error_count in drivers where possible
12 years ago
Andrew Tridgell
0b7294a26e
added error_count field to sensor report structures
12 years ago
Andrew Tridgell
e9e46f9c9d
px4io: added monitoring of vservo and vrssi
...
publish via servorail_status ORB topic
12 years ago
Andrew Tridgell
f7c3ed3ed6
px4io: split io_handle_battery() out from io_handle_status()
...
ready to add vservo and rssi
12 years ago
Jean Cyr
41982579b3
Refactor dsm binding code in px4io.cpp
...
- Move repeated code into member function
12 years ago
Jean Cyr
3b8039e4e0
Implement message based receiver pairing
12 years ago
Andrew Tridgell
760b3ab2e7
ringbuffer: converted to item_size units
...
this fixes a number of indexing bugs
12 years ago
px4dev
cefc7ac00e
Rework the ringbuffer class so that it's not templated, and refactor its clients so they aren't dancing around the linker anymore.
12 years ago
Andrew Tridgell
a5821d2928
ms5611: converted to using RingBuffer
12 years ago
Andrew Tridgell
4b4f4fee5b
lsm303d: convert to using RingBuffer
12 years ago
Andrew Tridgell
274e3aa2ca
bma180: convert to using RingBuffer
12 years ago
Andrew Tridgell
b8ffb574ca
mb12xx: convert to using RingBuffer class
12 years ago
Andrew Tridgell
63fb702d7f
l3gd20: convert to using RingBuffer class
12 years ago
Andrew Tridgell
36b7b7bc5f
airspeed: convert to using RingBuffer class
12 years ago
Andrew Tridgell
815ccee0e7
mpu6000: fixed race condition in buffer increment
12 years ago
Andrew Tridgell
37d09f0944
mpu6000: use a wrapper struct to avoid a linker error
...
the linker doesn't cope with us having multiple modules implementing
RingBuffer<gyro_report>
this also switches to use force() instead of put(), so we discard old
entries when the buffer overflows
12 years ago
Andrew Tridgell
3c45261117
hmc5883: use a RingBuffer to hold report queue
...
this simplifies the queue handling, and avoids the need for a
start()/stop() on queue resize
12 years ago
Andrew Tridgell
3329e3c38c
ringbuffer: added resize() and print_info() methods
...
this simplifies the drivers
12 years ago
px4dev
1828b57c58
ringbuffer: added force() and use lockless methods
...
this adds force() which can be used for drivers wanting consumers to
get the latest data when the buffer overflows
12 years ago
Andrew Tridgell
04f8e338b6
hmc5883: add perf count, and removed unnecessary checks for -32768
...
we've already checked that the absolute value is <= 2048
12 years ago
Lorenz Meier
5e6d3604a3
Made MS5611 startup exclusive as well
12 years ago
px4dev
ed4b34547c
Make the init code compile if we don't have the granule allocator / dma allocator required
12 years ago
px4dev
bbac1445b0
Add DMA buffer allocation pool.
12 years ago
Lorenz Meier
3a326cb467
Guard probe / reset against other SPI drivers
12 years ago
Lorenz Meier
8131d28a0f
Exported disarmed PWM values as IOCTLs
12 years ago
Andrew Tridgell
ba712e1a22
ms5611: converted to using RingBuffer
12 years ago
Andrew Tridgell
2e0fc9a288
lsm303d: convert to using RingBuffer
12 years ago
Andrew Tridgell
6545997178
bma180: convert to using RingBuffer
12 years ago
Andrew Tridgell
4918148aa3
mb12xx: convert to using RingBuffer class
12 years ago
Andrew Tridgell
96b4729b37
l3gd20: convert to using RingBuffer class
12 years ago
Andrew Tridgell
5ee40da720
airspeed: convert to using RingBuffer class
12 years ago
Andrew Tridgell
4650c21141
mpu6000: fixed race condition in buffer increment
12 years ago
Andrew Tridgell
c62710f80b
mpu6000: use a wrapper struct to avoid a linker error
...
the linker doesn't cope with us having multiple modules implementing
RingBuffer<gyro_report>
this also switches to use force() instead of put(), so we discard old
entries when the buffer overflows
12 years ago
Andrew Tridgell
dcee02148e
hmc5883: use a RingBuffer to hold report queue
...
this simplifies the queue handling, and avoids the need for a
start()/stop() on queue resize
12 years ago
Andrew Tridgell
51bc73fb28
ringbuffer: added resize() and print_info() methods
...
this simplifies the drivers
12 years ago
px4dev
f9f41f5770
ringbuffer: added force() and use lockless methods
...
this adds force() which can be used for drivers wanting consumers to
get the latest data when the buffer overflows
12 years ago
Andrew Tridgell
778cfaa0b9
hmc5883: add perf count, and removed unnecessary checks for -32768
...
we've already checked that the absolute value is <= 2048
12 years ago
Buzz
c12955fbc0
the "rgbled rgb X X X" command was broken, and would set green when you asked for red, and blue when you asked for green, and never set red. - off by 1 error in parameter numbering.
12 years ago