Commit Graph

5404 Commits

Author SHA1 Message Date
Lorenz Meier 0c116e8de5 Implemented S.Bus 2 decoding support 2014-01-23 22:10:03 +01:00
Andrew Tridgell 4524fe3e48 px4fmu: added PWM_SERVO_SET_COUNT API
this allows the balance between PWM channels and GPIOs to be changed
after the main flight code has started, which makes it possible to
change the balance with a parameter in APM
2014-01-23 21:41:07 +01:00
Andrew Tridgell dda50c62bf hmc5883: much faster calibration code with bug fixes
this fixes two bugs in "hmc5883 calibrate" and also makes it much
faster, so it can be run on every boot. It now uses the correct 2.5Ga
range when calibrating, and fixes the expected values for X/Y/Z axes

The basic calibration approach is similar to the APM2 driver, waiting
for 10 good samples after discarding some initial samples. That allows
the calibration to run fast enough that it can be done on every boot
without causing too much boot delay.
2014-01-23 21:40:29 +01:00
Lorenz Meier 1afe7f2c50 Added tune on IO upgrade error 2014-01-23 18:39:32 +01:00
Lorenz Meier 046a71226b Merge pull request #598 from PX4/rssi
RSSI and concurrent S.Bus output handling
2014-01-23 09:13:53 -08:00
Lorenz Meier 6a40acdbdc Fixed PPM warning to be only printed with PPM inputs enabled 2014-01-23 09:58:22 +01:00
Lorenz Meier 9e72e72644 Make SBUS switching conditional to be friendly to IO v1 2014-01-23 09:29:59 +01:00
Lorenz Meier c74660fec5 Merge branch 'rssi' of github.com:PX4/Firmware into rssi 2014-01-23 09:18:01 +01:00
Lorenz Meier 2aa76f1a3c Fixes to memory check handling, split out switch handling to allow separate initialization 2014-01-23 09:17:46 +01:00
Lorenz Meier d77a15e94f Last small fixes to IO driver to support updates with and without switch pressed and with and without px4io start call before the forceupdate call 2014-01-23 09:16:40 +01:00
px4dev 0994412cca Fix the initialisation and operation of the PX4IO ADC - now RSSI and VSERVO voltages should be read correctly. 2014-01-22 23:52:06 -08:00
px4dev 1ac8501d95 Clear the screen more properly. 2014-01-22 23:52:06 -08:00
Lorenz Meier 8833f81b48 Do not make PX4IO start mandatory for forceupdate 2014-01-23 08:45:29 +01:00
Lorenz Meier a0db455334 Cleanup wording in rcS 2014-01-23 08:43:55 +01:00
Lorenz Meier c3e4e4ee68 Build fix, replaced usleep with up_udelay in memory lockdown state 2014-01-23 08:26:53 +01:00
Lorenz Meier f504863fee Make startup less chatty 2014-01-23 08:25:56 +01:00
Lorenz Meier 8c8e9a4ff9 Enable the PX4IO self check and debug interfaces. No reason to disable them, since they are runtime-configured (and needed, for the case of memory) 2014-01-23 08:25:37 +01:00
Lorenz Meier cdbbc631f3 Merge branch 'master' into rssi 2014-01-23 08:17:11 +01:00
Lorenz Meier ac37172b52 Hotfix: Prevent failures in boot handling due to missing microSD card logfile - we are not depending on the microSD any more completely 2014-01-23 08:17:04 +01:00
Lorenz Meier ba19a1ba15 Merge branch 'master' of github.com:PX4/Firmware into rssi 2014-01-23 07:49:18 +01:00
Lorenz Meier 6c23e2f159 Added Doxygen main page 2014-01-22 17:20:55 +01:00
Lorenz Meier a794ee6c04 Hotfix for CMSIS exclude 2014-01-22 17:07:25 +01:00
Lorenz Meier 5bc61c3c57 S.BUS output disable cleanup 2014-01-22 08:30:48 +01:00
Lorenz Meier c58b68d377 Merge pull request #584 from PX4/autostart_cleanup
Autostart cleanup
2014-01-20 04:20:04 -08:00
Lorenz Meier f8c5a6cc50 Merged master into logging 2014-01-20 13:19:49 +01:00
Lorenz Meier 13822b35e7 Merge pull request #600 from PX4/sdlog2_timestamp
sdlog2: time in file names
2014-01-20 04:16:14 -08:00
Lorenz Meier 1e6d83fc9e Hotfix for IO battery voltage 2014-01-20 13:10:37 +01:00
Anton Babushkin 47c226988c sdlog2: code style fixed 2014-01-19 22:56:57 +01:00
Anton Babushkin 5e3c365cd4 rc: use sdlog2 -t option
sdlog2: move all logs and conv.zip to "log" dir, messages cleanup
2014-01-19 22:56:24 +01:00
Anton Babushkin 40a0ac5736 sdlog2: use GPS time for naming log dirs and files, some fixes 2014-01-19 20:59:15 +01:00
Thomas Gubler d96e63960c enable new autostart scripts for Rascal HIL and X5 2014-01-19 12:42:43 +01:00
Anton Babushkin a9e288dfdd rc: bug fixed 2014-01-18 20:08:08 +01:00
Anton Babushkin bb8cf0894f autostart: HIL and bad PX4IO fixes 2014-01-18 16:47:23 +01:00
Lorenz Meier d174998b45 RSSI and concurrent S.Bus output handling 2014-01-18 12:00:17 +01:00
Lorenz Meier dd9df7b1b0 RSSI field init 2014-01-18 01:12:38 +01:00
Lorenz Meier 4d7e99fd6c Writing RSSI field not only in servo rail topic 2014-01-18 01:09:58 +01:00
Anton Babushkin 5db68264c7 rcS: HIL fixed 2014-01-18 00:07:25 +01:00
Anton Babushkin c94eb3198a rcS: use mtd on FMUv1 too 2014-01-17 23:15:23 +01:00
Lorenz Meier 0f30db08c0 Small documentation correction 2014-01-17 15:44:03 +01:00
Lorenz Meier e691bab71a Cleaned up test output to be more readable 2014-01-16 22:46:55 +01:00
Lorenz Meier 71b11d54e0 Configuring PX4IOv2 led pins 2014-01-16 20:13:35 +01:00
Lorenz Meier 2600c96e92 Configuring PX4IOv1 led pins 2014-01-16 20:13:17 +01:00
Lorenz Meier a0bb6674da Fix FMUs B/E led pin config 2014-01-16 19:03:14 +01:00
Lorenz Meier c304ea2507 Teached MTD test how to write back 0xFF after destructive test 2014-01-16 08:37:50 +01:00
Andrew Tridgell e5ad3c31e0 mtd: added "mtd readtest" and "mtd rwtest"
this allows for verification of MTD operation on startup
2014-01-16 07:58:45 +01:00
Andrew Tridgell ff59aa9a0f mtd: use new MTDIOC_SETSPEED ioctl
set SPI speed to 10MHz
2014-01-16 07:57:32 +01:00
Lorenz Meier 352dea6754 Remove outdated configs, clean up pwm limit compilation 2014-01-15 20:04:11 +01:00
Lorenz Meier 84ad289e0a Improved test suite, now features a MTD device test 2014-01-15 17:20:36 +01:00
Andrew Tridgell 778cbcb5cc mtd: fixed creation and erase of a single partition 2014-01-15 09:33:58 +01:00
Lorenz Meier f3cd83e804 Merged master into mixer unit tests branch 2014-01-15 07:43:17 +01:00