Commit Graph

1678 Commits

Author SHA1 Message Date
Julian Oes a79ad17f09 Changed parse interface, differentiation between config needed and position updated, working but might be solved more elegant 2013-02-05 23:16:32 -08:00
Lorenz Meier fbbeef7e29 Update on every position change, do not wait for other measurements 2013-02-05 18:54:06 +01:00
Andrew Tridgell 804f0e4219 px4io: make uploader more reliable
avoid seeks, lower verify recv size and removed cruft
2013-02-05 18:30:31 +01:00
Lorenz Meier 167ec25c4f Fixed altitude jump issue, hunted down and fix by Andrew Tridgell. 2013-02-05 18:28:41 +01:00
Lorenz Meier a196e73842 Fixed arm ok flag typo 2013-02-05 18:11:59 +01:00
Lorenz Meier 368ba0056f Added option to select port name, minor tweaks to status printing, sacrificied 20 bytes for better status / user debuggability 2013-02-05 13:47:31 +01:00
Julian Oes 53c11f87cb Small corrections 2013-02-04 17:57:30 -08:00
Julian Oes 039d394c20 Merged with newer, cleaned up code, fixed the checksum error 2013-02-04 16:27:01 -08:00
Lorenz Meier cb0fd834ae Minor polishing, fixed rate and last measurement indication 2013-02-04 18:14:55 +01:00
Lorenz Meier d4bd7225ba More cleanup 2013-02-04 18:00:10 +01:00
Lorenz Meier 13ec067570 Minor quick cleanups 2013-02-04 17:55:58 +01:00
Lorenz Meier 30f028908a Fixed typo 2013-02-04 16:15:48 +01:00
Lorenz Meier 12f4cb2dc3 Tuned GPS update rates 2013-02-04 16:13:17 +01:00
Lorenz Meier 3fd8c73bfb Disabled old-style gps interface, enabled GPS driver 2013-02-04 15:58:53 +01:00
Lorenz Meier 50b736333f Reduced, but functional u-blox series driver 2013-02-04 15:57:12 +01:00
Lorenz Meier 0a7daf3cfd Merge branch 'master' of github.com:PX4/Firmware into px4io-i2c 2013-02-03 20:55:00 +01:00
px4dev 3e5cd26777 Merge pull request #194 from NosDE/master
Options for Bus and BlinkM address added
2013-02-02 09:23:25 -08:00
Marco Bauer 167cc4a197 Option for Bus and BlinkM address added 2013-02-02 17:36:43 +01:00
patacongo 85417c1a51 Prep for 6.25 release
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5594 42af7a65-404d-4744-a932-0658087f49c3
2013-02-01 22:37:52 +00:00
Lorenz Meier 7ccc57f3c0 Fixed test outputs, decoupled tests from NuttX low-level output via message() macro 2013-02-01 13:02:20 +01:00
Marco Bauer 10361d997a Options for bus and blinkmaddress added. 2013-02-01 11:42:45 +01:00
patacongo 966e801032 Misc clean; mark assertions as non-returning; allow toolchain prefix to be overriden from make command line
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5591 42af7a65-404d-4744-a932-0658087f49c3
2013-01-31 23:29:34 +00:00
patacongo 9de6f4d501 Fix readline return value; Add support for removable serial devices
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5589 42af7a65-404d-4744-a932-0658087f49c3
2013-01-31 16:52:20 +00:00
Lorenz Meier e137d00424 HOTFIX: Fixed HoTT compile error, fixed MAVLink crash 2013-01-31 17:31:58 +01:00
Julian Oes c19870d565 Merge remote-tracking branch 'upstream/master' into attitude_filter_improvement 2013-01-30 10:36:05 -08:00
patacongo 7f22c14077 Add support for a login script (in addition to the init script); Add logic so that a USB console session can connect and reconnect to the USB serial device
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5582 42af7a65-404d-4744-a932-0658087f49c3
2013-01-29 22:11:04 +00:00
patacongo 6ebd56f299 The USB monitor now works with configs/stm32f4discovery/usbnsh
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5581 42af7a65-404d-4744-a932-0658087f49c3
2013-01-29 18:32:04 +00:00
patacongo fb94bc1258 The USB monitor now works with the stm32f4discover/nsh configuration (but not with the usbnsh configuration)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5580 42af7a65-404d-4744-a932-0658087f49c3
2013-01-29 17:42:58 +00:00
patacongo 2946cb47a8 USB monitor daemon updates
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5579 42af7a65-404d-4744-a932-0658087f49c3
2013-01-29 13:30:10 +00:00
px4dev 9197df46dd Merge branch 'master' into px4io-i2c 2013-01-28 21:58:55 -08:00
patacongo 79ccfa4ae6 Add syslog.h; rename lib_rawprintf() to syslog()
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5578 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 21:55:16 +00:00
patacongo 433dae7422 Beginning of apps/system/usbmonitor (incomplete); more LM4F changes from JP
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5577 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 18:45:09 +00:00
patacongo d3e4a31ac5 configs/stm32f4discovery/nsh converted to use kconfig-frontends
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5573 42af7a65-404d-4744-a932-0658087f49c3
2013-01-27 20:05:29 +00:00
patacongo e96d8f046b Add a start hook that can be setup to call a function in the context of a new thread before the new threads main() has been called.
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5571 42af7a65-404d-4744-a932-0658087f49c3
2013-01-27 15:52:58 +00:00
Lorenz Meier 815f643819 Merge pull request #67 from sjwilks/hott
Implementation of the Graupner HoTT telemetry protocol
2013-01-27 03:43:19 -08:00
px4dev 338f769202 Merge branch 'master' into px4io-i2c 2013-01-26 21:17:39 -08:00
px4dev 43ead720a7 Now that we're mostly done with I2C, the old serial interface can be cleaned out. 2013-01-26 21:17:10 -08:00
px4dev 636e0cc56a It looks like retrying reads from the ms5611 is not safe either. 2013-01-26 20:23:19 -08:00
px4dev 6d0363faff Disarm IO at driver startup time. 2013-01-26 19:43:23 -08:00
px4dev 981477c785 Re-order register page variables to match the order registers are defined in the protocol header. 2013-01-26 19:24:18 -08:00
px4dev 666d3a401b Rename ::start to ::start_cycle to avoid confusion with the other start function.
Only enable I2C retries on operations that have no side-effects.
2013-01-26 18:55:26 -08:00
px4dev 621063ac08 Increase the number of I2C retries. 2013-01-26 17:10:04 -08:00
px4dev 33c12d13ad Defer I2C bus resets for the first couple of retries to avoid transient slave errors causing massive retry spam. 2013-01-26 17:07:58 -08:00
px4dev 7864176b5a A couple of logic fixes from Tridge. 2013-01-26 16:37:35 -08:00
Andrew Tridgell c0a46c4b93 px4io: fixed logical vs bitwise typo 2013-01-26 16:20:34 -08:00
Andrew Tridgell 5ee52138c4 px4io: ensure RC_OK status flag is set on good input 2013-01-26 16:20:02 -08:00
px4dev 52ff9b7d43 Use multi-part transactions rather than separate transfers to avoid racing between the ioctl and thread-side interfaces. 2013-01-26 16:16:19 -08:00
px4dev fd28217e59 Implement the retry counter for message-vector based transfers. 2013-01-26 16:15:23 -08:00
px4dev 6bd662cfb2 In the case of a repeated start, we won't get a STOPF/AF status, but we still need to complete the old transaction before handling ADDR. 2013-01-26 16:11:31 -08:00
px4dev e0f83af96f Reset the collection state machine on all I2C errors, increase the retry count. 2013-01-26 15:13:30 -08:00
px4dev 2a18d6466c Add a bus saturation test for px4io. 2013-01-26 14:36:31 -08:00
px4dev 6ba4cd04fe Handle the completion of an in-progress transaction (STOPF/AF bits) before accepting the start of a new transaction (ADDR). 2013-01-26 14:26:02 -08:00
px4dev 11796e27f2 Simplify and tidy the handling of page buffer selection on the readout path. 2013-01-26 14:25:22 -08:00
px4dev 4ab490bd50 Only update the servo output values when we are armed. 2013-01-26 13:16:24 -08:00
px4dev 4ea8a64b39 Correct the length calculation for register write transfers so that we send all of the requested registers. 2013-01-26 13:15:57 -08:00
px4dev 72fcc8aad3 Tidy up the write path. 2013-01-26 13:15:27 -08:00
px4dev 899fbcc7cf Fix cut and paste so that we send direct PWM and read back servo values from the right pages. 2013-01-26 13:14:52 -08:00
px4dev 3a8bbe837e Allow readback of the direct PWM outputs (this mirrors the PWM servo outputs) 2013-01-26 13:14:15 -08:00
px4dev 984e68d76e Add an ioctl for fetching the number of PWM outputs 2013-01-26 12:27:42 -08:00
px4dev b20c050402 Fix two protocol-related typos; get the right status flag name for raw PWM; read back the correct page for PWM output. 2013-01-26 12:27:03 -08:00
px4dev 328af90c9e Merge pull request #179 from PX4/airspeed
Implemented airspeed measurement.
2013-01-26 11:10:11 -08:00
px4dev 4732f1e758 Merge pull request #188 from PX4/param_command
Improved param command, show now allows to filter and set allows to set int params
2013-01-26 11:09:06 -08:00
px4dev f854e2f791 Fixes from/inspired by Tridge; enable all mapped R/C inputs, fix various logic errors, be more selective about clearing the RC input type flags for debugging purposes. 2013-01-26 00:02:45 -08:00
px4dev 5fe376c7b9 Correctness fixes from Tridge.; increased the minimum poll rate to 50Hz, don't set the input RC timestamp unless we get data. 2013-01-26 00:01:25 -08:00
px4dev b46d05835b Implement settable failsafe values for PWM outputs.
By default in failsafe mode, PWM output pulses are not generated.
2013-01-25 22:58:33 -08:00
px4dev 900b0d58ef Less debug output. 2013-01-25 21:59:31 -08:00
px4dev 6c75c5909e Move the DMA start to immediately after setting it up; less latency at interrupt time, and no chance of getting start/stop calls out of sync. 2013-01-25 21:58:55 -08:00
px4dev 818e898a7e Fix the handling of max transfer size to leave room for the page/offset bytes. 2013-01-25 21:54:04 -08:00
px4dev 1b30cd2f93 Dump a couple of unused member variables. 2013-01-25 21:40:18 -08:00
Andrew Tridgell 8972843b14 px4io: fixed mixer load 2013-01-25 21:37:48 -08:00
Andrew Tridgell f8bea6d07b px4io: fixed cpp error 2013-01-25 21:36:19 -08:00
Andrew Tridgell 57d028fddd px4io: fixed array reference bug 2013-01-25 21:35:58 -08:00
px4dev 82f72b96de Move DMA start for tx/rx into the gap where SCL is still stretched so that there is no risk of receiving the first byte before DMA starts. 2013-01-25 21:35:32 -08:00
px4dev 24f6c6b121 Merge branch 'master' into px4io-i2c 2013-01-25 19:29:29 -08:00
Lorenz Meier 81601ad9dc Fixed byte readout order and signed value 16 to 14 bit value conversion 2013-01-26 01:04:58 +01:00
Simon Wilks 0246842c88 Enable single wire via ioctl calls and pull the battery voltage from the battery status topic. 2013-01-25 01:41:11 +01:00
patacongo b6472b58dc Fix some compilation errors when child status disabled; new waitpid logic not encoding/decoding status properly
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5561 42af7a65-404d-4744-a932-0658087f49c3
2013-01-25 00:01:08 +00:00
patacongo a2ec48846f Fix some missing logic and inconsistencies in child status logic; Fix a bug introduced into sigaction()
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5560 42af7a65-404d-4744-a932-0658087f49c3
2013-01-24 23:18:32 +00:00
Simon Wilks 23f0be6b02 Merge branch 'ioctl' into hott 2013-01-24 23:57:54 +01:00
Simon Wilks 0669d2aee0 Merge remote-tracking branch 'upstream/master' into hott 2013-01-24 23:27:27 +01:00
Simon Wilks b9009390d7 Merged and tested against the single wire implementation added to Nuttx r5554. 2013-01-24 23:26:12 +01:00
Lorenz Meier 4baa1821cb Merge branch 'master' of github.com:PX4/Firmware into airspeed 2013-01-24 21:41:50 +01:00
patacongo 888306f728 Add psock_poll(); Fix some warnings reported by Lorenz Meier; lm4f logic from JP
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5557 42af7a65-404d-4744-a932-0658087f49c3
2013-01-24 18:39:53 +00:00
patacongo f914a90556 apps/examples/nettest and poll: Complete Kconfig files
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5556 42af7a65-404d-4744-a932-0658087f49c3
2013-01-24 16:28:15 +00:00
Lorenz Meier f21d406cbe Added additional example 2013-01-24 16:53:31 +01:00
Lorenz Meier 6d12f147b8 Improved param command, show now allows to filter and set allows to set integer params (e.g. param set MAV_TYPE 2) 2013-01-24 15:43:12 +01:00
px4dev 35febbe844 Merge Nuttx r5554 2013-01-23 23:56:24 -08:00
px4dev 942cea157d Merge pull request #182 from NosDE/master
BlnkM: Timing changed and amber color for manual mode added
2013-01-23 23:15:19 -08:00
px4dev 0bc836ae1d Implement fetching raw RC input values via the ioctl interface. 2013-01-23 22:19:33 -08:00
px4dev dce2afde0f Rework the way that we handle the address phase for reads. Drop the _connected test as we talk to IO before starting the thread. 2013-01-23 20:18:18 -08:00
px4dev dc88dd0abb Merge branch 'master' into px4io-i2c 2013-01-23 18:58:19 -08:00
px4dev d8a013f872 Tinkering. 2013-01-23 18:57:16 -08:00
px4dev b34311915a Safeguard against back-to-back transactions while setting up to handle a register read request. 2013-01-23 18:56:58 -08:00
px4dev 3244bb83ea Better sanity checking and error handling. 2013-01-23 18:56:03 -08:00
px4dev 1ce1d4460b Merge pull request #183 from PX4/nuttx-merge-5527
Nuttx merge 5527
2013-01-23 18:46:12 -08:00
Andrew Tridgell 6e751d26e8 perf: added 'perf reset' command
resets all perf counters
2013-01-24 10:26:02 +11:00
Andrew Tridgell f4da4bb8ca perf_counter: added perf_reset() and perf_reset_all() calls
useful for watching counters after system reaches stable flight
2013-01-24 10:26:02 +11:00
patacongo 63f8c0a954 Add option to used keyboard CODEC in apps/examples/keypadtest
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5554 42af7a65-404d-4744-a932-0658087f49c3
2013-01-23 23:11:13 +00:00
Lorenz Meier e6bc395291 Merge branch 'master' of github.com:PX4/Firmware into attitude_filter_improvement 2013-01-23 18:24:19 +01:00
Lorenz Meier 0e01f2b6fb Removed unused files 2013-01-23 18:23:55 +01:00
Marco Bauer efd4250e84 timing changed and amber for manual added 2013-01-23 15:38:38 +01:00
Marco Bauer deb5fe5187 timing changed and amber for manual added 2013-01-23 15:29:24 +01:00
px4dev b66b234acd Merge branch 'master' into px4io-i2c 2013-01-22 19:56:14 -08:00
Simon Wilks 8ba3fbd0a3 Merged 2013-01-22 22:16:41 +01:00
Julian Oes f14c90c222 Some timeout needed to be raised for now to make ubx with baudrate 9600 working 2013-01-21 17:42:08 -08:00
Lorenz Meier 2ebb1812f1 Implemented airspeed measurement. Untested 2013-01-21 23:45:16 +01:00
Simon Wilks ecd01dc2e8 We aren't using RS485 but single wire. 2013-01-21 23:31:12 +01:00
Lorenz Meier ac215185a9 Better attitude filter, not sensitive to sudden accelerations 2013-01-21 17:30:53 +01:00
patacongo 70cab4d797 Centralize TCP loss-of-connection bit twiddling
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5542 42af7a65-404d-4744-a932-0658087f49c3
2013-01-20 17:21:42 +00:00
px4dev 48e497e406 Fix a leftover from the earlier merges; building should work now. 2013-01-19 18:05:53 -08:00
px4dev 15c85ba2cb Strip some debugging 2013-01-19 18:05:33 -08:00
patacongo 28a0cf4aa0 Yet another repair for the previouis botched recvfrom() fix; Fix telnet driver: It needs to break out of the read loop if 0 (meaning not conneced) of a value < 0 (an error) is encountered.
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5541 42af7a65-404d-4744-a932-0658087f49c3
2013-01-20 00:41:33 +00:00
px4dev 5c34da06bc Merge pull request #151 from NosDE/master
BlinkM Driver with Systemstate
2013-01-19 13:18:57 -08:00
px4dev c1a1207b9a Merge pull request #171 from PX4/fault_detection
Attitude / position estimation and controller improvements
2013-01-19 13:17:28 -08:00
px4dev 7eb7836d2d Merge pull request #169 from PX4/home_position
Home position
2013-01-19 13:16:39 -08:00
px4dev e72d348548 Merge pull request #167 from PX4/log_improvements
Added logging improvements for microSD
2013-01-19 12:52:45 -08:00
px4dev 96df7b7fad Merge pull request #165 from julianoes/feature_ubx_model_configuration
Feature ubx model configuration
2013-01-19 12:52:16 -08:00
px4dev d7632b1794 Drop some commented code now the functionality is implemented. 2013-01-19 12:38:53 -08:00
px4dev 044e1a325a Merge branch 'master' into px4io-i2c 2013-01-19 11:43:03 -08:00
Lorenz Meier 4b9916eded Made threshold a bit nicer, still a magic number 2013-01-19 19:32:44 +01:00
jgoppert effc3001f4 Merge branch 'master' of git://github.com/PX4/Firmware into fault_detection 2013-01-19 13:04:02 -05:00
patacongo 070651221f Add split package logic to improve TCP send performance with delayed ACKs
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5538 42af7a65-404d-4744-a932-0658087f49c3
2013-01-19 16:40:43 +00:00
Lorenz Meier 2542722102 Fixed selective publication update 2013-01-19 17:11:12 +01:00
Lorenz Meier c9c64b3f25 Added missing flag, tested 2013-01-19 17:03:35 +01:00
Lorenz Meier d637842825 Fixed a number of smaller issues with log changes, ready to merge 2013-01-19 16:59:56 +01:00
Lorenz Meier f119d9fbda Added home position concept, uORB struct and MAVLink announcement of home position 2013-01-19 14:46:26 +01:00
Lorenz Meier d463c94ea1 Enable / disable logging while running, enabled black box logging (ringbuffer needed), enabled GPS KML logging (does not yet write outputs) 2013-01-19 12:45:23 +01:00
Lorenz Meier 3128529c3b Added logging improvements for microSD 2013-01-19 01:31:05 +01:00
patacongo 3ff155d048 Beginnings of definitions for the LPC1788; convert olimex-lpc1766stk to use kconfig-frontends
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5533 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 16:37:37 +00:00
James Goppert 4b2d1690d3 Set kalman_demo to only publish when it has valid info. 2013-01-18 10:21:20 -05:00
px4dev bc35bb23dd HOTFIX: disable interrupt-driven I2C mode, configure pessimistic I2C timeout, correct handling of the NAK generation for I2C master reads.
This looks like it addresses the recent I2C lockup issue, unfortunately it also increases CPU consumption by ~5% for the I2C sensor bus.
2013-01-18 00:43:57 -08:00
patacongo 76753ad9cb Add internal API task_reparent(), used in posix_spawn(). Move libc/spawn/lib_ps.c to sched/task_posixspawn.c; Move libc/spawn/spawn.h to include/nuttx/spawn.h
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5531 42af7a65-404d-4744-a932-0658087f49c3
2013-01-18 01:52:42 +00:00
Julian Oes 9ca472bbc7 Ubx configuration working again, gps app is still complicated and big but should be wrking better now 2013-01-17 16:54:32 -08:00
Julian Oes ebaa38ad1b ubx with 38400 working, all messages seem to arrive, configuration procedure is still funny (work in progress) 2013-01-17 16:54:32 -08:00
Julian Oes dce9b2d045 The CFG-NAV5 dynamic model is now checked as well 2013-01-17 16:54:32 -08:00
Julian Oes 80eb66c7a3 The config message was wrong, corrected (not tested) 2013-01-17 16:54:32 -08:00
Julian Oes c5ecf88bfb Added ubx configuration CFG-NAV5 to airborne with less than 2g acceleration (compiling, not tested) 2013-01-17 16:54:32 -08:00
patacongo 2f653578c6 Misc bug fixes related to NSH file execution
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5530 42af7a65-404d-4744-a932-0658087f49c3
2013-01-17 20:25:32 +00:00
Lorenz Meier dc5ddb9370 Defaulting to full auto in auto mode 2013-01-17 14:18:33 -05:00
patacongo 19e43efe23 NSH will now run files from the file system; Add logic to unload and clean-up after running a task from a file system; Extensions to builtin apps from Mike Smith
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5529 42af7a65-404d-4744-a932-0658087f49c3
2013-01-17 18:32:13 +00:00
James Goppert 13bb814f20 Prevented attitude correction from changing velocity when pos not init. 2013-01-17 12:18:20 -05:00
James Goppert c2c0baf843 Increased process noise. 2013-01-17 12:16:21 -05:00
James Goppert 612385a231 Merge branch 'master' of git://github.com/PX4/Firmware into fault_detection 2013-01-17 10:50:08 -05:00
patacongo e9d0885500 Add logic to automatically unload module on exit; Several patches from Mike Smith
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5528 42af7a65-404d-4744-a932-0658087f49c3
2013-01-17 14:43:55 +00:00
px4dev 8685f63c72 Some gentle massaging to get things building again. 2013-01-17 01:18:18 -08:00
px4dev 1a532d16dd Merge NuttX r5527 2013-01-17 01:00:46 -08:00
patacongo caeef71797 Change the way thread priority is handled in binfmt/ to better match the way that priority is set up for the builtin tasks
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5527 42af7a65-404d-4744-a932-0658087f49c3
2013-01-17 00:30:12 +00:00
patacongo e7e1c6aee0 convert configs/sim/nsh to use kconfig-frontends
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5526 42af7a65-404d-4744-a932-0658087f49c3
2013-01-16 21:38:00 +00:00
px4dev 4b07a9abd3 Add RC input configuration, update at startup and on parameter change (max 2 per second). 2013-01-16 13:02:49 -08:00
patacongo a568e1e63a Add a binary 'loader' so that builtin applications can be executed from the BINFS file system
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5525 42af7a65-404d-4744-a932-0658087f49c3
2013-01-16 19:08:23 +00:00
James Goppert 34d70bea4b Control tuning. 2013-01-16 13:55:49 -05:00
James Goppert ded442fd19 Added position initialization. 2013-01-16 13:27:04 -05:00
patacongo 38efdf0ce3 Rename apps/include/apps.h to builtin.h. Move parts of apps/builtins/exec_builtin.c to binfmt/libbuiltin/libbuiltin_utils.c
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5524 42af7a65-404d-4744-a932-0658087f49c3
2013-01-16 17:05:00 +00:00
patacongo 4f7967b4c6 apps/builtin/binfs.c moved to nuttx/fs/binfs/fs_binfs.c
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5523 42af7a65-404d-4744-a932-0658087f49c3
2013-01-16 15:41:27 +00:00
patacongo 77efc9f9cd BINFS now supports open, close, and FIOC_FILENAME ioctl
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5522 42af7a65-404d-4744-a932-0658087f49c3
2013-01-16 14:14:14 +00:00
px4dev 7b367c3eb3 Beat the px4io driver into compilable shape. Just missing RC input configuration now. 2013-01-15 23:01:04 -08:00
px4dev 646b926ac9 minor doc fix 2013-01-15 23:00:21 -08:00
px4dev d207d22a4f compile fix 2013-01-15 22:59:57 -08:00
px4dev b4dcdae03d Add support for battery current scaling. Add feedback for mixer load operations. 2013-01-15 22:22:15 -08:00
jgoppert 41ac3fdef9 Increased fault threshhold. 2013-01-16 00:25:53 -05:00
jgoppert f8811649cb Controller/ EKF tuning. 2013-01-16 00:24:14 -05:00
jgoppert ce3f835c63 Mag and velocity measurement fix. Fault detection working. 2013-01-15 23:36:01 -05:00
James Goppert 68a6a64213 Working on velocity errors. 2013-01-15 18:25:08 -05:00
patacongo fcb316906d Implement redirection of output from NSH builtin commands to a file in a mounted volume
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5521 42af7a65-404d-4744-a932-0658087f49c3
2013-01-15 21:01:37 +00:00
James Goppert afb69cd054 Reducing pos/att correction update rates for debugging. 2013-01-15 15:11:24 -05:00
James Goppert 28ef7aa1be Refactored RPos. Increased global pos output rate for debugging. 2013-01-15 14:03:04 -05:00
James Goppert 68b92cd4fc Slowed HIL status updates. Also prevented posCor. when gps not init. 2013-01-15 13:21:13 -05:00
James Goppert 9cf3d51aec Made fault tolerances adjustable. 2013-01-15 13:12:00 -05:00
James Goppert edf0a6bae7 Added check for valid attitude data. 2013-01-15 12:37:12 -05:00
James Goppert 022c30ea4f Enabled kf to run w/o gps. 2013-01-15 12:17:09 -05:00
James Goppert 281372ef3a Added mag dip/dec as parameters. 2013-01-15 11:36:49 -05:00
James Goppert 8b6660fc36 Fixed param issue. 2013-01-15 11:16:28 -05:00
James Goppert d02a24ec82 Adding comments to ekf. 2013-01-15 11:00:52 -05:00
px4dev 0eb5a070f1 Checkpoint: more work on the px4io driver. Add raw PWM passthrough ioctl. 2013-01-15 00:41:47 -08:00
px4dev 112f5ea969 Add support for raw PWM passthrough from FMU via IO. 2013-01-15 00:41:13 -08:00
px4dev f3a587dfce Wire the I2C device code into the register handler. 2013-01-15 00:40:41 -08:00
px4dev 2686344d58 Adjust the default deadzone for RC inputs per feedback. 2013-01-15 00:40:15 -08:00
px4dev 8da9a2c149 Merge branch 'master' into px4io-i2c 2013-01-14 21:20:17 -08:00
px4dev 854c6436b4 Pull NuttX up to the 6.24 release.
Merge branch 'nuttx-merge-5447'
2013-01-14 21:01:58 -08:00
James Goppert 5b0aa490d6 Added P0. Hid some printing. Corrected fault detection. 2013-01-14 18:38:32 -05:00
James Goppert 02a905df4c Merge branch 'master' of git://github.com/PX4/Firmware into fault_detection 2013-01-14 18:13:07 -05:00
Lorenz Meier 35f0f570a6 Hotfix for current active waypoint ID 2013-01-14 23:48:07 +01:00
James Goppert 4613d1247d Added param comments for FWB controller. 2013-01-14 17:15:43 -05:00
Marco Bauer f0edb59d7e some major changes 2013-01-14 21:58:42 +01:00
patacongo cc3614dfe8 Finish dup logic for open files; fix bug in sigtimedwait(), would return wrong signo value if the signal was already pending
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5517 42af7a65-404d-4744-a932-0658087f49c3
2013-01-14 19:22:32 +00:00
James Goppert c49320a03e Working on fault detection tolerances. 2013-01-14 13:49:30 -05:00
James Goppert a13cf90e0a Increased KF process noise. 2013-01-14 13:12:01 -05:00
px4dev c38ad4ded5 Fix the 'time' test, now that rand() seems to be working. 2013-01-14 10:08:47 -08:00
Julian Oes 8bc2338466 Adapted upper and lower values for test jig voltages 2013-01-14 09:18:17 -08:00
jgoppert 940d43cb9c Merge branch 'master' of git://github.com/PX4/Firmware into fault_detection 2013-01-14 11:58:21 -05:00
patacongo 930f9a1351 Add support for dup2'ing files. Infrastructure and ROMFS done. Still need FAT, BINFS, NXFFS, and NFS
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5516 42af7a65-404d-4744-a932-0658087f49c3
2013-01-14 15:42:03 +00:00
px4dev 5c60ed9a94 Fix up FMU input timeout handling.
Fix the FMU auto OK LED status.
Strip out unused fields from the system state structure.
2013-01-14 01:11:29 -08:00
px4dev 06b66ad065 Don't advertise things we don't have anymore. 2013-01-14 01:09:42 -08:00
px4dev 2dc47160f4 Factoring and comments. 2013-01-14 00:30:18 -08:00
px4dev 2311e03379 Start reworking the px4io driver to use the I2C interface instead. 2013-01-14 00:19:01 -08:00
px4dev 6e291ddedc Add a mechanism for sending multi-part messages to the I2C driver base class. 2013-01-14 00:18:05 -08:00
jgoppert f2d2aafb8d Fault detection working, but GPS velocity measurement causing fault.
Possible error in HIL script or progpagation/ F matrix of EKF.
2013-01-14 01:32:34 -05:00
jgoppert 3db216380b Changing measurement units for gps, not working well yet. 2013-01-14 01:09:02 -05:00
px4dev 4e38615595 Major workover of the PX4IO firmware for I2C operation. 2013-01-13 19:05:01 -08:00
px4dev 8ebe21b27b Checkpoint - I2C protocol register decode 2013-01-13 19:05:01 -08:00