Commit Graph

3450 Commits

Author SHA1 Message Date
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
Andrew Tridgell d0122dccfc hmc5883: fixed use of onboard I2C compass 2013-05-04 18:44:37 +10:00
Andrew Tridgell aa9275c29c build: allow additional flags to be passed via EXTRAFLAGS
this allows for flags needed for the APM build
2013-05-04 11:44:38 +10:00
Andrew Tridgell 6e8c1148d5 build: allow absolute paths for module sources 2013-05-04 11:44:38 +10:00
Lorenz Meier b9b75a2404 Hotfix: Provide a FMU + IO on quad start script 2013-05-02 22:35:16 +02:00
Simon Wilks 1dbbdcfa48 Add the missing mixer file. 2013-05-02 08:41:02 +02:00
Simon Wilks d9da4352d5 Makefile correction. 2013-05-02 07:13:07 +02:00
Simon Wilks ddf1b27697 Added a config for quads with a wide arm config. 2013-05-02 07:10:23 +02:00
Simon Wilks 5ebd78345c Add some GPS data to telemetry message. 2013-05-01 21:30:11 +02:00
Simon Wilks a2adff9663 Merge remote-tracking branch 'upstream/master' into hott_v2 2013-05-01 19:49:28 +02:00
Lorenz Meier bfc6183fd4 Merge pull request #255 from NosDE/master
Mikrokopter BLCtrl driver mkblctrl
2013-04-29 12:29:00 -07:00
marco ee4a93d668 BLCtrl 2.0 testing - currently only 8 Bit resolution - motor detection and px4 mode as default - with safety shutdown - fix 2013-04-29 20:42:06 +02:00
marco 130c7a3530 BLCtrl 2.0 testing - currently only 8 Bit resolution - motor detection and px4 mode as default - with safety shutdown 2013-04-29 19:56:50 +02:00
marco ca5dcc11a7 BLCtrl 2.0 testing - currently only 8 Bit resolution - motor detection and px4 mode as default 2013-04-29 18:32:30 +02:00
px4dev 8d3a738b70 Remove some trash files. 2013-04-28 13:00:32 -07:00
px4dev edf96fc808 Remove some naked command invocations. 2013-04-28 12:47:34 -07:00
Lorenz Meier 525cc1a37c Added docs 2013-04-28 18:21:06 +02:00
Anton Babushkin 4109874fc8 Reset offsets/scales before calibration and use prescaled values in m/s^2 instead of raw values. 2013-04-28 18:04:54 +04:00