Commit Graph

3583 Commits

Author SHA1 Message Date
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 e67022f874 Serial interface for IOv2 2013-04-28 18:14:46 -07:00
px4dev 8f7200e011 Frame up the configuration for the serial interface on IOv2 2013-04-28 13:51:33 -07:00
px4dev 2423c54e0e Build the right config for IOv2 2013-04-28 13:45:21 -07:00
px4dev 301b600b0a Fix board name defines in v2 config. 2013-04-28 13:22:36 -07:00
px4dev c6b7eb1224 Remove obsoleted file. 2013-04-28 13:00:49 -07:00
px4dev 8d3a738b70 Remove some trash files. 2013-04-28 13:00:32 -07:00
px4dev ada85fccf3 Merge branch 'fmuv2_bringup' into fmuv2_bringup_io2 2013-04-28 12:50:43 -07:00
px4dev 03eb16f874 Remove some naked command invocations. 2013-04-28 12:49:08 -07:00
px4dev edf96fc808 Remove some naked command invocations. 2013-04-28 12:47:34 -07:00
px4dev 00daa29b1f Kill old iov2 board support code 2013-04-28 12:37:33 -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
Lorenz Meier e6b287fbfc Merge branch 'public-export-build' into fmuv2_bringup_io2 2013-04-28 15:26:05 +02:00
Anton Babushkin 29057cb3bd Merge branch 'master' into 6point_accel_calibration 2013-04-28 17:01:44 +04:00
Lorenz Meier dc2c3cad3e Re-enabled mixer 2013-04-28 14:59:42 +02:00