Commit Graph

1497 Commits

Author SHA1 Message Date
Lorenz Meier 4e1905c1d8 FMU: Fix peripheral reset 2015-02-28 14:32:11 +01:00
Lorenz Meier 2cf0aec332 MPU6K: Allow stop 2015-02-28 14:31:39 +01:00
Lorenz Meier dfdf741b13 FMU: Make peripheral rail power controllable 2015-02-28 11:22:19 +01:00
Randy Mackay 90df6c6b58 OreoLED: fix formatting 2015-02-25 15:10:03 +01:00
Randy Mackay 0ac3c80542 OreoLED: driver for attiny88 based LED controller 2015-02-25 15:09:55 +01:00
Stefan 9224738804 update dead link to Ublox Documentation
actualise dead link to Ublox M8 V15-17 Receiver Description Protocol Spec ( new R08 from 4 December 2014)
2015-02-24 20:59:23 +01:00
Andrew Tridgell 9a875c53af px4fmu: added "mode_pwm4" startup mode
this is the default mode ArduPilot uses, and by setting it in the init
script we avoid any pin activity on the two GPIO pins during boot
2015-02-23 19:52:57 +01:00
Andrew Tridgell 41cc04c064 pwm_input: added PWM input driver
this allows for input of PWM signals on the FMUv2 aux5 pins
2015-02-23 19:52:47 +01:00
Andrew Tridgell 322392d853 fmuv2: setup for PWM input on timer4, channel 2 2015-02-23 19:52:38 +01:00
Evan Slatyer 1302650ab6 drivers: added header for pwm_input 2015-02-23 19:52:22 +01:00
Randy Mackay d57dd250b9 batt_smbus: reverse reported current
smart batteries report a negative current when being discharged
2015-02-20 16:57:23 +01:00
Lorenz Meier 95dd7d415f LL40S driver: Signedness of ticks and comment fix. 2015-02-20 09:22:12 +01:00
Andrew Tridgell 9d288a9a9a ll40ls: added reset and backoff logic to driver
this adds automatic resets of the lidar when it becomes unresponsive,
and also tries to cope with NACKs from long acquisition times. It also
adds a "ll40ls regdump" command, and fixes "ll40ls reset" to reset the
sensor.

The default acquisition period is changed to 50ms, with backoff to
100ms on a NACK

Note that there are still times when the sensor can get into an
unrecoverable state.

