Commit Graph
1571 Commits
Author SHA1 Message Date
nopeppermint 52fca5b7a1 correct comments 2015-05-13 22:24:32 +02:00
Simon Wilks ea8ba79481 Read the current flight termination circuit breaker value, not just updated values. 2015-05-07 08:27:41 +02:00
Andrew Tridgell db8dd000e3 l3gd20: follow same pattern as lsm303d for duplicate rejection 2015-05-07 15:16:34 +10:00
Andrew Tridgell a710159263 mpu6000: sample at 200usec faster rate to avoid aliasing
this runs the mpu6000 200usec faster than requested then detects and
disccards duplicates by comparing accel values. This avoids a nasty
aliasing issue due to clock drift between the stm32 and mpu6000
2015-05-07 15:16:32 +10:00
Andrew Tridgell 3ac95fb581 lsm303d: run sampling 200usec faster to avoid aliasing
this runs the sampling of the accelerometer 200usec faster than
requested and then throw away duplicates using the accelerometer
status register data ready bit. This avoids aliasing due to drift in
the stm32 clock compared to the lsm303d clock
2015-05-07 15:16:29 +10:00
Andreas Antener cd4154d805 Revert "Merge pull request #1819 from PX4/chan16" because of #2113
This reverts commit f8c8876642, reversing
changes made to de3888bed7.
2015-05-05 14:41:53 +02:00
Lorenz Meier e09f5d2871 IO driver: Ensure comms protocol cannot get into integer overflow on bad control outputs. Fixes #2119. 2015-05-04 14:59:07 +02:00
Lorenz Meier 980d9bcf3e IO driver: Code style 2015-05-04 14:55:19 +02:00
Andreas Antener 86cd484b82 convert -PI to PI attitude range to -1 to 1 for gimbal output 2015-05-04 13:10:58 +02:00
Roman Bapst c3111ecadf added option for esc calibration 2015-04-28 15:15:46 +02:00
Lorenz Meier d326106980 RGB led: Let user know we just did not find one 2015-04-27 09:07:53 +02:00
Lorenz Meier ebaac07ab2 PX4 flow driver: Let user know we just did not find one 2015-04-27 09:07:53 +02:00
Lorenz Meier 3835b7a6ec HMC5883: Let user know we just did not find one 2015-04-27 09:07:53 +02:00
Lorenz Meier 3c76006541 Board drivers: Only print if init fails 2015-04-27 09:07:52 +02:00
Lorenz Meier 346798b129 blinkm: Let user know that we just did not find one and this is not an error 2015-04-27 09:07:52 +02:00
Lorenz Meier 09ae879b82 RC input: Replace magic numbers with better numbers, cap output to 0-100 2015-04-21 17:46:21 +02:00
Andreas Antener 9c282cf6d6 added parameters to specify range and channel, caping result 2015-04-21 07:01:58 +02:00
Andreas Antener 92bdf74423 overwrite rc in rssi with value from pwm input, parameters hardcoded 2015-04-21 07:01:44 +02:00
Johan Jansen c5a178a777 Commander: Play startup tune if preflight checks are good, play alarm otherwise 2015-04-20 09:14:12 +02:00
Daniel Agar 2e824bbeea fix incorrect argc < 1 check for no arguments
-requiring arguments should be argc < 2
2015-04-18 12:02:58 +02:00
Lorenz Meier 3ee9b441c6 Add STM32F4 discovery config. 2015-04-16 22:51:08 +02:00
Simon Wilks 8fd6b3da21 Store the port so the in use port will be referenced when reopening. 2015-04-13 11:37:49 +02:00
Lorenz Meier ac6ffd36d9 Merge pull request #2008 from PX4/mixer_limit_publication
fixed publication of mixer limit flags
2015-04-12 23:37:45 +02:00
Lorenz Meier e659bbb777 Merge pull request #1992 from Zefz/gps-improvements
UBlox GNSS driver improvements
2015-04-11 00:58:57 +02:00
Roman Bapst 555e96a37a fixed publication of mixer limit flags 2015-04-10 20:26:38 +02:00
Johan Jansen 051b7b853e UBlox: Check valid time bit for NAV_TIMEUTC messages (used for Ublox 6 and earlier) 2015-04-10 09:56:05 +02:00
Randy Mackay 04863dc2d1 batt_smbus: add ioctl to return batt capacity
Also use full charge capacity instead of design capacity so that an old
battery's capacity will appear as lower than its original capacity but
it will still report 100% charged after charging
2015-04-10 14:17:25 +09:00
Andrew Tridgell 219d661888 hmc5883: read the temperature every 10 samples when enabled 2015-04-08 17:45:54 +02:00
Andrew Tridgell 02639411ba hmc5883: added -T option to enable temperature compensation
this also fixes the behaviour of the -C option
2015-04-08 17:45:54 +02:00
Andrew Tridgell e17936e237 hmc5883: try to cope with genuine 5883 parts
if we can't read the temperature registers 10 times then disable the
feature.
2015-04-08 17:45:54 +02:00
Andrew Tridgell 156a7915ae hmc5883: added support for temperature compensation
added "hmc5883 tempon" and "hmc5883 tempoff" to enable/disable
2015-04-08 17:45:53 +02:00
Andrew Tridgell dea97dd277 drv_mag: added ioctl to control temperature compensation 2015-04-08 17:45:53 +02:00
Lorenz Meier f8c8876642 Merge pull request #1819 from PX4/chan16
Support 16 channels on IO via S.BUS
2015-04-07 19:04:19 +02:00
Johan Jansen 891a7af509 UBlox: Only use time and date if flags are valid 2015-04-07 17:15:33 +02:00
Johan Jansen a121f6101f UBlox: Only use fix and velocity if flags are valid 2015-04-07 17:15:17 +02:00
Daniel Agar 8aae66b893 trivial code style cleanup round 2 2015-03-27 23:38:58 -04:00
Lorenz Meier 0b26671d62 Mag drivers: Temp support 2015-03-25 22:58:00 -07:00
Lorenz Meier 953cef9a9e HMC5883: Temp dummy value 2015-03-25 22:57:47 -07:00
Lorenz Meier b3c45e7178 LSM303D: Temp support 2015-03-25 22:57:32 -07:00
Lorenz Meier cb8e32f833 MPU6K: Temp support 2015-03-25 22:57:18 -07:00
Jonathan Challinger 89d5ae69d3 mpu6000: add set_accel_range 2015-03-25 22:02:05 -07:00
Lorenz Meier 1bbfe571fa Merge branch 'pullrequest-imu-temperature' of git://github.com/tridge/Firmware 2015-03-25 21:53:03 -07:00
philipoe 20f6fbd864 PX4IO driver: Add mapping of AUX1-3 channels, in case these are also used as control surface inputs 2015-03-24 12:50:48 +01:00
Lorenz Meier ecec2d76d9 Allow a bit more flexibility of PWM range 2015-03-20 21:57:54 +01:00
Lorenz Meier bb525d68a1 Merge pull request #1934 from rmackay9/smbus-batt-currdis
batt_smbus: calculate current discharged
2015-03-19 23:52:20 +01:00
Daniel Agar c2abb0f82a fix code style if trivial one line difference 2015-03-19 23:49:36 +01:00
Randy Mackay 4e83f43ea3 batt_smbus: remove usleep
Also restore I2C address after performing command line search for
devices
2015-03-19 12:09:40 +09:00
Randy Mackay 23075f6dab batt_smbus: calculate current discharged 2015-03-19 12:09:31 +09:00
Lorenz Meier 0cecb45d4e Merge pull request #1914 from UAVenture/gimbal_configuration
Gimbal MAVLink configuration and control support
2015-03-17 12:16:09 +01:00
Andrew Tridgell 9442fc13e4 mpu6000: show temperature in "mpu6000 info" 2015-03-17 13:44:53 +11:00