Commit Graph

710 Commits

Author SHA1 Message Date
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