Commit Graph

1398 Commits

Author SHA1 Message Date
Thomas Gubler 0e1832452f drv_accel: introduce default samplerate 2015-02-03 18:13:00 +01:00
Andrew Tridgell 52bff67076 ms5611: removed debug code 2015-02-01 22:13:09 +01:00
Lorenz Meier 99a4724ef1 IO driver: Fix naming of safety command line argument 2015-02-01 13:14:30 +01:00
Jonathan Challinger f7d875d58d px4io: add safety_arm and safety_disarm commands
This will be used to make updating firmware on boot for vehicles with
no safety switch possible without power cycling. The startup script
needs to be able to force safety on to allow the reboot to work.
2015-02-01 13:12:21 +01:00
Andrew Tridgell 2f25469bbe px4fmu-v1: removed baro I2C address in board_config.h
the ms5611 can be on two addresses. The driver handles this, not the
board config
2015-02-01 13:09:55 +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
hauptmech 0b784c20c8 Save and check device id for acc and gyro calibration parameters.
Fix config utility to work with all devices of each type.
Accel, gyro and mag devices correctly set their device_id devtype.
Combo devices (mpu6000 lsm303d) now correctly return their devtype.
config util shows device id for all sensor types.
Add, save during calibration and check during preflight ID parameters for accelerometer and gyro
2015-01-31 15:53:34 +01:00
Lorenz Meier aadbcb42a9 ARDrone driver: Move to topic groups 2015-01-29 16:33:54 +01:00
Lorenz Meier 8d37d58da7 HIL: Move to topic groups 2015-01-29 16:33:54 +01:00
Lorenz Meier d9d9a59ce4 MKBL: Move to topic groups 2015-01-29 16:33:54 +01:00
Lorenz Meier 51088026c7 IO driver: move to topic groups 2015-01-29 16:33:54 +01:00
Lorenz Meier 678d5c24fb FMU driver: Move to topic groups 2015-01-29 16:33:54 +01:00
Lorenz Meier d851a630d8 Move all drivers to multi pub/sub API 2015-01-29 16:33:53 +01:00
Lorenz Meier 114465aba4 Move LSM303D mag to new multi-pub interface 2015-01-29 16:33:52 +01:00
Lorenz Meier f30b02272b Move HMC5883 to new interface 2015-01-29 16:33:52 +01:00
Lorenz Meier 8de411619a Initial stab at supporting multiple publications on the same base name and auto-enumeration of additional publications. 2015-01-29 16:33:52 +01:00
Lorenz Meier 52f3fe1d9a Added more docs to offset as suggested by @velocoderaptor, thanks! 2015-01-26 20:23:42 +01:00
Lorenz Meier b8fade7dcf MPU6K: Improve gyro self test to allow more realistic deviations from nominal state 2015-01-26 20:04:56 +01:00
Johan Jansen 9c627255cc MPU6000: Increase gyro offset tolerance to 7 dps 2015-01-26 19:59:16 +01:00
James Goppert cbf4a5af16 Simplified i2c handling for flow. 2015-01-24 14:25:58 -05:00
Lorenz Meier b14e849fc4 Sonar: Set min/max distance properly, add usleep for detection 2015-01-23 16:33:24 +01:00
Jon Verbeke a23c39eec4 Sonar driver by jverbeke 2015-01-23 16:13:55 +01:00
Lorenz Meier 193a210b51 Multi sonar support by jverbeke 2015-01-23 14:51:49 +01:00
Daniel Agar 9f32a85409 Fixed coverity CID #12530 2015-01-22 15:02:43 +01:00
Randy Mackay d80a00fad1 batt_smbus: disable if no batt 10seconds after startup 2015-01-21 22:23:17 +01:00
David Sidrane 2a00948c7a Added prefix to Match Message also 2015-01-21 10:19:24 -10:00
David Sidrane e037b7ae9b Added delay to ensure the the px4io is in loop waiting for a characterit
loop.
2015-01-21 10:02:22 -10:00
David Sidrane 0943bd9a31 Added Prefix to message to identify it as PX4IO related 2015-01-21 09:54:49 -10:00
Lorenz Meier 9aa7daa86c PX4IO: Adjust stack size based on real usage of 900 bytes 2015-01-21 09:22:46 +01:00
Lorenz Meier 12ce2de7ae IO driver: Fix resource corner case (not a real leak) 2015-01-21 08:58:47 +01:00
Lorenz Meier 6300338d2a FMU driver: Fix resource leak for test routine. 2015-01-21 08:58:47 +01:00
Lorenz Meier ebacd9b5ad GPS fixes from coverity 2015-01-21 08:58:47 +01:00
Lorenz Meier 81082c4119 Fix CID 12453 2015-01-20 14:21:03 +01:00
Lorenz Meier 603b43b6d8 Fix CID 12574 & 12553 2015-01-20 14:16:48 +01:00
Lorenz Meier c04f870564 Fix CID 12427 & 12438 2015-01-20 14:14:23 +01:00
Lorenz Meier f1a53f5152 Fixing CID 12528 2015-01-20 14:12:25 +01:00
Lorenz Meier fc9c67f5be Fix CID 12439 2015-01-20 14:07:59 +01:00
Lorenz Meier 764f499405 Fix CID 12470 2015-01-20 14:06:12 +01:00
Lorenz Meier f3dcde3993 Merge pull request #1671 from PX4/ekf_fix
Critical coverity fixes.
2015-01-20 12:24:42 +01:00
Andrew Tridgell 9b10395e94 hmc5883: fixed DEVIOCGDEVICEID ioctl
we need to pass the ioctl through to the bus interface

thanks to Jon Challinger for noticing this bug
2015-01-20 15:08:22 +11:00
Andrew Tridgell 0af6303d0b hmc5883: fixed mixup of internal and external hmc5883 I2C bus options 2015-01-20 14:30:46 +11:00
Lorenz Meier 5aa75c8f00 Fixed coverity CID #12543 2015-01-19 13:52:39 +01:00
Lorenz Meier 6324513b91 MS5611: Comment-only fix 2015-01-17 18:48:41 +01:00
hauptmech e18e5ca5b5 Add SENS_MAG_ID parameter
Record devid to SENS_MAG_ID during mag calibration
Verify devid matches SENS_MAG_ID during preflight_check
2015-01-17 18:41:43 +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
Lorenz Meier aa2a00b56a Merge branch 'MixerNaming' of github.com:anton-matosov/Firmware 2015-01-08 12:45:43 +01:00