Commit Graph

3089 Commits

Author SHA1 Message Date
px4dev 3d9901dfaf If we have seen control input from FMU, update the FMU_OK status flag. 2013-02-24 15:31:40 -08:00
px4dev dc74eeb421 Report the control values from the FMU in the status output. Count them separately from the actuators. 2013-02-24 15:31:01 -08:00
px4dev f35c5d600a Don't mask out the enable bit when accepting R/C input config updates. 2013-02-24 14:32:04 -08:00
Lorenz Meier b922870fd3 Merge branch 'px4io-i2c-memory-squeeze' of github.com:PX4/Firmware into px4io-i2c-memory-squeeze 2013-02-24 23:31:06 +01:00
px4dev 93f6edfe64 Fix reporting of R/C input config 2013-02-24 14:30:56 -08:00
px4dev 776cf6093c && -> & 2013-02-24 14:06:28 -08:00
Lorenz Meier 1d0431e850 Merge branch 'px4io-i2c-memory-squeeze' of github.com:PX4/Firmware into px4io-i2c-memory-squeeze 2013-02-24 23:05:08 +01:00
px4dev e818bcbfc2 Fix a wrong register read for the mapped channel mask 2013-02-24 13:58:52 -08:00
Lorenz Meier 6dd1cfd622 Merge branch 'master' of github.com:PX4/Firmware into px4io-i2c-memory-squeeze 2013-02-24 22:58:46 +01:00
px4dev 858460c863 Extended PX4IO status dump 2013-02-24 13:40:46 -08:00
Thomas Gubler c0a852dab4 airspeed (pitot) offset calibration 2013-02-24 21:57:38 +01:00
Lorenz Meier 72603207a1 Fixed formatting of status printing 2013-02-24 21:12:25 +01:00
px4dev 3d53b1d551 Fix it here, too. 2013-02-24 11:50:57 -08:00
px4dev ccbd5a6372 No, really fix it this time. 2013-02-24 11:48:52 -08:00
px4dev 186d329722 Fix search-and-replace error. 2013-02-24 11:47:56 -08:00
px4dev 8c7c6b201c Merge branch 'px4io-i2c-memory-squeeze' of https://github.com/PX4/Firmware into px4io-i2c-memory-squeeze 2013-02-24 11:43:09 -08:00
px4dev f245d6b1a7 Use hrt_elapsed_time() in cases where we can't be sure the timestamp won't change under us. 2013-02-24 11:42:34 -08:00
px4dev 923a7cc505 Add an interrupt-safe way of comparing a timestamp with the current time.
Add an interrupt-safe way of storing the current time into a timestamp.
2013-02-24 11:41:26 -08:00
Lorenz Meier 35369471db working on better status reporting, removed unneeded fake PWM generation from FMU 2013-02-24 20:24:21 +01:00
Lorenz Meier bde6204b33 Merge branch 'px4io-i2c-memory-squeeze' of github.com:PX4/Firmware into px4io-i2c-memory-squeeze 2013-02-24 20:14:17 +01:00
Lorenz Meier 8740349545 Removed 1 Hz output 2013-02-24 20:13:45 +01:00
px4dev a11a71ec9c Hotfix: discard NUL characters in readline, rather than faking EOF on the console. 2013-02-24 11:00:16 -08:00
px4dev 641bfd88b6 Hotfix: discard NUL characters in readline, rather than faking EOF on the console. 2013-02-24 10:54:22 -08:00
Thomas Gubler 2707d2c1dd more fixes for the airspeed readout 2013-02-24 16:01:08 +01:00
px4dev 2e321f273c Don't try to print the idle stack usage (we need to fix it up before the code can be adapted to measure it). 2013-02-24 00:17:19 -08:00
px4dev 8c7e2546ed Simplify the PX4IO main loop to cut down on memory consumption. 2013-02-24 00:09:37 -08:00
px4dev 4ed7e92689 Kill off a couple of files that should never have been checked in. 2013-02-23 22:20:30 -08:00
Lorenz Meier 5aa5645fb0 Disabled MAVLink debug app 2013-02-23 12:02:58 +01:00
Lorenz Meier 0561fab4e3 Merge branch 'master' of github.com:PX4/Firmware into px4io-i2c 2013-02-23 12:02:13 +01:00
Lorenz Meier a704acc2a2 Out of memory warning, flash and RAM optimizations 2013-02-23 12:02:00 +01:00
px4dev 8e66268c35 Hotfix: Add support for 9-channel Spektrum/DSM setups.
Tested by Felipe Reis <felipereis87@gmail.com>
2013-02-22 19:13:04 -08:00
Thomas Gubler 2c2c65d446 corrected some wrong units (used in airspeed calculation) 2013-02-22 22:53:38 +01:00
Simon Wilks a69b09d2bf Merge remote-tracking branch 'upstream/master' into px4io-i2c 2013-02-21 22:04:29 +01:00
Lorenz Meier c3aad047a5 Merge pull request #203 from PX4/debug_example
Added additional debug / uORB example
2013-02-20 22:47:36 -08:00
Lorenz Meier be40845177 Switched to debug statement which is more efficient regarding stack usage, only printing at debug level 2 or higher. 2013-02-20 12:19:03 +01:00
Lorenz Meier 16b0fa7fd4 Merge branch 'master' of github.com:PX4/Firmware into px4io-i2c 2013-02-20 09:47:14 +01:00
Lorenz Meier 4cde275466 Switched I2C to interrupt driven mode 2013-02-20 09:47:08 +01:00
Lorenz Meier 69d9265bc3 Adjusted stack size for commander app 2013-02-20 09:44:15 +01:00
Andrew Tridgell e896944adc ms5611: try to measure the performance cost of I2C timeouts 2013-02-19 14:45:45 +11:00
Andrew Tridgell 4a15eef602 px4io: fixed signals for lower latency PWM output
poll() is not interrupted by signals, whereas usleep() is
2013-02-19 12:31:51 +11:00
Lorenz Meier 663ca58063 Merge branch 'master' of github.com:PX4/Firmware 2013-02-18 16:46:05 +01:00
Lorenz Meier 104d5aa365 More sensible error handling in calibration 2013-02-18 16:45:59 +01:00
Andrew Tridgell 3c6d6f0ef1 px4fmu: disable a bunch of code when built for APM
this leaves us enough flash to fit APM
2013-02-18 14:17:06 +11:00
Andrew Tridgell a68300941f px4fmu: enable BINFS
needed for APM startup
2013-02-18 14:16:29 +11:00
Andrew Tridgell 317515fb6a px4io: added INAIR_RESTART enable/disable flags
the autopilot code needs to know that in-air restart may happen, so it
should be something that is enabled, rather than on by default.
2013-02-18 14:16:09 +11:00
Andrew Tridgell 1670b8afe1 nshlib: added cmp command to nsh
this is useful for startup scripts testing for auto-upgrade of add-on 
board firmware
2013-02-18 10:19:38 +11:00
Andrew Tridgell 9b7ee0c91b appconfig: disable mathlib and associated examples on APM
these are far too large (777 kbyte) and we can't fit them with the
ArduCopter flight code
2013-02-18 08:41:28 +11:00
Andrew Tridgell b53d34a3f0 px4fmu: add support for write() interface for PWM output
this matches the PX4IO interface
2013-02-18 08:32:49 +11:00
Andrew Tridgell d6c108d870 px4fmu: added publication of input_rc ORB values
this allows for PPM input with no IO board
2013-02-18 08:32:25 +11:00
Andrew Tridgell 9f15f38e57 Merged, removed unneeded line 2013-02-17 18:29:18 +01:00