Commit Graph

821 Commits

Author SHA1 Message Date
tnaegeli e42655e7c6 EKF 2012-10-01 17:21:59 +02:00
px4dev 93c200d281 Add new 'task_spawn' interface for starting new tasks in the PX4 world 2012-10-01 00:02:38 -07:00
Lorenz Meier 6005077d54 Fixed typo 2012-09-29 22:06:30 +02:00
Lorenz Meier 6c4bddd996 Fixed a bug in HIL input 2012-09-29 22:04:00 +02:00
patacongo 253d3ab523 Prep for 6.22 Release
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5206 42af7a65-404d-4744-a932-0658087f49c3
2012-09-29 19:10:52 +00:00
Lorenz Meier 7949ac1ad8 Fixed heading calculation, fixed heading controller 2012-09-29 18:00:01 +02:00
patacongo de53b28fd3 Prep for NxWidgets 1.3 release
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5205 42af7a65-404d-4744-a932-0658087f49c3
2012-09-29 15:58:41 +00:00
Lorenz Meier 1725069c18 Merge branch 'update_rate' of https://github.com/sjwilks/Firmware into ardrone 2012-09-29 12:46:20 +02:00
patacongo 343817a6fd Turn off LCD reading on Shenzhou board (needs some TLC before it will be usable)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5202 42af7a65-404d-4744-a932-0658087f49c3
2012-09-28 19:24:46 +00:00
Lorenz Meier fb691c9ff1 Fix a bug where under really adverse conditions the system id is not read before the first heartbeat is send out, resulting in an immediately timing out system in the GCS 2012-09-28 16:28:51 +02:00
Simon Wilks 4933d1dbbd Only provide update rate mod support to modes supporting 4 PWM channels 2012-09-28 08:37:24 +02:00
px4dev 78c2f99f85 Merge branch 'master' of https://github.com/PX4/Firmware 2012-09-27 19:50:20 -07:00
Simon Wilks 7a5ac6892e Support custom PWM update rates
Rates of 50 to 400 can be specified using the -u <rate in hz> parameter
with the fmu command in the startup script.
2012-09-27 23:36:56 +02:00
Julian Oes d206327541 Magnetometer calibration fixed 2012-09-27 18:43:04 +02:00
patacongo c3bc22f07c Definitions for ARMv7-M AIRCR register, Fixes for ADS7843 and SSD1289 driver, Missing build logic for examples/watchdog
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5198 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 15:29:53 +00:00
Julian Oes 2c5c314105 Cleanup of lots of debugging printfs 2012-09-27 17:08:29 +02:00
Julian Oes 7f15309892 Calibration should not freeze anymore, ardrone flying but estimator is not able to use calibrated magnetometer data 2012-09-27 16:50:20 +02:00
Julian Oes a05c4d0504 Merge branch 'ardrone' of https://github.com/PX4/Firmware into ardrone
Conflicts:
	apps/ardrone_interface/ardrone_motor_control.c
