Lorenz Meier
6820eb7a0c
MS5611: Less chatty boot
2016-12-12 16:11:21 +01:00
David Sidrane
bdfb2bbb8d
Fixed hardfault on fast proc
...
_baro_topic can be null in init sequence
init call collect before the topic is inited.
I think this pattern is repeated in other drivers. I would suggest
allowing null in orb_publish to just return.
2016-10-22 11:43:22 +02:00
Beat Küng
241fd629ce
ERROR macro: get rid of the many 'oddly, ERROR is not defined for c++', use PX4_ERROR
2016-09-30 13:50:51 +02:00
Lorenz Meier
c835fb36a6
5611: Bump sampling frequency back up to 40 Hz from 25 Hz to help with altitude estimation
2016-07-31 12:20:48 +02:00
Beat Küng
0fa3bd4691
ms5611: use px4_getopt instead of getopt
...
- px4_getopt is threadsafe
- getopt does not do argument reordering (ms5611 start -T 5607 did not work)
2016-07-29 14:50:03 +02:00
David Sidrane
1b0f41e36e
Added support to MS5611 Driver for MS5607
2016-07-29 14:50:03 +02:00
Lorenz Meier
286efb6b34
Remove POOSIX porting noise from ms5611 driver ( #4896 )
2016-06-24 10:39:55 +02:00
Mark Charlebois
d013ac0927
Support for building more modules with Linux
...
Added more queue support to linux/px4_layer.
Use virt char devices for ms5611, and mavlink.
Added more HRT functionality. uORB latency test
now fails. Likely due to bad HRT impl for Linux.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 11:07:00 -07:00
Mark Charlebois
9758112e31
Use px4_config.h instead of nuttx/config.h
...
Modified code to use OS independent header file for config settings.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:55:41 -07:00
Lorenz Meier
a27395a15d
MS5611: Move to 0 based indices
2015-02-09 22:56:24 +01:00
Andrew Tridgell
52bff67076
ms5611: removed debug code
2015-02-01 22:13:09 +01:00
Andrew Tridgell
04a9050410
ms5611: allow for all 4 bus combinations in ms5611 driver
...
this uses the same table driven approach as the hmc5883 driver, and
allows for a ms5611 baro on any of the 4 bus combinations. A simple
"ms5611 start" will start all baros that are found.
2015-02-01 13:09:44 +01:00
Lorenz Meier
d851a630d8
Move all drivers to multi pub/sub API
2015-01-29 16:33:53 +01:00
Lorenz Meier
08297db39a
Support for 2nd baro
2015-01-02 12:28:22 +01:00
Lorenz Meier
4c3ebee15b
Hackery on option parsing to make MS5611 comply
2015-01-02 12:28:22 +01:00
Lorenz Meier
a77c9225df
Allow access to both device handles, make external use a special handle
2015-01-02 12:28:21 +01:00
Lorenz Meier
2effc9a23d
MS5611: Allow two instances
2015-01-02 12:28:21 +01:00
Thomas Gubler
1913ae19f1
add param for qnh
2014-08-17 10:45:30 +02:00
Lorenz Meier
e696ed5509
Merged master
2014-07-15 22:07:03 +02:00
Lorenz Meier
67e3a904b6
fix ms5611 code style for usage call
2014-07-12 19:05:13 +02:00
Andrew Tridgell
ab90fe7832
ms5611: added -X option for external SPI bus
2014-07-08 11:44:32 +02:00
Lorenz Meier
becfed9fbd
MS5611: Add support for multi uORB devices
2014-06-10 15:08:47 +02:00
Lorenz Meier
aa312f96f8
drivers: Fix compile warnings and non-standard performance counter names
2014-05-21 14:20:48 +02:00
Kynos
2de01964e2
Reset MS5611 baro sensor after an error
...
Reset MS5611 baro sensor after an error in order to avoid endless error
loops
2014-05-02 22:00:34 +02:00
Lorenz Meier
d199710651
Fixed up init sequence of all sensors - we can publish in interrupt context, but not advertise! All advertisements now contain valid data
2014-01-14 15:40:46 +01:00
Lorenz Meier
e6a67b1deb
Support for publication blocking: MS5611, cleaned up device start
2014-01-12 11:54:55 +01:00
Andrew Tridgell
d6088efd34
ms5611: report P and T in ms5611 info
2014-01-07 09:34:32 +01:00
Lorenz Meier
012adc9e33
Minor fixes to bus reset
2013-12-04 09:25:07 +01:00
Andrew Tridgell
4893509344
drivers: report error_count in drivers where possible
2013-09-12 09:26:49 +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
fdbc09e2a5
avoid counters going above limit in INCREMENT()
...
when using INCREMENT() the counter would temporarily read equal to
limit, which could cause an issue if the task is preempted.
(this macro should be in a common header, though which header?)
2013-08-28 11:16:30 +02:00
Andrew Tridgell
ad732ee3a1
free perf counters in driver destructor
...
this prevents drivers that probe on one bus then instantiate on
another from leaving behind stale/duplicate perf counters
2013-08-28 11:15:43 +02:00
px4dev
d57d12818a
Revert "Disable interrupts during ms5611 SPI transactions to prevent interruption by sensor drivers polling other sensors from interrupt context."
...
This reverts commit 31ded04c80 .
2013-07-24 22:51:27 -07:00
px4dev
31ded04c80
Disable interrupts during ms5611 SPI transactions to prevent interruption by sensor drivers polling other sensors from interrupt context.
2013-07-20 19:09:59 -07:00
px4dev
f6daafba03
Revert "Changed the MS5611 from the workq to hrt_call_every implementation, this seems to solve the SPI chip select overlaps"
...
This reverts commit c93e743374 .
2013-07-20 18:51:46 -07:00
px4dev
cfbdf7c903
Revert "Corrected the interval of the MS5611"
...
This reverts commit 094ff1261a .
2013-07-20 18:51:25 -07:00
Julian Oes
094ff1261a
Corrected the interval of the MS5611
2013-07-19 18:30:01 +02:00
Julian Oes
c93e743374
Changed the MS5611 from the workq to hrt_call_every implementation, this seems to solve the SPI chip select overlaps
2013-07-19 17:47:32 +02:00
Lorenz Meier
ad8fc7e61e
Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup
2013-07-18 13:28:26 +02:00
Lorenz Meier
8d1abf4aa4
Lunchtime HOTFIX: Bring back USB console to operational, allow single-USB connection operation via QGC
2013-07-18 13:16:34 +02:00
px4dev
6cf1208312
Don't build interface drivers we don't have configs for. Make the interface drivers build.
...
Change the way we handle the prom buffer so that we can init the interface before constructing the driver.
2013-07-14 12:42:51 -07:00
px4dev
5350c2be09
Refactor MS5611 driver to use interface nubs for the I2C and SPI versions of the chip. This reduces the amount of duplicated code.
2013-07-14 11:45:21 -07:00
Sam Kelly
b1f3a5c92b
Enabled MS5611 by default on FMUv2.
2013-06-25 14:01:27 -07:00
Lorenz Meier
5974c37abb
Moved the bulk of sensor drivers to the new world
2013-04-27 14:06:23 +02:00