Lorenz Meier
6c2640768d
Merge branch 'master' of github.com:PX4/Firmware into fixedwing_l1
2013-09-16 13:30:49 +02:00
Lorenz Meier
9e7077fdf9
Added more acknowledgements after another author sweep
2013-09-16 13:09:37 +02:00
Lorenz Meier
489e7b2f1e
Merge pull request #401 from PX4/sdlog2_LPOS
...
sdlog2: position & velocity valid, postion global and landed flags added...
2013-09-15 22:53:33 -07: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
Lorenz Meier
03727974f1
Fix binding states for DSM
2013-09-15 18:48:28 +02:00
Lorenz Meier
3c59877b50
Naming consistency improved
2013-09-15 09:13:13 +02:00
Lorenz Meier
ac3f1c55c7
Adding more references, adding inline references to make sure a reader of the source file will not miss them
2013-09-15 09:08:14 +02:00
Anton Babushkin
2fbd23cf6e
sdlog2: position & velocity valid, postion global and landed flags added to LPOS, some refactoring
2013-09-14 17:31:58 +02:00
Lorenz Meier
a0d26cb282
Make mixer upload not depending on single serial transfer error
2013-09-14 16:25:38 +02:00
Anton Babushkin
8a70efdf43
Beep and print message when arming is not allowed
2013-09-14 08:55:45 +02:00
Lorenz Meier
7ad2654b2d
Merge pull request #393 from PX4/takeoff_sp_fix
...
multirotor_pos_control: setpoint reset rewritten
2013-09-13 11:07:32 -07:00
Lorenz Meier
4b92138207
Merge pull request #395 from jean-m-cyr/master
...
Implement message based receiver pairing
2013-09-13 09:41:50 -07:00
Lorenz Meier
24648b5294
Minor cleanups in the drivers
2013-09-13 10:16:32 +02:00
Lorenz Meier
11530ac021
Merge remote-tracking branch 'origin/spi-device-locking' into fat-dma-spi
2013-09-13 09:56:01 +02:00
px4dev
19fdaf2009
Use the generic device::SPI locking strategy.
2013-09-12 23:56:53 -07:00
Jean Cyr
41610ff7dd
DSM pairing cleanup in px4io.cpp
...
- Simplify parameter range checking in dsm_bind_ioctl
- Replace DSM magic numbers with symbolic constants
2013-09-12 21:36:20 -04:00
Lorenz Meier
d84fe2913e
Move IRQ restore to right position
2013-09-13 01:34:49 +02:00
Lorenz Meier
6dd4069561
Merge branch 'master' of github.com:PX4/Firmware into fat-dma
2013-09-13 00:36:08 +02:00
Lorenz Meier
8fbf698e62
Adding missing author info and acknowledgements
2013-09-12 14:02:30 +02:00
Lorenz Meier
df763ff7e2
Merged master
2013-09-12 13:54:59 +02:00
Lorenz Meier
a418498f1b
Hotfix: Use sensible default gains for users not being able to read instructions.
2013-09-12 12:51:21 +02:00
Lorenz Meier
be436d3a99
Merge branch 'master' of github.com:PX4/Firmware into fat-dma
2013-09-12 09:52:49 +02:00
Lorenz Meier
c92e3f3f4b
Merge branch 'master' into fat-dma
2013-09-12 09:51:06 +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
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