Commit Graph

4564 Commits

Author SHA1 Message Date
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
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
2013-09-10 11:55:59 +02:00
Andrew Tridgell 778cfaa0b9 hmc5883: add perf count, and removed unnecessary checks for -32768
we've already checked that the absolute value is <= 2048
2013-09-10 11:55:03 +02:00
Lorenz Meier 8d497b58f9 Merge branch 'master' of github.com:PX4/Firmware 2013-09-10 11:53:06 +02:00
px4dev fb57d5a186 Merge pull request #389 from davidbuzz/rgbfix
the "rgbled rgb X X X" command was broken, and would set green when you ...
2013-09-09 20:50:33 -07:00
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. 2013-09-10 13:32:32 +10:00
Lorenz Meier b6a0437c7c Fixed compile error 2013-09-08 22:30:56 +02:00
Lorenz Meier a7bff9f448 Merge branch 'master' of github.com:PX4/Firmware into fixedwing_l1 2013-09-08 22:27:31 +02:00
Lorenz Meier 7866b90477 Merge branch 'master' of github.com:PX4/Firmware 2013-09-08 22:07:47 +02:00
Lorenz Meier 98ac914cb0 Add setting queue depth to HMC test 2013-09-08 22:07:33 +02:00
Lorenz Meier 8bd018c561 Merge branch 'fixedwing_l1' of github.com:PX4/Firmware into fixedwing_l1 2013-09-08 21:50:14 +02:00
Lorenz Meier 11e4fbc374 Added additional vector functions, fixed seatbelt for global estimators 2013-09-08 21:49:59 +02:00
Lorenz Meier d3ac8c9ff3 Fixed HIL mode switching, HIL works 2013-09-08 21:06:55 +02:00
Lorenz Meier 2e8b675c6c Fixed (temporarily) HIL by allowing index 1000 to start a matching setup 2013-09-08 20:40:55 +02:00
Lorenz Meier 2d6dfe2a9e Allow px4io detect to be run when IO is already running 2013-09-08 20:40:26 +02:00
Lorenz Meier 88ad9fc25b Merge branch 'master' of github.com:PX4/Firmware into fixedwing_l1 2013-09-08 20:06:37 +02:00
Lorenz Meier 690d29078f Merge branch 'master' of github.com:PX4/Firmware 2013-09-08 20:05:49 +02:00
Lorenz Meier c3bb6960e6 Fixed mavlink start / stop to ensure process is in a sane state once NSH return 2013-09-08 20:05:38 +02:00
Lorenz Meier 56a35cc889 Fixed commander start / stop to ensure the state is sane once NSH returns 2013-09-08 20:05:15 +02:00
Lorenz Meier 9b48fe3622 Compiling attitude control, ready for tests 2013-09-08 20:04:39 +02:00
Lorenz Meier 2697790aa5 Merge branch 'fixedwing_l1' of github.com:PX4/Firmware into fixedwing_l1 2013-09-08 17:05:18 +02:00
Lorenz Meier 14828cfda5 Merge branch 'master' of github.com:PX4/Firmware into fixedwing_l1 2013-09-08 00:50:37 +02:00
Lorenz Meier 751c026469 Merge pull request #381 from PX4/waypoint_loiter
Have systems loiter at the last waypoint
2013-09-07 09:50:37 -07:00
Lorenz Meier 056fe1c0b9 WIP 2013-09-07 13:50:38 +02:00
Lorenz Meier 8398de7515 WIP on controllers 2013-09-07 12:53:39 +02:00
Lorenz Meier b6dd579e0e Merge branch 'master' into fixedwing_l1 2013-09-07 12:24:40 +02:00
Lorenz Meier b599a32c16 Removed dysfunctional includes. Need to be re-done properly when finally implementing SITL. No use to leave untested stuff in tree. 2013-09-07 12:22:24 +02:00
Lorenz Meier fb9e98fb59 Cleanup of fixedwing startup code 2013-09-07 12:17:27 +02:00
Lorenz Meier f721c6f7e0 Merge branch 'waypoint_loiter' of github.com:PX4/Firmware into fixedwing_l1 2013-09-07 11:52:22 +02:00
Lorenz Meier 5111249eb8 Merge branch 'master' of github.com:PX4/Firmware into fixedwing_l1 2013-09-07 11:12:56 +02:00
Lorenz Meier bdabcd9627 Merge pull request #382 from PX4/bool_fix
Make bool on FMUv1 and FMUv2 behave the same
2013-09-06 13:27:33 -07:00
Lorenz Meier 79dfd83533 Merge pull request #383 from tstellanova/inject_version
grab the git hash and inject it into every log file header
2013-09-06 11:12:18 -07:00
tstellanova 23a355644b grab the git hash and inject it into every log file header 2013-09-06 10:18:08 -07:00
Lorenz Meier 58adc7e40b Make bool on FMUv1 and FMUv2 behave the same 2013-09-06 17:07:11 +02:00
Lorenz Meier 127832b8fd Have systems loiter at the last waypoint 2013-09-06 17:00:49 +02:00
Lorenz Meier 6104d14968 Have systems loiter at the last waypoint 2013-09-06 16:53:09 +02:00
Lorenz Meier 3d821b8131 Hotfix: Gain optimization 2013-09-05 22:32:13 +02:00
Lorenz Meier d74bea57ac Merge branch 'master' of github.com:PX4/Firmware into fixedwing_l1 2013-09-05 22:18:00 +02:00
Lorenz Meier 373a74adb9 Setting correct battery scaling for FMU-only setups 2013-09-05 17:39:36 +02:00
Lorenz Meier 02df2b8fe5 Merge pull request #380 from julianoes/hotfix_mag_calib
Workaround to prevent crash during mag calibration
2013-09-05 08:07:22 -07:00
Julian Oes e8c309fb14 Workaround to prevent crash during mag calibration 2013-09-05 15:57:09 +02:00
Lorenz Meier 84f44107dd Merge branch 'master' of github.com:PX4/Firmware 2013-09-05 13:24:51 +02:00
Lorenz Meier 5dbe53877a Fixed sched param setup in MAVLink app 2013-09-05 13:24:37 +02:00
Lorenz Meier aa785b0d2b Hotfix: Better error reporting, fixed sched param setup 2013-09-05 13:24:21 +02:00
Lorenz Meier 3968bd4c1b Merge pull request #379 from PX4/landed_bugfix
position_estimator_inav: land detector bug fixed
2013-09-05 03:39:55 -07:00