Commit Graph

3611 Commits

Author SHA1 Message Date
Lorenz Meier 3ec536a876 Improved GPS update rate calculation 2013-05-09 17:13:38 +02:00
Lorenz Meier 5886e93a33 Merge branch 'gps_vel' of github.com:PX4/Firmware 2013-05-09 16:09:33 +02:00
Lorenz Meier 614bbb1510 Merged ETS airspeed driver 2013-05-09 15:58:23 +02:00
Lorenz Meier 3152dae3dc Merged with master 2013-05-09 15:52:36 +02:00
Lorenz Meier b944962a73 Merge branch 'export-build' of github.com:PX4/Firmware into export-build 2013-05-09 15:45:45 +02:00
Lorenz Meier 83ce24072f Merge pull request #263 from sjwilks/quad_wide
Quad wide arm mixer
2013-05-09 06:44:27 -07:00
Lorenz Meier 47517a5112 Merge pull request #258 from jgoppert/md25
MD25 Motor Controller Driver
2013-05-09 06:43:55 -07:00
Lorenz Meier ccd3de2f90 Merge pull request #265 from jgoppert/hil-press-fix
Hil press fix
2013-05-09 06:42:39 -07:00
Lorenz Meier 296a19072d Enabled leds on FMU again 2013-05-09 15:39:54 +02:00
px4dev 1caffca358 whitespace 2013-05-08 22:50:18 -07:00
Anton Babushkin 09e60893df gpio_led app added 2013-05-09 09:38:21 +04:00
Lorenz Meier 79bd1ed7f1 Merge pull request #266 from jgoppert/vel_adjust
Velocity based gain adjustment based on dynamic presssure
2013-05-08 11:02:21 -07:00
James Goppert 06e390b5e9 Added MD25 I2C motor controller driver. 2013-05-08 13:51:59 -04:00
James Goppert 3ed9343006 HIL pressure fix. 2013-05-08 13:51:34 -04:00
James Goppert 100bcefc17 Added velocity adjustment to stabilization. 2013-05-08 13:49:56 -04:00
Lorenz Meier 44df8db984 Merge branch 'master' of github.com:PX4/Firmware into export-build 2013-05-06 23:50:23 +02:00
Lorenz Meier eac9e10a83 Moved calibration 2013-05-06 23:50:14 +02:00
Lorenz Meier 078ae23cfa Merge pull request #264 from DrTon/fmu_pwm_fix
Update servo arm only on real change.
2013-05-06 13:12:53 -07:00
Anton Babushkin f3e6e4bb50 Update servo arm only on real change. 2013-05-06 22:59:45 +04:00
Simon Wilks 6388608b72 Merged with master. 2013-05-06 19:06:38 +02:00
Lorenz Meier 012a0bbc0d Merge pull request #262 from DrTon/accel_calibration_fix
Accelerometer calibration bugfix
2013-05-06 07:57:43 -07:00
Anton Babushkin 41ec41cf8c Accelerometer calibration bugfix 2013-05-06 18:21:56 +04:00
Lorenz Meier 4a44e10411 Merge branch 'export-build' of github.com:PX4/Firmware into export-build 2013-05-06 07:55:12 +02:00
Lorenz Meier 4611fca7b4 Merge branch 'master' of github.com:PX4/Firmware into export-build 2013-05-06 07:54:55 +02:00
Lorenz Meier 1733fce3df Merge pull request #256 from rk3dov/6point_accel_calibration
6point accel calibration
2013-05-05 22:54:34 -07:00
px4dev 3b65281f00 Remove EXTRAFLAGS compatibility hack. 2013-05-05 17:19:23 -07:00
px4dev 1ca535b941 Fix whitespace damage, update help text to indicate the -m option is for debug use only. 2013-05-05 16:52:26 -07:00
px4dev 3bf26ac51f Obsolete bogus EXTRAFLAGS, add language-specific flags overrides. 2013-05-05 16:48:05 -07:00
Lorenz Meier 27a25b5e17 Improved update rate for velocity estimate, not yet where we want it to be 2013-05-05 18:50:23 +02:00
Anton Babushkin 1f800edc76 Still threshold increased to 0.1m/s^2, and orientation error threshold to 5m/s^2. Timeout increased to 30s. 2013-05-05 15:51:16 +04:00
Lorenz Meier 3466006735 GPS velocity update rate validation for u-blox, WIP 2013-05-05 12:57:21 +02:00
Lorenz Meier bb94847511 Allowed parsing of floating point params from scripts 2013-05-05 11:43:29 +02:00
Lorenz Meier 13110e0a1f ROMFS wide quad mixer addition and cleanup 2013-05-05 11:35:56 +02:00
Lorenz Meier 8c6abe717d Moved BLCTRL driver to new world 2013-05-05 11:24:31 +02:00
Lorenz Meier 2de7a7e587 Merged master 2013-05-05 01:54:16 +02:00
Lorenz Meier 890a6e5b49 Merge pull request #261 from NosDE/master
mkblctrl: some small fixes
2013-05-04 12:35:09 -07:00
marco 1c4fc6cfb0 Help Parameter added and some small fixes. This Version was flown several Hours without any Problems. 2013-05-04 20:37:22 +02:00
Lorenz Meier f9c0ff0f20 Merge branch 'master' of github.com:PX4/Firmware 2013-05-04 11:49:17 +02:00
Andrew Tridgell 5b75519925 px4io: handle errors from adc_measure()
don't update the voltage/current values on error
2013-05-04 19:18:58 +10:00
Andrew Tridgell d7e04a3619 px4io: fixed voltage/current output and add discharged_mah calculation
this integrates the current over time to calculate discharged_mah, and
allows the scaling of the current and the bias to be set with the
px4io command
2013-05-04 19:18:55 +10:00
Andrew Tridgell af27101ffe px4io: changed adc_measure() to return 0xffff on error, and lower timeout
the timeout of 1ms was far too long, and could impact flight
performance