2012-09-27 13:44:47 +02:00
px4dev 62a4aa96b6 Merge branch 'master' of file:///Users/Shared/NuttX
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5197 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 00:18:03 -07:00
Lorenz Meier ec3949bf82 Fix a bug where the rate controller is always active 2012-09-26 22:25:39 +02:00
Lorenz Meier f93464e64f Fixed RC scaling in sensors app 2012-09-26 22:17:13 +02:00
Lorenz Meier d7456e61ff Fixed a max value in the AR.Drone interface 2012-09-26 22:16:57 +02:00
Lorenz Meier cbb1f1c9ed Fixed RC and offboard control state machine 2012-09-26 21:30:33 +02:00
Lorenz Meier 66aa281c07 Merge branch 'master' of github.com:PX4/Firmware into ardrone 2012-09-26 19:45:10 +02:00
Julian Oes ac43a67a0f ardrone max motor output was slightly to high 2012-09-26 14:29:47 +02:00
Julian Oes 201fdbc42c ardrone flying now (still workaround of disabled rates controller) 2012-09-26 10:11:57 +02:00
patacongo 731b466aca If server fails to create a thread because of lack-of-resources (EAGAIN), don't terminate. Keep serving... Memory may become available again later. From Kate.
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5191 42af7a65-404d-4744-a932-0658087f49c3
2012-09-25 22:47:11 +00:00
patacongo 2be7847efe Hook in NxWidgets configuration logic; Add a untested ADS7843E touchscreen support for the Shenzhou board; Complete the Shenzhou NxWM configuration (also untested).
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5190 42af7a65-404d-4744-a932-0658087f49c3
2012-09-25 22:04:51 +00:00
Julian Oes abbe998506 ardrone in the air again (workaround: rate controller disabled) 2012-09-25 21:35:02 +02:00
Julian Oes 0eae48d480 Merge remote-tracking branch 'upstream/ardrone' 2012-09-25 18:19:12 +02:00
Julian Oes 5c00ca343f forgot to remove printfs of magnetometer calibration 2012-09-25 16:39:15 +02:00
Julian Oes 6b0ed71ae0 Simplified magnetometer calibration routine 2012-09-25 16:36:33 +02:00
Julian Oes e217540e01 write all params to EEPROM for now (workaround to prevent standard values being written) 2012-09-25 10:51:13 +02:00
Julian Oes 268874fdb7 auto save after calibration (however the rest is reset to stock) 2012-09-25 10:31:19 +02:00
Julian Oes b5ec9c50f2 fix to set device for ardrone interface 2012-09-24 17:47:06 +02:00
Lorenz Meier 705172d302 Untested, but fully implemented attitude and/or inner rate control 2012-09-23 12:11:46 +02:00
Lorenz Meier de530d6ba1 General robustness improvements in PID struct, numerically close to bullet-proof, error reporting needs improvements still. 2012-09-23 01:20:41 +02:00
patacongo b58026b8f0 Add missing STM32 F1 pin remapping definitions
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5180 42af7a65-404d-4744-a932-0658087f49c3
2012-09-22 22:25:21 +00:00
patacongo 5b51b5e3a4 hpttd.h needs to include stdbool.h
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5179 42af7a65-404d-4744-a932-0658087f49c3
2012-09-22 20:38:43 +00:00
patacongo c9bb9dd995 Adds support for keep-alive connections to webserver
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5178 42af7a65-404d-4744-a932-0658087f49c3
2012-09-22 20:36:36 +00:00
Lorenz Meier 8b951ec417 WIP on HIL 2012-09-22 20:55:44 +02:00
Lorenz Meier a9b21886f3 Halfway-working fixed wing waypoint control, needs more effort 2012-09-22 18:46:04 +02:00
patacongo 1b7786e0e2 More webserver updates from Kate
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5173 42af7a65-404d-4744-a932-0658087f49c3
2012-09-22 12:23:35 +00:00
patacongo 4edf18b009 Add support for Fire STM32v3; sscanf fixes from Kate
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5168 42af7a65-404d-4744-a932-0658087f49c3
2012-09-21 17:32:30 +00:00
Lorenz Meier a56b4ffe26 Enabled mag updates again 2012-09-21 19:17:22 +02:00
Lorenz Meier 6c7e21bd1c Debugging output still enabled, fixed a number of additional issues 2012-09-21 19:14:50 +02:00
Lorenz Meier 1d96f0b853 Fixed stupid interface bugs, working 2012-09-21 17:19:28 +02:00
Lorenz Meier 8a11f76994 Updated C files for attitude estimator 2012-09-21 14:42:57 +02:00
Lorenz Meier eaa431e5ce Merge branch 'master' of github.com:PX4/Firmware into ardrone 2012-09-21 13:15:46 +02:00
Lorenz Meier 082074f991 Completely implemented offboard control 2012-09-21 12:55:41 +02:00
Lorenz Meier eaa6d0d4f2 Merge pull request #30 from julianoes/gps_fix
some gps fixes (only tested without gps attached)
2012-09-20 15:35:21 -07:00
Julian Oes d7085ba9e3 forgot to remove some rprintfs 2012-09-20 13:09:32 +02:00
Julian Oes df8bbb2d30 workaround in nuttx to allow for more than 6 arguments when starting an app (in my opinion needed) 2012-09-20 11:57:29 +02:00
Julian Oes e7241fb37f gps starting and stopping should be working correctly now, ubx not continuing whith configuring should be fixed 2012-09-20 11:56:30 +02:00
px4dev 42f040ab66 Merge from upstream NuttX
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5166 42af7a65-404d-4744-a932-0658087f49c3
2012-09-19 23:29:14 -07:00
Julian Oes 71b37a859c the gps_thread_should_exit flag is now static again, hope it works like this 2012-09-20 08:17:01 +02:00
Lorenz Meier 572efc3383 Fixes and style, deamonized filter 2012-09-19 22:48:57 +02:00
Lorenz Meier dbd6cbea60 Minor cleanups, correct sensor scaling 2012-09-19 22:43:00 +02:00
Lorenz Meier efcf146b6d Updated EKF filter, untested 2012-09-19 22:36:41 +02:00
Julian Oes f707a2ce60 fixed stacktrace which happened in configure_gps_ubx(int *fd) because of faulty file descriptor argument, added possibility to stop gps daemon (only tested without gps attached) 2012-09-19 22:28:13 +02:00
Lorenz Meier 291f4f3a33 Reworked control interface, needs testing / validation 2012-09-19 18:53:29 +02:00
Lorenz Meier 855fbe8543 Minor style and documentation cleanups 2012-09-19 07:42:32 +02:00
Lorenz Meier c0cc180876 Minor cleanups in fixed wing control 2012-09-19 07:42:05 +02:00
patacongo e592dcedf2 webserver update from Kate
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5164 42af7a65-404d-4744-a932-0658087f49c3
2012-09-18 23:31:35 +00:00
patacongo e9474a7707 Add default file name if URL is a directory, giving index.html behavior. From Kate
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5162 42af7a65-404d-4744-a932-0658087f49c3
2012-09-18 18:45:39 +00:00
patacongo 7d318ee113 Cosmetic updates to the ENC28J60 driver
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5161 42af7a65-404d-4744-a932-0658087f49c3
2012-09-18 18:32:31 +00:00
Lorenz Meier b0b72b11eb Reworking control infrastructure for inner rate loop, preparing offboard interface 2012-09-18 18:28:49 +02:00
patacongo 294e1a2df9 Fix ording of bytes in ENC28J60 MAC address; Web server refactoring from Kate
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5159 42af7a65-404d-4744-a932-0658087f49c3
2012-09-18 12:34:43 +00:00
tnaegeli df03433034 g
Signed-off-by: tnaegeli <naegelit@student.ethz.ch>
2012-09-18 13:49:18 +02:00
patacongo c3c602f93e Fix ENC28J60 Tx transmit (still a receive problem); Add HTTP 408 logic from Kate
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5158 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 23:02:58 +00:00
patacongo 77b8e554f8 Add option for single connection web server. From Kate.
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5157 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 19:44:53 +00:00
patacongo 57623d42eb Resync new repository with old repo r5166
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5153 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 18:18:44 +00:00
Lorenz Meier 3816327977 SD log WIP, currently logs everything to one packet 2012-09-17 11:51:33 +02:00
Lorenz Meier 7a375ad670 Merge branch 'master' of github.com:PX4/Firmware into ardrone_tuning 2012-09-17 10:13:20 +02:00
Lorenz Meier f5dea9a1a5 Debugging / fixing attitude aliasing 2012-09-17 10:13:15 +02:00
px4dev 44adaa736c A system command that knows how to reflash the bootloader on the PX4FMU. 2012-09-16 23:41:26 -07:00
px4dev 22537447db Adjust to changes in the work queue API. 2012-09-14 22:59:42 -07:00
px4dev a3f21d9140 Merge branch 'NuttX/master' 2012-09-14 21:33:19 -07:00
px4dev 53fe61a621 Fix gyro/mag parameter names in calibration routines.
Thanks to AngeloDP for spotting this.
2012-09-14 20:15:29 -07:00
patacongo cfa24e37d6 Some ENC28J60-related fixes
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5154 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-14 21:48:07 +00:00
Lorenz Meier e5950ad498 Improved reporting / logging a lot, first usable version of SD card logger 2012-09-14 17:52:24 +02:00
patacongo cc0c42dd31 Add XML RPC server plus NXWM build fixes from Max Holtzberg
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5150 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-14 14:07:21 +00:00
Lorenz Meier a8fcd4a49c Merge branch 'master' of github.com:PX4/Firmware 2012-09-14 10:26:05 +02:00
Lorenz Meier 3a18a79bd5 Better log rate balancing 2012-09-14 10:25:59 +02:00
Lorenz Meier 5dd6cbcb13 Logging rate changes, 2012-09-14 10:24:49 +02:00
px4dev d7fb2175eb A simple file write performance test 2012-09-13 21:42:51 -07:00
Lorenz Meier a294ee2b87 Fixed mavlink timestamps, fixed SD logger, ready for flight tests 2012-09-13 23:35:20 +02:00
patacongo 0fb57027de Changes needed for clean ez80 compile with ZDS toolchain
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5147 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-13 19:33:47 +00:00
patacongo 2aa4af7139 Remove executable property from source and make files
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5146 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-13 18:46:10 +00:00
patacongo 77888ea156 Email address change in apps/
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5143 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-13 16:58:49 +00:00
patacongo f6ca2227e3 USB device drivers: Add hooks to to use common, external DMA buffer allocation implementation..
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5142 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-13 14:14:18 +00:00
patacongo a033a25dbf Rename all apps/examples/-/main.c to something unique
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5141 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-13 12:36:32 +00:00
Lorenz Meier e20c2541c6 Send back fake RC in HIL if getting joystick inputs 2012-09-13 00:24:00 +02:00
patacongo a444b0ebc4 Suppress network configuration in discover example if it is an NSH built-in functin
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5139 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-12 21:42:36 +00:00
patacongo 093ccf2015 Add UDP discovery configuration for the STM3240G-EVAL (from Max Holtzberg)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5138 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-12 20:14:46 +00:00
patacongo 4e8030a11a Network discover utility from Max Holtzberg
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5137 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-12 18:42:07 +00:00
Lorenz Meier 47c96d3d12 Quite flyable state 2012-09-12 18:50:24 +02:00
Lorenz Meier e4c3a44751 Fixed index in loading 2012-09-12 17:55:22 +02:00
Lorenz Meier ffceb37803 Committing WIP 2012-09-12 17:46:15 +02:00
Lorenz Meier 3536ad8010 Merge branch 'rc_cleanup' of github.com:PX4/Firmware into gps 2012-09-12 17:39:02 +02:00
Lorenz Meier 59bd9ae92b Re-enabled scaling for roll 2012-09-12 17:38:23 +02:00
px4dev 59b1402379 Compute the channel bound once before the loop runs. 2012-09-12 08:37:05 -07:00
Lorenz Meier c815aff842 Deamonized GPS app, fixed GPS issues, reworking RC input 2012-09-12 17:22:24 +02:00
Lorenz Meier 31ecc4d5df Working on correct RC outputs without magic numbers 2012-09-12 11:20:33 +02:00
Lorenz Meier cb57fdb28c Added ground estimator, fixed RC calibration 2012-09-12 10:34:49 +02:00
Lorenz Meier b7c8b7d9f1 fixed up RC inputs, removed magic numbers, added dead zones, needs testing 2012-09-12 00:26:55 +02:00
Lorenz Meier b573804456 Got rid of a bunch of magic numbers, manual controls can now be set up fine-grained 2012-09-11 23:54:26 +02:00
Lorenz Meier a74a455ab5 Fixed calibration routines to ignore previous offsets during calibration, added scale compensation for MPU-6000 2012-09-11 23:35:01 +02:00
patacongo 648420e67a Add support for DMA memory allocator to FAT file system
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5127 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-11 13:53:44 +00:00
patacongo de7764b1d4 AVR corrections from Richard Cochran; uIP webserver enhancements from Kate
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5126 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-11 13:19:59 +00:00
patacongo c7a2544230 The M3 Wildfire port is code complete and ready for test
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5125 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-10 22:26:37 +00:00
Lorenz Meier 31d028828c Comment fixes and polishing 2012-09-10 23:06:13 +02:00
Lorenz Meier e440fc4027 Rewrote SD logging app, simpler, but effective. Pending testing 2012-09-10 23:04:31 +02:00
patacongo 835eef47bd More M3 Wildfire logic; mmap-related bug fixes from Kate
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5124 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-10 20:00:04 +00:00
Lorenz Meier 0019f65b10 Merge branch 'master' of github.com:PX4/Firmware 2012-09-10 20:52:59 +02:00
Lorenz Meier c9a453c340 Tuned filter gains, still suboptimal, but improved 2012-09-10 14:53:23 +02:00
px4dev b1767480d2 Some fixes for getopt_long 2012-09-10 00:16:30 -07:00
px4dev 68d4a26b9e Be a bit quieter and more forgiving about various system configuration and driver non-issues. 2012-09-10 00:16:05 -07:00
Lorenz Meier 246f8fd3bd correctly hooked up setpoints in fixed wing control app, pending validation 2012-09-10 00:18:52 +02:00
Lorenz Meier ddb5ba221d Deleted old cruft 2012-09-10 00:18:20 +02:00
Lorenz Meier 3140ba658a Fixed HIL enabling, renamed failsafe to better term "lockdown", made sure HIL is actually locking down system. Pending implementation of lockdown in PWM outputs 2012-09-10 00:11:09 +02:00
Lorenz Meier 6ea402efdc Merge branch 'master' of github.com:PX4/Firmware 2012-09-09 22:18:41 +02:00
Lorenz Meier 80c6252c0a Limited Z-compensation much stronger to prevent throttle jumps 2012-09-09 22:18:21 +02:00
px4dev a9c4fabda6 Change the EEPROM read/write timeout behavior so that we can get actual errors rather than just hanging forever. 2012-09-09 11:14:54 -07:00
px4dev 65ecf1b1c1 Rework the 'eeprom erase' path so it's possible to erase an EEPROM that can't be mounted.
Add some bus reset code to the EEPROM read path to maybe help with bus lockup.
2012-09-09 00:04:43 -07:00
px4dev 6caa3038ba Ok, all this hand-rolled option parsing is lame. Let's have a dose of getopt_long. 2012-09-08 21:52:29 -07:00
Lorenz Meier 27c5cef054 Added RC params, fixed attitude and position control 2012-09-08 22:38:44 +02:00
patacongo 58686d844f Shenzhou board is first to use ONLY Kconfig for configuration
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5114 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-08 13:56:21 +00:00
patacongo 8269f5320b Kconfig: Standardize board LED and button configurations
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5112 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-08 03:31:46 +00:00
patacongo ddefd95e28 More Shenzhou board logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5111 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-08 02:10:56 +00:00
Lorenz Meier 36ed8bb97a Removed old AR drone control stuff, outdated - replaced by multirotor_att and position control 2012-09-07 22:13:28 +02:00
Lorenz Meier b67d7fc22a Merge branch 'master' of github.com:PX4/Firmware 2012-09-07 22:12:32 +02:00
Lorenz Meier cca865eff0 Improved commandline hints 2012-09-07 22:12:24 +02:00
Lorenz Meier c25cef299f Fixed to mag measurement and filter 2012-09-07 16:56:47 +02:00
Lorenz Meier 297990fe35 Fixed parameter-loading typo, fixed mavlink compile warnings 2012-09-07 15:28:02 +02:00
Lorenz Meier 5c7f7f5a4c Fixed a & vs && bug 2012-09-07 14:54:31 +02:00
Lorenz Meier 2b9f3a4845 Made parameter error messages pickier 2012-09-07 14:50:28 +02:00
Lorenz Meier 1538247a72 Sensor sending rate fixes 2012-09-07 12:49:31 +02:00
Lorenz Meier 5066ce1e91 Fixed correct setting of field update flag 2012-09-07 12:40:56 +02:00
Lorenz Meier 7aafd6f521 Commented out potentially problematic printf() statements 2012-09-07 12:40:40 +02:00
Lorenz Meier 9c01df734a Added per-motor test routine, test came clean. Worth trying PID tuning. 2012-09-07 12:40:18 +02:00
Lorenz Meier e8307aba17 Added bitfield to encode updated dimensions 2012-09-06 20:47:22 +02:00
Lorenz Meier 925f143433 Better AR interface initialization 2012-09-06 20:46:53 +02:00
patacongo 2cdd7e7425 LPC17xx Kconfig looks good
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5099 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-05 21:36:03 +00:00
patacongo 9c0b4cd45f Add URL/CGI function mapping option to uIP web server
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5096 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-05 18:03:37 +00:00
patacongo 77c753b32a Add Kconfig settings for the LPC17xx
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5094 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-05 17:20:19 +00:00
Lorenz Meier db6ec2d7d2 Various minor fixes and improvements across system 2012-09-05 18:05:11 +02:00
patacongo 8870a08597 Refactor serial configuratin; AVR teensy Kconfig now builds
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5092 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-05 12:45:35 +00:00
Lorenz Meier 84e11a0cac Fixed correct RC loss detection, AR.Drone is now shutting down motors after 1 s of RC loss. Added debug topic. 2012-09-05 11:37:17 +02:00
px4dev 86a2a4fb9f Turn off more debug output. 2012-09-04 23:37:56 -07:00
px4dev 41dde1ea64 Fix issue where the roll controller never receives parameter updates. 2012-09-04 23:37:16 -07:00
px4dev 97bdb9482a Turn off annoying debug output. 2012-09-04 23:36:57 -07:00
Lorenz Meier e503c15361 Checkpoint - this is worth an AR.Drone flight test. Fixed thrust scaling in sensors for manual input, kind of fixed AR.Drone motor interface, very reliable now 2012-09-04 21:16:39 +02:00
patacongo e5581cb0bc Syntax error in last apps/netutils/webserver/Kconfig
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5089 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-04 18:01:54 +00:00
patacongo d06103b98b Enhancements to the uIP web server from Kate
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5088 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-04 16:59:24 +00:00
patacongo 90ef4d1d10 Fix scrambled Kconfig Make.defs files
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5087 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-04 16:04:31 +00:00
px4dev 62682d805e Avoid a couple of unnecessary promotions to double. 2012-09-03 23:21:41 -07:00
px4dev 5c692e2971 Initialise some extra fields, don't try closing an ORB advertisement. 2012-09-03 23:21:17 -07:00
px4dev 86a29f7064 Merge branch 'ms5611_newmath' 2012-09-03 14:59:15 -07:00
Lorenz Meier eb01cd6fd3 Changed a critical section to double precision calculation. It may not be necessary, but lets not risk precision unless we have properly analyzed what numerical precision is required. 2012-09-03 22:29:51 +02:00
px4dev 9667edd170 Fix up AR.drone motor GPIO config and initialisation 2012-09-03 13:28:40 -07:00
px4dev f92139f53b Merge branch 'master' into ms5611_newmath 2012-09-03 12:35:36 -07:00
Lorenz Meier 8a615a9741 WIP on ardrone control interface 2012-09-03 21:34:54 +02:00
Lorenz Meier 79801b1578 Added high-res sensor message better suited for scientific applications 2012-09-03 15:16:42 +02:00
Lorenz Meier 6b903cf508 Removing old cruft from the interface 2012-09-03 12:34:18 +02:00
px4dev 0d89da96a3 Adjust the mixer tables for observed yaw sign behavior. 2012-09-03 02:45:33 -07:00
Lorenz Meier c62e78a060 Merge branch 'master' of github.com:PX4/Firmware 2012-09-03 08:36:23 +02:00
Lorenz Meier 60dabef756 Cleaned up HIL interface 2012-09-03 08:24:08 +02:00
px4dev edaa40f1d3 Fix typo in roll controller initialization; now roll and pitch controllers respond in a comparable fashion. 2012-09-02 15:56:56 -07:00
px4dev 6576edb47e Merge with trunk NuttX
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5079 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-02 12:17:16 -07:00
Lorenz Meier 8aa41f7d34 Add actuator controls output 2012-09-02 12:21:54 +02:00
Lorenz Meier 436648fff0 Ported MAVLink app to actuator_armed topic 2012-09-02 11:45:22 +02:00
Lorenz Meier cae070c73e Changed to publishing armed state in commander 2012-09-02 11:33:52 +02:00
Lorenz Meier e9373752d1 Fixed arming state setting / publication 2012-09-02 11:20:36 +02:00
px4dev eb8e3a2942 Reduce slightly the rate at which we can be spammed with arming-state change messages. 2012-09-02 02:16:44 -07:00
px4dev 00ba1d629b Redo the math in the ms5611 driver to a) avoid re-computing scaling factors for every pressure measurement, b) be perhaps more readable and follow the data sheet more closely, and c) support calibration of the MSL pressure. 2012-09-01 16:26:12 -07:00
Lorenz Meier cf62c892f9 Added temperature measurement, added led system command 2012-09-01 19:56:42 +02:00
patacongo d1764ac57e Remove CONFIG_LIBC_PERROR_DEVNAME. What was I thinking?
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5074 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-09-01 00:26:37 +00:00
patacongo 0eb58dfb72 The content for uIP web server demo is no longer canned, but is not built dynameically (Thanks to Max Holtzberg)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5073 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-31 23:05:51 +00:00
patacongo 035e89e554 Fix some places in library where semaphore is not released on error conditions
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5071 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-31 16:03:17 +00:00
Lorenz Meier 39fd8b9cda Fixed minor compile warnings (just warnings, no effect on execution) in BMA180 2012-08-31 14:38:55 +02:00
Lorenz Meier 4ba8036d80 minor typo in comment 2012-08-31 14:06:34 +02:00
Lorenz Meier 5f131e8c11 Checkpoint: Operational BMA180 driver 2012-08-31 14:02:23 +02:00
px4dev 63485b91b2 Kick the BMA180 driver mostly into shape. Still not reading data correctly. 2012-08-30 22:33:20 -07:00
px4dev 116306ae3e units in comments 2012-08-30 22:32:54 -07:00
px4dev 1e80bd544b Make the buffer ring work.
Avoid reading from the misaligned structure more than once.
Discard some redundant whitespace / prototype.
2012-08-30 22:32:42 -07:00
patacongo b121fbbb00 Add configurable application entry point
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5070 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-30 20:13:50 +00:00
px4dev 45885f15dc Fix the readout transfer size. 2012-08-29 23:25:14 -07:00
px4dev da3cd24352 Be a bit more careful with which bits we stuff into the l3gd20 registers. 2012-08-29 23:16:38 -07:00
px4dev d0898cb947 Something approximating a driver for the L3GD20 2012-08-29 22:55:15 -07:00
px4dev d0f10a3550 driver work in progress 2012-08-29 21:40:48 -07:00
px4dev 732e23a883 Add some documentation for the warn/err functions. 2012-08-29 21:38:52 -07:00
Lorenz Meier c816cca816 fixed a param save bug 2012-08-29 22:56:29 +02:00
Lorenz Meier 676daf7c46 minor changes for default options, closing properly all subscriptions in multirotor att control now on exit 2012-08-29 22:33:06 +02:00
Lorenz Meier 7cd89520cc More black magic put into the attitude estimation - works nicely now 2012-08-29 15:53:11 +02:00
Lorenz Meier 7d87f2b06e Fixed calibration, added calibration for accel, working on further filter improvements 2012-08-29 14:20:55 +02:00
Lorenz Meier cbf020de87 Minor improvements to ardrone interface, ready for prime time 2012-08-29 09:30:57 +02:00
px4dev 6fd7e12e13 Sorry Tait, Bryan… your body is not welcome. 2012-08-29 00:08:02 -07:00
px4dev 255b0f68af Let's not get too smart; we can't const these. 2012-08-28 23:37:23 -07:00
px4dev 268db3dd9b mavlink parameter load should discard all current parameters before loading from EEPROM 2012-08-28 22:55:56 -07:00
px4dev 168e32cd1b Try not to return an unconditional error from the parameter save path.
Simplify the test for no parameter file on the parameter load path.
2012-08-28 22:54:28 -07:00
px4dev 1a781c6c4a Make the distinction between "parameter import" which merges parameters, and "parameter load" which blows away any current changes. 2012-08-28 22:15:25 -07:00
px4dev f0286d1a10 Distinguish between the end of the top-level BSON object and an error so that parameter loading can complete. 2012-08-28 21:52:26 -07:00
px4dev 1e90fd5bec Let's not leave the R/C channel scaling factor as a NAN or INF. It makes many things sad.
Also, clean up the calculation of same.  Really, is it easier to type out the same calculation 8 times, or perhaps you might be interested in this thing we call a 'loop'…
2012-08-28 21:13:00 -07:00
Lorenz Meier 68ac20cc3a fixed range of debug printing 2012-08-28 22:50:47 +02:00
Lorenz Meier a1963805e7 left debug output active to allow finishing off this issue 2012-08-28 22:48:00 +02:00
Lorenz Meier 5b81a51a82 Merge branch 'params' of github.com:PX4/Firmware 2012-08-28 21:44:38 +02:00
patacongo f53d3ecc71 Add perror()
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5061 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-28 19:01:14 +00:00
px4dev 30b670a6ee Merge branch 'NuttX/master'
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5060 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-28 09:43:37 -07:00
px4dev 936940abc9 Force a parameter update when the sensors thread starts. 2012-08-28 09:15:12 -07:00
patacongo bbe3db55f2 Add some protection to the priority inheritance logic when sem_post() is called from an interrupt handler
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5060 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-28 14:40:12 +00:00
Lorenz Meier fa32184973 params debugging 2012-08-28 13:56:39 +02:00
Lorenz Meier d8210a8e2f Implemented missing IOCTLs to set MPU scalings 2012-08-28 11:30:45 +02:00
Lorenz Meier 9a750ae698 Correct scaling for calibration routines 2012-08-28 11:30:30 +02:00
Lorenz Meier a0925e4703 Ramped up MAVLink stack size as real use seems to need it 2012-08-28 08:50:47 +02:00
Lorenz Meier 2fca24f803 Added missing calibration announcement for gyro cal in commander 2012-08-28 08:50:23 +02:00
px4dev e6f6a81d5b Allow the EEPROM driver to consider itself started even if NXFFS fails to mount. 2012-08-27 19:42:40 -07:00
Lorenz Meier 36a8b00ab1 Added sensor offset setting 2012-08-27 23:43:56 +02:00
Lorenz Meier 2d2548e714 Final parameter interface cleanup - removed last bit of old cruft, fixed a bug on parameter update notification, cleaned up API slightly in naming 2012-08-27 22:57:20 +02:00
Lorenz Meier 2a6a151342 Added common conversion functions 2012-08-27 22:55:19 +02:00
Lorenz Meier b090298b12 Minor cleanups, added more error verbosity, XXX parameters get now read it at maximum sensors speed, needs to be waiting on a param change notice (but not on the vehicle status topic, as before. 2012-08-27 17:24:17 +02:00
Lorenz Meier 97d9e67e67 Really ugly but safe hack to make 30 deg rotations work 2012-08-27 15:44:50 +02:00
Lorenz Meier 967c0869a9 Cleaned up MPU driver slightly 2012-08-27 09:48:16 +02:00
Lorenz Meier 248bb11d93 removed stop() from I2C driver startup routines, work in progress on MPU scaling 2012-08-27 09:08:34 +02:00
Lorenz Meier 58b51743f2 Merge branch 'master' of github.com:PX4/Firmware into px4dev_new_driver_wip 2012-08-27 07:25:05 +02:00
patacongo ce9b97b8f5 More patches/bugfixes from Kate
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5056 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-26 23:29:37 +00:00
px4dev e214981d11 Merge branch 'NuttX/master'
Conflicts:
	apps/netutils/thttpd/thttpd_cgi.c
	nuttx/Documentation/NuttX.html
	nuttx/arch/8051/src/Makefile
	nuttx/arch/arm/src/lpc17xx/lpc17_usbhost.c
	nuttx/arch/avr/Kconfig
	nuttx/arch/avr/src/atmega/atmega_lowinit.c
	nuttx/arch/mips/Kconfig
	nuttx/arch/z80/src/Makefile.sdcc
	nuttx/configs/amber/README.txt
	nuttx/configs/amber/hello/defconfig
	nuttx/configs/avr32dev1/README.txt
	nuttx/configs/avr32dev1/nsh/defconfig
	nuttx/configs/avr32dev1/ostest/defconfig
	nuttx/configs/c5471evm/README.txt
	nuttx/configs/c5471evm/httpd/defconfig
	nuttx/configs/c5471evm/nettest/defconfig
	nuttx/configs/c5471evm/nsh/defconfig
	nuttx/configs/c5471evm/ostest/defconfig
	nuttx/configs/compal_e88/nsh_highram/defconfig
	nuttx/configs/compal_e99/nsh_compalram/defconfig
	nuttx/configs/compal_e99/nsh_highram/defconfig
	nuttx/configs/demo9s12ne64/README.txt
	nuttx/configs/demo9s12ne64/ostest/defconfig
	nuttx/configs/ea3131/nsh/defconfig
	nuttx/configs/ea3131/ostest/defconfig
	nuttx/configs/ea3131/pgnsh/defconfig
	nuttx/configs/ea3131/usbserial/defconfig
	nuttx/configs/ea3131/usbstorage/defconfig
	nuttx/configs/ea3152/ostest/defconfig
	nuttx/configs/eagle100/README.txt
	nuttx/configs/eagle100/httpd/defconfig
	nuttx/configs/eagle100/nettest/defconfig
	nuttx/configs/eagle100/nsh/defconfig
	nuttx/configs/eagle100/nxflat/defconfig
	nuttx/configs/eagle100/ostest/defconfig
	nuttx/configs/eagle100/thttpd/defconfig
	nuttx/configs/ekk-lm3s9b96/README.txt
	nuttx/configs/ekk-lm3s9b96/nsh/defconfig
	nuttx/configs/ekk-lm3s9b96/ostest/defconfig
	nuttx/configs/ez80f910200kitg/ostest/defconfig
	nuttx/configs/ez80f910200zco/dhcpd/defconfig
	nuttx/configs/ez80f910200zco/httpd/defconfig
	nuttx/configs/ez80f910200zco/nettest/defconfig
	nuttx/configs/ez80f910200zco/nsh/defconfig
	nuttx/configs/ez80f910200zco/ostest/defconfig
	nuttx/configs/ez80f910200zco/poll/defconfig
	nuttx/configs/hymini-stm32v/README.txt
	nuttx/configs/hymini-stm32v/buttons/defconfig
	nuttx/configs/hymini-stm32v/nsh/defconfig
	nuttx/configs/hymini-stm32v/nsh2/defconfig
	nuttx/configs/hymini-stm32v/nx/defconfig
	nuttx/configs/hymini-stm32v/nxlines/defconfig
	nuttx/configs/hymini-stm32v/usbserial/defconfig
	nuttx/configs/hymini-stm32v/usbstorage/defconfig
	nuttx/configs/kwikstik-k40/README.txt
	nuttx/configs/kwikstik-k40/ostest/defconfig
	nuttx/configs/lincoln60/README.txt
	nuttx/configs/lincoln60/nsh/defconfig
	nuttx/configs/lincoln60/ostest/defconfig
	nuttx/configs/lm3s6432-s2e/README.txt
	nuttx/configs/lm3s6432-s2e/nsh/defconfig
	nuttx/configs/lm3s6432-s2e/ostest/defconfig
	nuttx/configs/lm3s6965-ek/README.txt
	nuttx/configs/lm3s6965-ek/nsh/defconfig
	nuttx/configs/lm3s6965-ek/nx/defconfig
	nuttx/configs/lm3s6965-ek/ostest/defconfig
	nuttx/configs/lm3s8962-ek/README.txt
	nuttx/configs/lm3s8962-ek/nsh/defconfig
	nuttx/configs/lm3s8962-ek/nx/defconfig
	nuttx/configs/lm3s8962-ek/ostest/defconfig
	nuttx/configs/lpc4330-xplorer/README.txt
	nuttx/configs/lpc4330-xplorer/nsh/defconfig
	nuttx/configs/lpc4330-xplorer/ostest/defconfig
	nuttx/configs/lpcxpresso-lpc1768/README.txt
	nuttx/configs/lpcxpresso-lpc1768/dhcpd/defconfig
	nuttx/configs/lpcxpresso-lpc1768/nsh/defconfig
	nuttx/configs/lpcxpresso-lpc1768/nx/defconfig
	nuttx/configs/lpcxpresso-lpc1768/ostest/defconfig
	nuttx/configs/lpcxpresso-lpc1768/thttpd/defconfig
	nuttx/configs/lpcxpresso-lpc1768/usbstorage/defconfig
	nuttx/configs/m68332evb/defconfig
	nuttx/configs/mbed/README.txt
	nuttx/configs/mbed/hidkbd/defconfig
	nuttx/configs/mbed/nsh/defconfig
	nuttx/configs/mcu123-lpc214x/README.txt
	nuttx/configs/mcu123-lpc214x/composite/defconfig
	nuttx/configs/mcu123-lpc214x/nsh/defconfig
	nuttx/configs/mcu123-lpc214x/ostest/defconfig
	nuttx/configs/mcu123-lpc214x/usbserial/defconfig
	nuttx/configs/mcu123-lpc214x/usbstorage/defconfig
	nuttx/configs/micropendous3/README.txt
	nuttx/configs/micropendous3/hello/defconfig
	nuttx/configs/mirtoo/README.txt
	nuttx/configs/mirtoo/nsh/defconfig
	nuttx/configs/mirtoo/nxffs/defconfig
	nuttx/configs/mirtoo/ostest/defconfig
	nuttx/configs/mx1ads/ostest/defconfig
	nuttx/configs/ne64badge/README.txt
	nuttx/configs/ne64badge/ostest/defconfig
	nuttx/configs/ntosd-dm320/nettest/defconfig
	nuttx/configs/ntosd-dm320/nsh/defconfig
	nuttx/configs/ntosd-dm320/ostest/defconfig
	nuttx/configs/ntosd-dm320/poll/defconfig
	nuttx/configs/ntosd-dm320/thttpd/defconfig
	nuttx/configs/ntosd-dm320/udp/defconfig
	nuttx/configs/ntosd-dm320/uip/defconfig
	nuttx/configs/nucleus2g/README.txt
	nuttx/configs/nucleus2g/nsh/defconfig
	nuttx/configs/nucleus2g/ostest/defconfig
	nuttx/configs/nucleus2g/usbserial/defconfig
	nuttx/configs/nucleus2g/usbstorage/defconfig
	nuttx/configs/olimex-lpc1766stk/README.txt
	nuttx/configs/olimex-lpc1766stk/ftpc/defconfig
	nuttx/configs/olimex-lpc1766stk/hidkbd/defconfig
	nuttx/configs/olimex-lpc1766stk/nettest/defconfig
	nuttx/configs/olimex-lpc1766stk/nsh/defconfig
	nuttx/configs/olimex-lpc1766stk/nx/defconfig
	nuttx/configs/olimex-lpc1766stk/ostest/defconfig
	nuttx/configs/olimex-lpc1766stk/slip-httpd/defconfig
	nuttx/configs/olimex-lpc1766stk/thttpd/defconfig
	nuttx/configs/olimex-lpc1766stk/usbserial/defconfig
	nuttx/configs/olimex-lpc1766stk/usbstorage/defconfig
	nuttx/configs/olimex-lpc1766stk/wlan/defconfig
	nuttx/configs/olimex-lpc2378/nsh/defconfig
	nuttx/configs/olimex-lpc2378/ostest/defconfig
	nuttx/configs/olimex-stm32-p107/nsh/defconfig
	nuttx/configs/olimex-stm32-p107/ostest/defconfig
	nuttx/configs/olimex-strp711/nettest/defconfig
	nuttx/configs/olimex-strp711/nsh/defconfig
	nuttx/configs/olimex-strp711/ostest/defconfig
	nuttx/configs/pcblogic-pic32mx/README.txt
	nuttx/configs/pcblogic-pic32mx/nsh/defconfig
	nuttx/configs/pcblogic-pic32mx/ostest/defconfig
	nuttx/configs/pic32-starterkit/README.txt
	nuttx/configs/pic32-starterkit/nsh/defconfig
	nuttx/configs/pic32-starterkit/nsh2/defconfig
	nuttx/configs/pic32-starterkit/ostest/defconfig
	nuttx/configs/pic32mx7mmb/README.txt
	nuttx/configs/pic32mx7mmb/nsh/defconfig
	nuttx/configs/pic32mx7mmb/ostest/defconfig
	nuttx/configs/pjrc-8051/defconfig
	nuttx/configs/qemu-i486/nsh/defconfig
	nuttx/configs/qemu-i486/ostest/defconfig
	nuttx/configs/rgmp/arm/default/defconfig
	nuttx/configs/rgmp/arm/nsh/defconfig
	nuttx/configs/rgmp/x86/default/defconfig
	nuttx/configs/rgmp/x86/nsh/defconfig
	nuttx/configs/sam3u-ek/README.txt
	nuttx/configs/sam3u-ek/knsh/defconfig
	nuttx/configs/sam3u-ek/nsh/defconfig
	nuttx/configs/sam3u-ek/nx/defconfig
	nuttx/configs/sam3u-ek/ostest/defconfig
	nuttx/configs/sam3u-ek/touchscreen/defconfig
	nuttx/configs/sim/mount/defconfig
	nuttx/configs/sim/nettest/defconfig
	nuttx/configs/sim/nsh/defconfig
	nuttx/configs/sim/nsh2/defconfig
	nuttx/configs/sim/nx/defconfig
	nuttx/configs/sim/nx11/defconfig
	nuttx/configs/sim/nxffs/defconfig
	nuttx/configs/sim/nxwm/defconfig
	nuttx/configs/sim/ostest/defconfig
	nuttx/configs/sim/pashello/defconfig
	nuttx/configs/sim/touchscreen/defconfig
	nuttx/configs/skp16c26/ostest/defconfig
	nuttx/configs/stm3210e-eval/Kconfig
	nuttx/configs/stm3210e-eval/README.txt
	nuttx/configs/stm3210e-eval/RIDE/defconfig
	nuttx/configs/stm3210e-eval/buttons/defconfig
	nuttx/configs/stm3210e-eval/composite/defconfig
	nuttx/configs/stm3210e-eval/nsh/defconfig
	nuttx/configs/stm3210e-eval/nsh2/defconfig
	nuttx/configs/stm3210e-eval/nx/defconfig
	nuttx/configs/stm3210e-eval/nxconsole/defconfig
	nuttx/configs/stm3210e-eval/nxlines/defconfig
	nuttx/configs/stm3210e-eval/nxtext/defconfig
	nuttx/configs/stm3210e-eval/ostest/defconfig
	nuttx/configs/stm3210e-eval/pm/defconfig
	nuttx/configs/stm3210e-eval/src/up_idle.c
	nuttx/configs/stm3210e-eval/usbserial/defconfig
	nuttx/configs/stm3210e-eval/usbstorage/defconfig
	nuttx/configs/stm3220g-eval/Kconfig
	nuttx/configs/stm3220g-eval/README.txt
	nuttx/configs/stm3220g-eval/dhcpd/defconfig
	nuttx/configs/stm3220g-eval/include/board.h
	nuttx/configs/stm3220g-eval/nettest/defconfig
	nuttx/configs/stm3220g-eval/nsh/defconfig
	nuttx/configs/stm3220g-eval/nsh2/defconfig
	nuttx/configs/stm3220g-eval/nxwm/defconfig
	nuttx/configs/stm3220g-eval/ostest/defconfig
	nuttx/configs/stm3220g-eval/src/Makefile
	nuttx/configs/stm3220g-eval/src/stm3220g-internal.h
	nuttx/configs/stm3220g-eval/src/up_boot.c
	nuttx/configs/stm3220g-eval/src/up_nsh.c
	nuttx/configs/stm3220g-eval/telnetd/defconfig
	nuttx/configs/stm3240g-eval/Kconfig
	nuttx/configs/stm3240g-eval/README.txt
	nuttx/configs/stm3240g-eval/dhcpd/defconfig
	nuttx/configs/stm3240g-eval/include/board.h
	nuttx/configs/stm3240g-eval/nettest/defconfig
	nuttx/configs/stm3240g-eval/nsh/defconfig
	nuttx/configs/stm3240g-eval/nsh2/defconfig
	nuttx/configs/stm3240g-eval/nxconsole/defconfig
	nuttx/configs/stm3240g-eval/nxwm/defconfig
	nuttx/configs/stm3240g-eval/ostest/defconfig
	nuttx/configs/stm3240g-eval/telnetd/defconfig
	nuttx/configs/stm32f4discovery/README.txt
	nuttx/configs/stm32f4discovery/include/board.h
	nuttx/configs/stm32f4discovery/nsh/defconfig
	nuttx/configs/stm32f4discovery/nxlines/defconfig
	nuttx/configs/stm32f4discovery/ostest/defconfig
	nuttx/configs/stm32f4discovery/pm/defconfig
	nuttx/configs/sure-pic32mx/README.txt
	nuttx/configs/sure-pic32mx/nsh/defconfig
	nuttx/configs/sure-pic32mx/ostest/defconfig
	nuttx/configs/sure-pic32mx/usbnsh/defconfig
	nuttx/configs/teensy/README.txt
	nuttx/configs/teensy/hello/defconfig
	nuttx/configs/teensy/nsh/defconfig
	nuttx/configs/teensy/src/up_spi.c
	nuttx/configs/teensy/usbstorage/defconfig
	nuttx/configs/twr-k60n512/README.txt
	nuttx/configs/twr-k60n512/nsh/defconfig
	nuttx/configs/twr-k60n512/ostest/defconfig
	nuttx/configs/ubw32/README.txt
	nuttx/configs/ubw32/nsh/defconfig
	nuttx/configs/ubw32/ostest/defconfig
	nuttx/configs/us7032evb1/nsh/defconfig
	nuttx/configs/us7032evb1/ostest/defconfig
	nuttx/configs/vsn/README.txt
	nuttx/configs/vsn/nsh/defconfig
	nuttx/configs/xtrs/nsh/defconfig
	nuttx/configs/xtrs/ostest/defconfig
	nuttx/configs/xtrs/pashello/defconfig
	nuttx/configs/z16f2800100zcog/ostest/defconfig
	nuttx/configs/z16f2800100zcog/pashello/defconfig
	nuttx/configs/z80sim/nsh/defconfig
	nuttx/configs/z80sim/ostest/defconfig
	nuttx/configs/z80sim/pashello/defconfig
	nuttx/configs/z8encore000zco/ostest/defconfig
	nuttx/configs/z8f64200100kit/ostest/defconfig
2012-08-26 16:26:39 -07:00
patacongo 029bbeb3db Add terminating NULL to argv[] list
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5055 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-26 22:28:21 +00:00
Lorenz Meier 2963dc679a Driver debugging (scaling, ranges, endianess) MPU-6000 needs more love 2012-08-26 23:48:16 +02:00
patacongo fe493d8bb8 Fix some list handling associated with priority inheritance
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5053 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-26 21:35:14 +00:00
Lorenz Meier 56e66a80cd Printing fixes 2012-08-26 15:01:08 +02:00
Lorenz Meier dfa5cc52d5 MS5611 test is now printing floats. Note that the issue with the scheduled reads of the sensor started BEFORE this change and is thus unrelated. 2012-08-26 14:52:44 +02:00
Lorenz Meier 848c156140 Added negative float printing to test range 2012-08-26 14:51:52 +02:00
Lorenz Meier 207b077d8a Cleaned up scaling / offset handling for mag and gyro / acc 2012-08-26 14:51:33 +02:00
Lorenz Meier 6026595d83 Fixed axis assignment and raw value outputs. Scaling and offsets to be done 2012-08-26 13:51:18 +02:00
px4dev 656bc9e2ce Documentation, cleanup. 2012-08-25 19:56:29 -07:00
px4dev efda95101f Streamline mag and baro topic advertisement now that handles are global.
Use perf counters for error counting in mag/baro drivers.
2012-08-25 19:27:12 -07:00
px4dev 35009cd332 clean up an error message 2012-08-25 19:09:23 -07:00
px4dev 93f26e3c96 Factor out the ADC code. 2012-08-25 19:09:10 -07:00
px4dev 665014a3e0 Run accel/gyro at 500Hz as intended. 2012-08-25 18:31:12 -07:00
px4dev a1b17326a4 Fix sensor subscriptions.
Default to publishing.
Make the sensors command and the sensors task visibly distinct in a task listing.
Correctly check for bma180/l3gd20 in use.
2012-08-25 18:27:34 -07:00
px4dev 26244c43f2 make the I2C and SPI device signons distinct 2012-08-25 18:26:21 -07:00
px4dev 5c6b6038a7 turn off debug output from the mpu6000 driver 2012-08-25 18:25:56 -07:00
px4dev 544d427155 fix warn() not printing error strings. 2012-08-25 18:25:39 -07:00
px4dev e05ef2bcab Let's do the sensors in C++. It's much tidier. 2012-08-25 16:13:38 -07:00
px4dev 30e0354fd8 Add some C++ friendliness. Not enough, but some. 2012-08-25 16:12:48 -07:00
px4dev f2ab85756c This field can't be const, it's written to. 2012-08-25 16:12:27 -07:00
px4dev e51b23d309 Now that it's safe to perform SPI transfers from interrupt context, re-enable the mpu6000 auto-poller. 2012-08-25 13:15:23 -07:00
px4dev e5e2d7216c Make it non-fatal to perform SPI transfers from interrupt context. 2012-08-25 13:15:23 -07:00
Lorenz Meier 380d136483 Fixed a few readout bugs in sensors app 2012-08-25 21:44:01 +02:00
Lorenz Meier b0493e9aec Merge branch 'px4dev_new_driver' of github.com:PX4/Firmware into px4dev_new_driver 2012-08-25 21:31:09 +02:00
px4dev 23d8b69e3d Sensor drivers should run all the time, not just when their device is open.
Disable this for the mpu6000 driver though, as it's currently busted in that regard.
2012-08-25 11:52:44 -07:00
Lorenz Meier 731621a309 Merge branch 'px4dev_new_driver' of github.com:PX4/Firmware into px4dev_new_driver 2012-08-25 20:42:05 +02:00
px4dev 0dc0a0539d Increase the retry count while probing for I2C sensors. This will also unwedge stuck sensors. 2012-08-25 10:53:14 -07:00
Lorenz Meier 656596896a Merge branch 'px4dev_new_driver' of github.com:PX4/Firmware into px4dev_new_driver 2012-08-25 19:30:43 +02:00
Lorenz Meier 8eeba595ee Improved param load / store text feedback, ported sensors app to new driver model, ready for merge and test 2012-08-25 19:16:12 +02:00
patacongo d6b8fcdcf0 Prep for 6.21 release
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5052 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-25 16:40:31 +00:00
px4dev 4456ca8827 Sensor IOCTL reorganization. Common sensor operations are now shared across sensor drivers.
Revamp hmc5883, ms5611 and mpu6000 driver startup and test code.
2012-08-25 00:12:11 -07:00
px4dev f901a35bd4 Remove erroneous sensor read timing checks. 2012-08-24 08:55:30 -07:00
px4dev d55dd67d77 Remove spurious I2C clock frequency resets. 2012-08-24 08:18:18 -07:00
Lorenz Meier d12c09cc86 improvements / debugging on I2C drivers 2012-08-24 14:58:14 +02:00
Lorenz Meier 45e178eaa3 Made error message more verbose 2012-08-24 11:50:01 +02:00
Lorenz Meier a1b99a3f03 Kicked out mix_and_link, deleted old MPU driver, disabled (still needed for reference) old HMC and MS5611 drivers. Removed driver init from up_nsh.c. Reworked fixedwing_control to be closer to up-to-date api, still more clean up needed. Fixed a bug that limited the motor thrust for multirotor control 2012-08-24 11:40:42 +02:00
px4dev 0472eeae05 Add EEPROM read/write performance counters. 2012-08-23 23:15:55 -07:00
px4dev 5ef6a41012 Add a modified version of the stock AT24xx EEPROM driver tweaked for our uses.
Use I2C_TRANSFER to avoid racing with other devices on the bus.
Clock at 400kHz.
2012-08-23 23:04:26 -07:00
px4dev f28a757f92 We need to init the gyro subdevice, or there is no device node. Oops. 2012-08-23 20:32:13 -07:00
Lorenz Meier 295e9da1ba Added required scalings, added gyro to MPU6000 test, changed sensors app to read from new drivers 2012-08-24 02:16:26 +02:00
Lorenz Meier 0e44d3810e Removed old file 2012-08-24 00:01:35 +02:00
Lorenz Meier 62e07358b4 Ported almost everything to new param interface, ready for serious testing 2012-08-24 00:01:23 +02:00
Lorenz Meier b07de1379d moved commander to new param interface 2012-08-23 20:45:28 +02:00
Lorenz Meier 88f75ebc00 Ported attitude controller to new param interface 2012-08-23 13:31:40 +02:00
Lorenz Meier a7266d539c Bolted new param interface into the sensors app, continuing porting across codebase 2012-08-23 09:44:26 +02:00
px4dev a0b9c056d7 Add a bus reset on I2C error. Also add a mechanism for automated retries of operations. 2012-08-22 22:25:10 -07:00
Lorenz Meier 5f259e41d5 Sensor readout, testing and driver adjustments 2012-08-22 16:20:05 +02:00
Lorenz Meier fa9f145b08 Fixed a bunch of issues in the arming state machine for multirotors, arming / disarming works fine now. Porting of various processes needed 2012-08-22 14:35:22 +02:00
px4dev 44ff4d4ee2 Fix parameter change advertisement to conform to API change. 2012-08-22 01:09:06 -07:00
px4dev 1eccfb7ccb Add link to the BSON spec. 2012-08-22 01:08:43 -07:00
Lorenz Meier d2e757aa3c Merged parameter changes 2012-08-22 09:19:43 +02:00
Lorenz Meier 72979032e9 Merge branch 'master' into px4dev_new_param 2012-08-22 08:56:33 +02:00
px4dev 88f0080a0f Fix an architectural issue with the ORB that prevented publication from interrupt context.
ORB topic advertisements are now global handles that can be used in any context.  It is still possible to open a topic node as a publisher, but it's not the default.  As a consequence, the type of the handle returned from orb_advertise has changed; all other API remains the same.
2012-08-21 23:44:22 -07:00
px4dev 8c22e2a092 Whitespace 2012-08-21 22:30:04 -07:00
px4dev 5f77561ed4 Fix output scaling for the hmc5883 driver. Add data checking, and fix an issue where the ORB topic could not be published due to being advertised in the wrong context. 2012-08-21 22:05:42 -07:00
px4dev 63831fa908 Fix an issue where the baro ORB topic was advertised from the wrong context and thus could not be published to. 2012-08-21 22:04:38 -07:00
px4dev a0ae2cb175 Add a set of ORB topics for advertising actuator outputs.
This is part of \#7
2012-08-21 20:14:43 -07:00
Lorenz Meier f3c1a7475d Improved tuning for current attitude estimation hack, needs to be removed ASAP 2012-08-21 17:42:24 +02:00
px4dev 228fbb975a New-style driver for the HMC5883 on I2C. 2012-08-21 01:09:03 -07:00
Lorenz Meier c8645a7e53 Added more params, old read-in code not yet replaced 2012-08-21 09:02:09 +02:00
Lorenz Meier 89f36087da Fixed and improved error messages for MAVLink param read / write 2012-08-21 08:33:35 +02:00
px4dev 14e60e9b4d Back out a change that snuck in from another branch. 2012-08-20 21:46:52 -07:00
px4dev 503cb0ea03 Add an ORB topic that can be subscribed for notification of changes in the parameter set. 2012-08-20 21:17:50 -07:00
px4dev a043702af5 Merge branch 'master' into px4dev_new_param 2012-08-20 18:03:12 -07:00
px4dev 3246568c82 sscanf field widths seem to be broken, don't use them. 2012-08-20 17:59:21 -07:00
Lorenz Meier d1261e227c Porting to new param interface, updated mixers 2012-08-20 23:52:13 +02:00
Lorenz Meier df07ff8056 Merge branch 'master' of github.com:PX4/Firmware into px4dev_new_param 2012-08-20 19:38:40 +02:00
px4dev 4ddf93bd06 Tweak the MAVlink parameter load/save path to deal with NXFFS. 2012-08-20 09:55:53 -07:00
Lorenz Meier 821306bc4d Allow to disable USB interface (but leave it enabled as default), give uORB more stack space 2012-08-20 17:48:31 +02:00
Lorenz Meier d17bbc7a0b Minor fixes to EEPROM params 2012-08-20 17:26:59 +02:00
pixhawk 801697c540 fixed sensors error printing 2012-08-20 16:08:27 +02:00
Lorenz Meier e3fffa23e0 Merge branch 'master' into px4dev_new_param 2012-08-20 13:16:09 +02:00
Lorenz Meier 78db6c990b Testing larger stack for sensors app 2012-08-20 13:11:19 +02:00