1368 Commits

Author SHA1 Message Date
Thomas Gubler
96db9e8188 Merge remote-tracking branch 'upstream/master' into ros
Conflicts:
	src/platforms/px4_middleware.h
2015-01-15 12:42:28 +01:00
Lorenz Meier
6203c73ccc Perf counter fixes 2015-01-11 11:03:56 +01:00
Lorenz Meier
1bee73af22 Latency measurements: Estimate latency based on sensor timestamp through full system 2015-01-11 11:03:56 +01:00
Lorenz Meier
4712c75dea IO driver: Log the total system latency up to the IO transfer 2015-01-11 11:03:55 +01:00
Lorenz Meier
2bff39d562 MPU6K driver: Start performance counters for system latency, as its commonly the main sensor 2015-01-11 11:03:55 +01:00
Andrew Tridgell
54a22aed94 hmc5883: fixed handling of 3 bus options
use a table of possible bus options. This prevents us starting two
drivers on the same bus
2015-01-09 19:42:27 +11:00
Thomas Gubler
fb151a855f Merge remote-tracking branch 'upstream/master' into ros 2015-01-08 17:08:30 +01:00
Lorenz Meier
aa2a00b56a Merge branch 'MixerNaming' of github.com:anton-matosov/Firmware 2015-01-08 12:45:43 +01:00
Thomas Gubler
fe279d340d Merge remote-tracking branch 'upstream/master' into dev_ros
Conflicts:
	Makefile
2015-01-07 16:00:59 +01:00
Lorenz Meier
648cb78268 FMU driver: Show up as secondary interface to allow mixer loads. 2015-01-06 19:51:04 +01:00
Lorenz Meier
78cde98ea8 GPS driver: Add missing wall clock setup for MTK GPS modules 2015-01-06 18:22:44 +01:00
Thomas Gubler
16b9f666e7 Merge remote-tracking branch 'upstream/master' into dev_ros
Conflicts:
	src/lib/mathlib/math/Matrix.hpp
	src/modules/mc_att_control/mc_att_control_main.cpp
	src/modules/uORB/topics/vehicle_status.h
	src/platforms/px4_includes.h
2015-01-05 10:02:07 +01:00
Lorenz Meier
1cc92c0361 GPS driver: Require valid minimum time to allow setting the wall clock. Protection against nulled time fields 2015-01-04 16:24:43 +01:00
Lorenz Meier
06aa3fceee Hott driver: Feedback cleanup 2015-01-04 12:05:59 +01:00
Lorenz Meier
eefad6217d GPS driver feedback cleanup 2015-01-04 12:05:40 +01:00
Ban Siesta
25fc9d791a renaming of gps time to UTC time 2015-01-04 10:43:28 +00:00
Ban Siesta
4cc7f599d1 ashtech: whitespace 2015-01-04 10:40:39 +00:00
Lorenz Meier
3c99becada SMBus battery driver: Remove console print on normal block read operation 2015-01-04 11:04:55 +01:00
Lorenz Meier
1106e0bff3 SMBus battery driver: further code style fixes 2015-01-04 11:02:53 +01:00
Lorenz Meier
17e4e283d8 SMBus battery driver: Stylize according to style guide 2015-01-04 10:58:45 +01:00
Lorenz Meier
f48abafbc9 GPS driver: Set RTC from Ashtech receivers as well 2015-01-04 10:45:20 +01:00
Lorenz Meier
50a00bee8e GPS driver: UBX time handling for all protocol revisions 2015-01-04 10:45:20 +01:00
Lorenz Meier
c1f89dbd5c GPS driver: Check return value of settime and notify shell if call fails 2015-01-04 00:08:04 +01:00
Lorenz Meier
48a8ea7f19 GPS driver: Fixed implicit cast causing time logic errors. Found by @Zefz 2015-01-04 00:07:42 +01:00
Lorenz Meier
2a95b4a9b8 GPS: Update the RTC even when RTC is enabled 2015-01-03 19:05:42 +01:00
Lorenz Meier
dc7ee4247f HMC5883 startup: Ensure sensor configuration is always performed 2015-01-03 17:54:49 +01:00
Lorenz Meier
f99c29c50c Dev info: Reflect address changes 2015-01-03 17:54:49 +01:00
Lorenz Meier
268cf7efc5 HMC5883: Fix I2C operation 2015-01-03 17:54:48 +01:00
Lorenz Meier
dd165100fb Support for HMC5983, which can also be attached via SPI 2015-01-03 17:54:48 +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
bf134e6979 Allow to get access to dev name 2015-01-02 12:28:21 +01:00
Lorenz Meier
2effc9a23d MS5611: Allow two instances 2015-01-02 12:28:21 +01:00
Andrew Tridgell
500ac1443b lsm303d: detect large fixed values and report an error
we have logs where the lsm303d gets large fixed values for long
periods. This will detect that error case and raise error_count so the
higher level sensor integration code can choose another sensor
2015-01-02 16:47:48 +11:00
Andrew Tridgell
7b6620b319 ll40ls: fixed exit code on external sensor startup failure 2015-01-01 13:06:46 +01:00
Andrew Tridgell
8470105f9e lsm303d: fixed build warning 2015-01-01 10:04:09 +11:00
Andrew Tridgell
7864958f1c l3gd20: fixed build warning 2015-01-01 10:04:07 +11:00
Andrew Tridgell
82b9e08e4c mpu6000: removed unsafe printf in interrupt context
instead delay 3ms between register writes. This seems to give a quite
high probability of correctly resetting the sensor, and does still
reliably detect the sensor going bad, which is the most important
thing in this code
2015-01-01 08:51:57 +11:00
Andrew Tridgell
b5f6fedfa8 lsm303d: show all perf counters in "info" 2015-01-01 08:51:54 +11:00
Andrew Tridgell
083d9e3e69 lsm303d: check DRDY after check_registers()
this allows recovery from a state where DRDY is not set
2015-01-01 08:51:52 +11:00
Andrew Tridgell
1de7fab974 lsm303d: removed unsafe printf in interrupt context 2015-01-01 08:51:49 +11:00
Andrew Tridgell
e4318345f3 lsm303d: added two more checked registers
these are key for DRDY behaviour
2015-01-01 08:51:47 +11:00
Andrew Tridgell
2ac3a6fcf4 l3m303d: added testerror command
useful for testing error handling
2015-01-01 08:51:44 +11:00
Andrew Tridgell
5c1da70d0c l3gd20: fixed reporting of error count 2015-01-01 08:51:42 +11:00
Andrew Tridgell
1bb3974c84 l3gd20: check DRDY after check_registers() is called
this allows us to recover from an error that disables data ready
2015-01-01 08:51:40 +11:00
Andrew Tridgell
8db2066151 l3gd20: removed printf in interrupt context
this is not safe
2015-01-01 08:51:37 +11:00
Andrew Tridgell
353ea9beac l3gd20: added testerror command
useful for testing error handling
2015-01-01 08:51:34 +11:00
Andrew Tridgell
a8cea3a4da l3gd20: use the I2C disable bit on l3gd20H
this seems to prevent a mpu6000 reset from causing an issue on the
l3gd20H
2014-12-30 20:55:57 +01:00
Andrew Tridgell
b455d647b2 l3gd20: added "l3gd20 regdump" command 2014-12-30 20:55:57 +01:00