Returning 0xffff on error matches the FMU code, and allows bad values
to be discarded
2013-05-04 19:18:51 +10:00
Andrew Tridgell 44015d6915 px4io: return raw ADC value for current
we don't know how to scale it as we have no info on what sensor is
attached. As we are returning a uint16_t it is better to let the FMU
sort it out or we'll just lose precision.
2013-05-04 19:18:47 +10:00
Andrew Tridgell 5b3844621c stdio: fixed build error for stdio on px4io 2013-05-04 19:18:39 +10:00
Andrew Tridgell 953acbe650 libvsprintf: fixed handling of "%f" to print precision 6 2013-05-04 19:18:35 +10:00
Andrew Tridgell a153ee529f libdtoa: don't print trailing zeros if no decimal is printed 2013-05-04 19:18:29 +10:00
Andrew Tridgell ff7712ca3e pwm: added -m option
this allows setting of the channel mask directly, which is useful for
testing
2013-05-04 19:18:20 +10:00
Andrew Tridgell fc572906b7 px4io: ensure upload device is closed after use
this should release it for PWM use
2013-05-04 19:18:11 +10:00
Andrew Tridgell 421253e6db px4io: allow set of output rates above 400 and below 50
let the IO board decide if the rate is reasonable, and limit it there

this fixes the rates on ArduCopter, which try for 490
2013-05-04 19:17:54 +10:00
Andrew Tridgell b06098a540 libdtoa: fixed handling of NaN and Infinity
otherwise we print thousands of 00000 characters
2013-05-04 19:17:15 +10:00
Andrew Tridgell a627f6c0eb otgfsdev: removed a DEBUGASSERT() that causes a crash on windows reconnect
when windows reconnects to a ACM device, this assert sometimes
triggered. The case it is looking for is handled further down.
2013-05-04 19:16:13 +10:00