Thanks to Austin, Dennis and Bob from PulseLight for assistance in
tracking down the problems.
2015-02-20 09:10:24 +01:00
NosDE 3f45f51d7a mkblctrl - rework and bugfix - test ok 2015-02-18 16:55:17 +01:00
NosDE 5fddb89c3e mkblctrl - rework and bugfix 2015-02-18 16:55:05 +01:00
David Sidrane 17615b22a4 Insure that CONFIG_ARCH_BOARD_xxx is defined and to be consistent with Nuttx build place them in defconfig files so that config.h will have ONFIG_ARCH_BOARD_xxx defined 2015-02-17 23:27:34 +01:00
Andrew Tridgell 618d51dab1 hmc5883: fixed build errors with gcc 2.7.4 and -O3 2015-02-16 06:54:05 +01:00
Lorenz Meier f26a1cb3f1 Merge pull request #1794 from PX4/ekf-fixes
EKF Fixes from @Zefz
2015-02-15 22:55:09 +01:00
Lorenz Meier 3f69db2537 PWM output header: Fix PWM output base device path 2015-02-15 21:41:19 +01:00
Lorenz Meier 3ff49778a8 FMU driver: Report class instance registration fail 2015-02-15 21:40:08 +01:00
Ban Siesta 3f3bcfb31f drv_mag: fixed copy paste typo 2015-02-15 19:07:24 +00:00
Lorenz Meier 08aa1ebf17 LSM303D: Update comment why we report as internal always 2015-02-15 19:52:02 +01:00
Lorenz Meier 1e6bec6c77 HMC5883: Always report as internal sensor in SPI mode, since the sensor is fixed to the autopilot assembly. 2015-02-15 19:52:02 +01:00
Lorenz Meier 93997acdd2 px4io driver: Clean up log / warn style 2015-02-15 19:52:02 +01:00
Lorenz Meier 8071186e37 RGB led driver: More retries on boot 2015-02-15 19:52:01 +01:00
Lorenz Meier ccac7cbd78 PX4IO driver: better feedback 2015-02-15 19:52:01 +01:00
Lorenz Meier c26b4e123f Fix up GPS command line option usage 2015-02-15 19:40:42 +01:00
Ban Siesta 1d19166d18 fmu: some arguments were missing in the usage/help 2015-02-15 16:27:57 +01:00
Lorenz Meier 1b8f5de134 GPS / ashtech: Use double for time where NMEA uses floating point numbers 2015-02-15 10:17:01 +01:00
Lorenz Meier a74c7c8009 LSM303D: Return argument in right format 2015-02-15 10:17:01 +01:00
Lorenz Meier 56bc843011 L3GD20: Return argument in correct format 2015-02-15 10:17:01 +01:00
Lorenz Meier 3bb0008af5 Ashtech driver: Avoid unnecessary double precision conversion calls 2015-02-15 10:17:00 +01:00
Andrew Tridgell 1b8a830a38 i2c: prevent double free of _dev pointer
this caused heap corruption
2015-02-14 11:16:02 +01:00
Johan Jansen b1b078103a GPS: Remove GPS disable debug code 2015-02-13 14:29:59 +01:00
Lorenz Meier f0ad98c92c RGB led: Code style and comment on bus speed 2015-02-13 09:13:23 +01:00
Lorenz Meier 113b0ab51b px4flow: Drop default conversion interval to 10Hz to avoid flooding tthe bus. 2015-02-13 09:13:20 +01:00
Lorenz Meier f9d3cfc493 SPI: Log device clock on startup 2015-02-13 09:13:20 +01:00
Lorenz Meier c0d246e8e4 CDEV::I2C: Enforce one speed per bus 2015-02-13 09:12:38 +01:00
Johan Jansen a8c298c772 AttPosEKF: Remove unused gps accel estimation 2015-02-12 13:55:03 +01:00
Johan Jansen 0cbfa65056 AttPosEKF: Refactor and code cleanup 2015-02-11 17:57:33 +01:00
parallels 7ca2553da2 trone: added support for WHOAMI register 2015-02-11 12:51:10 +01:00
Grant Morphett 215e8e2466 hmc5883: Fix for Issue1858 detection of MAG on Int/Ext I2C Bus. 2015-02-11 12:49:56 +01:00
Andrew Tridgell 0801dbda38 l3gd20: checking status only makes sense if we have DRDY
it makes no sense on the external SPI bus
2015-02-11 12:48:59 +01:00
Andrew Tridgell e0ac0c4a4b l3gd20: fixed "l3gd20 test"
don't reset after test, and leave us in correct polling mode
2015-02-11 12:48:52 +01:00
Johan Jansen c7d0cb6bd7 lsm303d: Fix memory initialization and error_count not set 2015-02-10 17:46:56 +01:00
Lorenz Meier 97ec21675c HMC driver: Return value handling 2015-02-09 22:56:24 +01:00
Lorenz Meier a27395a15d MS5611: Move to 0 based indices 2015-02-09 22:56:24 +01:00
Lorenz Meier 1eb4ec6ec9 MPU6K: Move to 0 based indices 2015-02-09 22:56:24 +01:00
Lorenz Meier 5a2692cf3a MB12xx: move to 0 based index 2015-02-09 22:56:24 +01:00
Lorenz Meier bd6945ba70 TeraRange One: move to 0 based index 2015-02-09 22:56:23 +01:00