Commit Graph

1692 Commits

Author SHA1 Message Date
patacongo 8de1d1d182 Update Olimex-LPC1766STK setenv.sh to make it faster to use CodeSourcery.
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5230 42af7a65-404d-4744-a932-0658087f49c3
2012-10-12 15:38:42 +00:00
patacongo e62b420882 Another dtoa() fix from Mike Smith
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5229 42af7a65-404d-4744-a932-0658087f49c3
2012-10-11 13:42:14 +00:00
px4dev d62ec78ab8 Remove obsolete warning. 2012-10-11 00:23:13 -07:00
px4dev 674b655236 Quick hack to print floating-point numbers that are powers of 10 less wrongly. 2012-10-11 00:22:22 -07:00
patacongo ca71c149e2 Document problem with GCC 4.8.3 and the NXFLAT tools
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5228 42af7a65-404d-4744-a932-0658087f49c3
2012-10-10 19:58:57 +00:00
patacongo b71fcbb0de More fixes for ldnxflat. There are still problems with the GCC 4.6.3
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5227 42af7a65-404d-4744-a932-0658087f49c3
2012-10-10 19:36:32 +00:00
patacongo 6cb1bc7e67 Oop. Part of last change was still in the editor
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5226 42af7a65-404d-4744-a932-0658087f49c3
2012-10-10 17:17:50 +00:00
patacongo ed4550ff48 Rename gnu-nxflat.ld to gnu-nxflat-gotoff.ld; Add gnu-nxflat-pcrel.ld
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5225 42af7a65-404d-4744-a932-0658087f49c3
2012-10-10 17:01:23 +00:00
Lorenz Meier 7ccc4f6096 Merge branch 'master' of https://github.com/tnaegeli/Firmware into tobi 2012-10-10 17:47:44 +02:00
Lorenz Meier 87ce36eef3 Fixed logging, merged 2012-10-10 17:47:28 +02:00
patacongo 47787872f2 Disable R_ARM_REL32 logic
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5224 42af7a65-404d-4744-a932-0658087f49c3
2012-10-10 14:54:11 +00:00
patacongo aae19db5c3 Add support for the R_ARM_REL32 relocation
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5223 42af7a65-404d-4744-a932-0658087f49c3
2012-10-10 13:50:31 +00:00
patacongo 3d754095f9 Change the default path to the buildroot bin/ directory in all setenv.sh files
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5222 42af7a65-404d-4744-a932-0658087f49c3
2012-10-10 12:56:02 +00:00
tnaegeli ec018e7b64 Merge branch 'master' of https://github.com/PX4/Firmware
Conflicts:
	apps/commander/state_machine_helper.c
	apps/multirotor_att_control/multirotor_att_control_main.c
	apps/multirotor_att_control/multirotor_rate_control.c
solved
2012-10-10 09:52:37 +02:00
px4dev 1e59a592a6 Split the parameter load/save commands out of the 'eeprom' command, since that's not really the obvious place for them. Add parameter printing functionality (though, it's a mess due to %f being busted)
Update the script examples to use the new command.
2012-10-09 22:45:36 -07:00
tnaegeli 613e12fcac working offboard 2012-10-09 16:31:04 +02:00
Lorenz Meier bd3f3b1031 Sensor rate and throttle inversion fixes 2012-10-09 16:26:29 +02:00
px4dev a2ab5e8691 Don't treat end-of-document-structure as an error. 2012-10-08 22:37:18 -07:00
Doug Weibel 77e6375920 Change parameter names in FW control to fit within MAVLink parameter name size limit 2012-10-08 14:14:43 -06:00
patacongo 50ecc59c27 Updates for new web site
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5221 42af7a65-404d-4744-a932-0658087f49c3
2012-10-08 18:12:53 +00:00
Lorenz Meier a29e8e00fa Merge branch 'tobi' 2012-10-08 18:02:49 +02:00
Lorenz Meier d068025fcd Fixed accel scale initialization 2012-10-08 18:01:04 +02:00
Lorenz Meier 0edd4063af Merge branch 'master' of github.com:PX4/Firmware into tobi 2012-10-08 18:00:00 +02:00
Lorenz Meier dd50c88f07 Fixed GPS lost issue, fixed accel scale initialization, fixed code style in rate controller 2012-10-08 17:59:43 +02:00
Doug Weibel 4fea0a3fc1 This commit changes the inner loop control structures for fixed wing attitude control. Nested rate and angle loops are used with limits on both the rate setpoint
A simple outer navigation loop is retained for navigation control.  This will be replaced later.  The pitch set point is hard coded to zero.  Pitch stabilization should work.

This commit compiles, but needs further testing.
2012-10-07 14:50:07 -06:00
Doug Weibel 2bb1d17c7e Changes to the PID controller. Adds "limit" to the parameter set. Implements an output limit where the output magnitude is limited by the parameter value "limit". Also changes the integrator saturation such that the integrator is not updated (added to) if either updating it will cause the integrator values magnitude to exceed "intmax" or if the output magnitude would exceed "limit" with an updated integrator value.
Arbitrary large limit values were hard coded into multirotor_attitude_control.c.  These should be changed to parametric values or something sensible.

