Commit Graph

513 Commits

Author SHA1 Message Date
Andrew Tridgell 7c9d92a5d6 lsm303d: added I2C disable based on method from ST engineering support 2013-12-10 12:00:02 +01:00
Andrew Tridgell 9a169d8ef4 l3gd20: added I2C disable based on method from ST engineering support 2013-12-10 11:59:54 +01:00
Andrew Tridgell 44b2543d2d FMUv2: set MPU6000 CS as initially de-selected 2013-12-10 11:59:48 +01:00
Andrew Tridgell 3ce14497a1 FMUv2: added define for MPU DRDY pin 2013-12-10 11:59:29 +01:00
Andrew Tridgell b927974a97 FMUv2: added support for MPU6000 on v2.4 board 2013-12-10 11:59:23 +01:00
Andrew Tridgell fe4b95f9d5 lsm303d: zero-fill register reads 2013-12-10 11:59:13 +01:00
Andrew Tridgell ea33a19c8f lsm303d: show regs at both high and low bus speed on error 2013-12-10 11:59:06 +01:00
Andrew Tridgell 4ce4b8a174 lsm303d: always log first ARB and REG values 2013-12-10 11:59:00 +01:00
Andrew Tridgell 5ef91d694b lsm303d: log mag regs too 2013-12-10 11:58:53 +01:00
Andrew Tridgell 671447ce2c lsm303d: fixed TEMP_H register define 2013-12-10 11:58:45 +01:00
Andrew Tridgell cdaafff6e4 lsm303d: added detailed logging of accels on extremes
this will log accel values and registers to /fs/microsd/lsm303d.log if
any extreme values are seen
2013-12-10 11:58:39 +01:00
Andrew Tridgell 97af3d2204 mpu6000: change bus speed based on registers being accessed
this ensures we follow the datasheet requirement of 1MHz for general
registers and up to 20MHz for sensor and int status registers
2013-12-10 11:58:21 +01:00
Andrew Tridgell 8df4d636ab SPI: added set_frequency() API
this allows the bus speed to be changed on the fly by device
drivers. This is needed for the MPU6000
2013-12-10 11:58:15 +01:00
Andrew Tridgell 415417196b lsm303d: print more registers in "lsm303d regdump" 2013-12-10 11:58:08 +01:00
Andrew Tridgell af049f7cf8 lsm303d: define some more register addresses 2013-12-10 11:58:01 +01:00
Andrew Tridgell 93f3398dfe lsm303d: added 'lsm303d regdump' command
useful for diagnosing issues
2013-12-10 11:57:54 +01:00
Anton Babushkin 39634d1001 px4io driver: bug fixed 2013-11-16 15:54:24 +01:00
Thomas Gubler ae9fae5aae fix MEAS airspeed and airspeed calibration 2013-11-10 19:25:38 +01:00
Lorenz Meier c63995e91c Hotfix: Be more aggressive about SPI2 init on v1 boards 2013-11-08 14:22:27 +01:00
Julian Oes 25bf1abecf pwm_output: Allow PWM values from 900us to 2100us but use a default of 1000us to 2000us 2013-10-31 10:29:06 +01:00
Lorenz Meier 9820ed9de3 Actually allow full range in FMU driver 2013-10-31 08:23:32 +01:00
Lorenz Meier 0eabacd251 Merge branch 'pwm_ioctls' of github.com:PX4/Firmware into pwm_ioctls 2013-10-30 22:35:09 +01:00
Lorenz Meier 727342a516 Teached the FMU driver that stopping is also an option 2013-10-30 22:34:51 +01:00
Lorenz Meier dc80d6745e Merge branch 'master' of github.com:PX4/Firmware into pwm_ioctls 2013-10-30 09:15:55 +01:00
Lorenz Meier 0fa03e65ab Cleanup of Doxygen tags 2013-10-28 15:21:50 +01:00
Andrew Tridgell 52ee477137 lsm303d: try to reset the lsm303d if it goes bad in flight
this is based on earlier work by Julian Oes
2013-10-28 13:10:52 +01:00
Andrew Tridgell 75a0c18a9e px4io: FMU half of px4io error fixes 2013-10-28 13:10:38 +01:00
Lorenz Meier fa1c5dd343 Merge branch 'master' of github.com:PX4/Firmware 2013-10-24 09:26:13 +02:00
Lorenz Meier 2cd9ad97ea Removed unnecessary return statements 2013-10-24 09:26:03 +02:00
Lorenz Meier 17ddc7f471 Merge pull request #483 from PX4/calib_rotation
Calibration of rotated board
2013-10-23 03:32:20 -07:00
James Goppert c4a1a338ff Changed driver to control motor duty cycle. 2013-10-22 05:43:27 -04:00
James Goppert 108d723a49 Removed old timing hack. 2013-10-22 05:10:26 -04:00
James Goppert 174c86321c Roboclaw encoders/ dutycycledrive complete. 2013-10-22 05:04:13 -04:00
James Goppert ce68f93867 Debugging roboclaw comm. 2013-10-21 23:40:36 -04:00
James Goppert 7f0ced968e Working on roboclaw driver. 2013-10-21 21:28:26 -04:00
Anton Babushkin ea89f23c91 calibration: bugs fixed, mavlink messages cleanup 2013-10-21 20:07:47 +02:00
Andrew Tridgell 14e2464fab rgbled: don't try the same bus twice
on PX4v1 the external I2C bus is the same as the LED bus
2013-10-19 11:42:46 +02:00
Andrew Tridgell e3fe443720 rgbled: fixed getopt() handling
this allows the -a option to be used, for example
  rgbled -a 0x55 start
2013-10-19 11:42:33 +02:00
Andrew Tridgell dbb49c035b rgbled: fixed detection of device on PX4v1
There is a serial EEPROM on the PX4IOv1 board that answers on I2C
address 0x55. We need some extra I2C transfers to ensure we are
talking to a real RGBLED device.
2013-10-19 11:42:19 +02:00
Julian Oes 70ec68ffd0 Merge remote-tracking branch 'px4/master' into pwm_ioctls
Conflicts:
	src/drivers/px4io/px4io.cpp
2013-10-19 11:39:31 +02:00
Julian Oes 1d3f25ee6c pwm systemcmd can now set the failsafe values, fmu uses failsafe values as well now, fix to only send the appropriate number of pwm values to IO at once 2013-10-19 10:43:41 +02:00
Lorenz Meier fbe595a591 Fixed some stupid compile errors 2013-10-14 23:10:12 +02:00
Lorenz Meier c6b58491bb Work queue in RGB driver without work_cancel() 2013-10-14 22:18:44 +02:00
Lorenz Meier 1d2e6d1b2d Merged 2013-10-13 12:28:10 +02:00
Lorenz Meier c8f471c560 Merge branch 'master' into px4io_fix 2013-10-13 12:25:46 +02:00
Lorenz Meier 90127b2d2a Merge pull request #460 from jean-m-cyr/master
Add support for 8 channel DSMX sattelite pairing
2013-10-13 03:03:12 -07:00
Lorenz Meier 4984ab4418 Comment fix 2013-10-12 20:14:47 +02:00
Jean Cyr f1c399a60b Add support for 8 channel DSMX sattelite pairing 2013-10-12 01:14:03 -04:00
Julian Oes 5d36971689 Base max actuators on board revision 2013-10-11 16:59:21 +02:00
Anton Babushkin e770f84858 Merge branch 'master' into px4io_fix 2013-10-11 16:22:08 +02:00