Lorenz Meier
c9b8a019ea
Merge branch 'master' of github.com:PX4/Firmware into status_monitoring
2013-09-12 09:26:30 +02:00
Andrew Tridgell
7257642371
perf: added perf_event_count() method
...
this allows drivers to get an event_count from a perf counter
2013-09-12 09:25:08 +02:00
Andrew Tridgell
0b7294a26e
added error_count field to sensor report structures
2013-09-12 09:25:01 +02:00
Andrew Tridgell
e9e46f9c9d
px4io: added monitoring of vservo and vrssi
...
publish via servorail_status ORB topic
2013-09-12 09:24:53 +02:00
Andrew Tridgell
f12794d30e
uORB: added new servorail_status object
...
used for VSERVO and RSSI on FMUv2
2013-09-12 09:24:40 +02:00
Andrew Tridgell
f7c3ed3ed6
px4io: split io_handle_battery() out from io_handle_status()
...
ready to add vservo and rssi
2013-09-12 09:24:23 +02:00
Jean Cyr
41982579b3
Refactor dsm binding code in px4io.cpp
...
- Move repeated code into member function
2013-09-11 22:54:23 -04:00
Jean Cyr
3b8039e4e0
Implement message based receiver pairing
2013-09-11 22:11:37 -04:00
Andrew Tridgell
760b3ab2e7
ringbuffer: converted to item_size units
...
this fixes a number of indexing bugs
2013-09-12 00:53:14 +02:00
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.
2013-09-12 00:53:08 +02:00
Andrew Tridgell
a5821d2928
ms5611: converted to using RingBuffer
2013-09-12 00:53:01 +02:00
Andrew Tridgell
4b4f4fee5b
lsm303d: convert to using RingBuffer
2013-09-12 00:52:53 +02:00
Andrew Tridgell
274e3aa2ca
bma180: convert to using RingBuffer
2013-09-12 00:52:45 +02:00
Andrew Tridgell
b8ffb574ca
mb12xx: convert to using RingBuffer class
2013-09-12 00:52:38 +02:00
Andrew Tridgell
63fb702d7f
l3gd20: convert to using RingBuffer class
2013-09-12 00:52:31 +02:00
Andrew Tridgell
36b7b7bc5f
airspeed: convert to using RingBuffer class
2013-09-12 00:52:21 +02:00
Andrew Tridgell
815ccee0e7
mpu6000: fixed race condition in buffer increment
2013-09-12 00:52:13 +02:00
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
2013-09-12 00:51:54 +02:00
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
2013-09-12 00:51:41 +02:00
Andrew Tridgell
3329e3c38c
ringbuffer: added resize() and print_info() methods
...
this simplifies the drivers
2013-09-12 00:51:34 +02:00
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
2013-09-12 00:51:24 +02:00
Andrew Tridgell
04f8e338b6
hmc5883: add perf count, and removed unnecessary checks for -32768
...
we've already checked that the absolute value is <= 2048
2013-09-12 00:51:13 +02:00
Lorenz Meier
0308f399d9
Merge branch 'master' of github.com:PX4/Firmware
2013-09-12 00:43:27 +02:00
Lorenz Meier
5e6d3604a3
Made MS5611 startup exclusive as well
2013-09-11 22:46:00 +02:00
px4dev
514d32e961
Cut down 'tests file' for debugging
2013-09-11 13:42:29 -07:00
px4dev
ed4b34547c
Make the init code compile if we don't have the granule allocator / dma allocator required
2013-09-11 13:42:29 -07:00
px4dev
bbac1445b0
Add DMA buffer allocation pool.
2013-09-11 13:42:29 -07:00
Lorenz Meier
3a326cb467
Guard probe / reset against other SPI drivers
2013-09-11 22:16:29 +02:00
Lorenz Meier
da3620bd53
Compile fix
2013-09-11 01:15:54 +02:00
Anton Babushkin
90873474a9
multirotor_pos_control: setpint reset rewritten
2013-09-10 22:58:44 +02:00
Lorenz Meier
8131d28a0f
Exported disarmed PWM values as IOCTLs
2013-09-10 21:38:32 +02:00
Lorenz Meier
3047b6ced0
Another set of minor style edits
2013-09-10 21:09:11 +02:00
Lorenz Meier
c0b309760a
More cleanup
2013-09-10 21:00:59 +02:00
Lorenz Meier
4e0c5f9489
Compile fixes, cleanups, better references
2013-09-10 20:26:50 +02:00
Lorenz Meier
21f4ce0ebd
Style / code cleanup
2013-09-10 16:45:43 +02:00
Lorenz Meier
30499caecf
Make sure to loiter at final waypoint on a best effort basis
2013-09-10 16:16:22 +02:00
Lorenz Meier
dbeb2f3ec9
Merge branch 'master' into fixedwing_l1
2013-09-10 13:24:08 +02:00
Lorenz Meier
c3b6cea77a
Hotfix for S.Bus systems with more than 8 channels
2013-09-10 13:22:56 +02:00
Lorenz Meier
465f161427
Hotfix: remove bogus commit
2013-09-10 12:49:17 +02:00
Lorenz Meier
b32f79fc99
Merge branch 'ringbuffer' of github.com:PX4/Firmware into fixedwing_l1
2013-09-10 12:17:28 +02:00
Andrew Tridgell
ba712e1a22
ms5611: converted to using RingBuffer
2013-09-10 11:57:29 +02:00
Andrew Tridgell
2e0fc9a288
lsm303d: convert to using RingBuffer
2013-09-10 11:57:21 +02:00
Andrew Tridgell
6545997178
bma180: convert to using RingBuffer
2013-09-10 11:57:12 +02:00
Andrew Tridgell
4918148aa3
mb12xx: convert to using RingBuffer class
2013-09-10 11:57:03 +02:00
Andrew Tridgell
96b4729b37
l3gd20: convert to using RingBuffer class
2013-09-10 11:56:55 +02:00
Andrew Tridgell
5ee40da720
airspeed: convert to using RingBuffer class
2013-09-10 11:56:46 +02:00
Andrew Tridgell
4650c21141
mpu6000: fixed race condition in buffer increment
2013-09-10 11:56:36 +02:00
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
2013-09-10 11:56:28 +02:00
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
2013-09-10 11:56:21 +02:00
Andrew Tridgell
51bc73fb28
ringbuffer: added resize() and print_info() methods
...
this simplifies the drivers
2013-09-10 11:56:11 +02:00