This commit will temporarily break fixedwing_control.c.  A following commit will repair it along with significant changes to the inner loop control.

This commit has been tested to compile with fixedwing_control.c temporarily removed.  No other testing has been completed.
2012-10-07 14:46:26 -06:00
px4dev 4c14e4f5f1 Add a 'secret' subcommand to bl_update that manipulates the option bits to change the brown-out detector configuration.
This is an experiment to see if we can improve the boot-time behavior when powered off noisy supplies.
2012-10-06 16:08:07 -07:00
patacongo e8a8129808 Fix a recurring, cloned typo
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5220 42af7a65-404d-4744-a932-0658087f49c3
2012-10-06 20:10:31 +00:00
patacongo ee341514da All Cortex-M Make.defs files updated to use buildroot EABI toolchain if BUILDROOT=y selected
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5219 42af7a65-404d-4744-a932-0658087f49c3
2012-10-06 18:09:05 +00:00
patacongo 79e092e362 Update all config README.txt files to show that they use the EABI buildroot toolchain
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5218 42af7a65-404d-4744-a932-0658087f49c3
2012-10-06 17:29:36 +00:00
patacongo 4d23437df0 Several bugfixes, mostly from Darcy Gong
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5217 42af7a65-404d-4744-a932-0658087f49c3
2012-10-06 14:50:37 +00:00
patacongo a41bc3c2ff Eliminate a warning
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5216 42af7a65-404d-4744-a932-0658087f49c3
2012-10-06 00:27:17 +00:00
patacongo b9454627bc More changes for buildroot EABI toolchain
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5215 42af7a65-404d-4744-a932-0658087f49c3
2012-10-06 00:20:49 +00:00
patacongo 535398581c configs/shenzhou will now use the 4.6.3 buildroot EABI toolchain
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5214 42af7a65-404d-4744-a932-0658087f49c3
2012-10-05 23:43:05 +00:00
patacongo 1e36879126 Add buildroot support for binutils-2.22 and gcc-4.6.3; all buildroot tools are not called abc-nuttx-elf instead of abc-elf
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5213 42af7a65-404d-4744-a932-0658087f49c3
2012-10-05 23:01:51 +00:00
patacongo eb041b927a Fix some W25 driver errors
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5212 42af7a65-404d-4744-a932-0658087f49c3
2012-10-04 18:42:28 +00:00
patacongo 44a18f5361 Change all occurrences of CONFIG_EXAMPLE_ to CONFIG_EXAMPLES_ for consistency; fleshed out a few more Kconfig files
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5211 42af7a65-404d-4744-a932-0658087f49c3
2012-10-04 17:36:07 +00:00
patacongo b0eb4f3cce Change order of includes in apps/Makefile; add clock frequencies to shenzhou, fire, and olimex-stm32 board.h files
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5210 42af7a65-404d-4744-a932-0658087f49c3
2012-10-04 15:07:06 +00:00
Lorenz Meier 1318a0b954 Merge branch 'master' of https://github.com/tnaegeli/Firmware into tobi 2012-10-04 16:38:35 +02:00
Lorenz Meier 2fa0dec369 Back out testing changes that are a bit too much ahead of time for master 2012-10-04 16:38:11 +02:00
tnaegeli f292b03772 Merge branch 'master' of https://github.com/PX4/Firmware 2012-10-04 16:04:49 +02:00
tnaegeli 8dfa66cb97 Merge branch 'master' of https://github.com/PX4/Firmware
Conflicts:
	apps/commander/commander.c
	apps/multirotor_att_control/multirotor_att_control_main.c
	apps/multirotor_att_control/multirotor_rate_control.c
2012-10-04 16:01:42 +02:00
Lorenz Meier 67a2c8a173 Added controller parameters, added vicon position reading 2012-10-04 15:33:39 +02:00
Lorenz Meier 607e902b88 Cleaned up / simplified position control, attacking pos control implementation next 2012-10-04 14:50:34 +02:00
Lorenz Meier 2a06b66845 Fixed inner yaw rate loop 2012-10-04 10:56:55 +02:00
tnaegeli b9de72a8c9 Merge branch 'master' of https://github.com/PX4/Firmware 2012-10-04 09:29:46 +02:00
tnaegeli 733975ed2d fixed Rate controller 2012-10-04 09:28:04 +02:00
px4dev dfae108e6a Go back to the FIFO scheduler for now, as we don't have time to shake out the RR scheduler changeover just yet.
Make the "default" scheduler a centralized definition so that changes are easier in future.
2012-10-03 23:13:20 -07:00
patacongo e6656c077c Delete the apps/vsn directory (moved commands to apps/system)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5209 42af7a65-404d-4744-a932-0658087f49c3
2012-10-04 00:11:05 +00:00
patacongo 14b3f41aa6 Delete the apps/vsn directory (moved commands to apps/system)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5208 42af7a65-404d-4744-a932-0658087f49c3
2012-10-03 23:36:54 +00:00