Commit Graph

1561 Commits

Author SHA1 Message Date
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
Andrew Tridgell 374c50cab8 lsm303d: support temperature readings in lsm303d
these are read at the same rate as the mag
2015-03-17 13:44:51 +11:00
Andreas Antener 6a7f12496e fix errors and flag comparison 2015-03-16 10:28:42 +01:00
Lorenz Meier ea5293b6fe PX4IO driver: Support 16 output channels 2015-03-15 17:39:43 +01:00
Lorenz Meier 92a52ea195 MPU6000 driver: Rotate before applying offsets. 2015-03-15 17:26:11 +01:00
Lorenz Meier 3436f08976 LSM303D driver: Rotate before applying offsets. 2015-03-15 17:25:55 +01:00
Lorenz Meier f36f43db6f L3GD20(H): driver: Rotate before applying offsets. 2015-03-15 17:25:35 +01:00
Lorenz Meier 7e9984b1d2 HMC5883 driver: Rotate before applying offsets. 2015-03-15 17:25:19 +01:00
Andreas Antener 76aed9e58d - implemented configuration with mount config cmd
- remember recieved mount control values
2015-03-13 19:00:16 +01:00
Anton Matosov f8e471d95c Implemented Quaternion position for Gimbal (not tested) 2015-03-06 18:57:38 -08:00
Anton Matosov 7bf6c3bae8 Increased update rate to get rid of glitches in servo movements 2015-03-06 18:57:38 -08:00