17418 Commits

Author SHA1 Message Date
px4dev
6c4aadedf4 Switch back from max performance to size as the default optimization level. Individual modules can still override this if they need to. 2012-08-11 11:45:59 -07:00
px4dev
a2116d2058 Adjust sample mixer configurations and documentation to match new syntax. 2012-08-11 11:28:05 -07:00
px4dev
65aec69705 Syntax change to improve readability; output scalers are now labelled O: instead of looking like control scalers.
Make mixer terminology more consistent; mixer inputs are 'controls'.
2012-08-11 11:27:07 -07:00
Lorenz Meier
18c6c620c0 Added manual control abstraction layer, reworked sensors and ardrone_control apps to use it instead of direct RC channels 2012-08-11 19:45:32 +02:00
px4dev
42ace38e31 Don't try to mix if we have no mixer installed. 2012-08-11 10:34:54 -07:00
patacongo
0512367a9c Back out the last STM32 DMA priority change. It is not necessary; just dropping the SD frequency was sufficient
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5021 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-10 23:16:01 +00:00
patacongo
850df30e06 Drop STM32 F2/4 SDIO clock from 24 to 16 MHz. Seems to fix SD accesses on STM3240G-EVAL
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5020 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-10 22:42:46 +00:00
patacongo
7189150b33 STM32 SDIO DMA setup was losing DMA priority
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5019 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-10 22:01:12 +00:00
patacongo
35451abdd7 Add support for Olimex STM32-P107 board (contributed by Max Holtzberg)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5018 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-10 17:07:02 +00:00
Lorenz Meier
4eef4e1864 Ensured startup of USB link, updated port ids to read from 2012-08-10 16:18:45 +02:00
px4dev
67e0f8b179 Rework the mixer architecture based on discussions about arbitrary geometry mixing and plugins.
Now the mixer is a C++ library that can be fairly easily bolted into an output driver to provide mixing services.

Teach the FMU driver how to use it as an example.  More testing is still required.
2012-08-10 00:30:40 -07:00
patacongo
ddaa72597b STM32 CAN TX/RX pins reversed; inconsistent conditional compilation
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5017 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-08 23:23:15 +00:00
Lorenz Meier
04d280564c Merge branch 'master' of github.com:PX4/Firmware 2012-08-08 18:48:09 +02:00
Lorenz Meier
7a912a3fe4 Minor but important fixes across system 2012-08-08 18:47:46 +02:00
px4dev
2b6eca225f build fixes 2012-08-08 00:59:11 -07:00
px4dev
7a6a4b9352 Drop the X and + rotor mixers. We can't do multirotor mixing statically like that, as there is no mechanism for dealing with channel saturation. 2012-08-07 21:25:30 -07:00
patacongo
62cfd38241 Add a USB0 device header file for LPC43
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5016 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-07 23:51:47 +00:00
Lorenz Meier
1a3f78657e Fine tuning 2012-08-07 23:32:11 +02:00
Lorenz Meier
e9af999dc6 Introduced multirotor control 2012-08-07 23:15:04 +02:00
patacongo
ed303232fa Update documentation to describe customization of NSH; Add the framework for a LPC43xx USB0 driver (not functional)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5015 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-07 20:18:56 +00:00
Lorenz Meier
c519f28b98 minor polishing 2012-08-07 17:31:41 +02:00
Lorenz Meier
962a3464a6 Minor cleanups in WP handling 2012-08-07 17:24:48 +02:00
Ivan Ovinnikov
9536bfa3ca HIL fixed, fixedwing control fixes 2012-08-07 14:18:09 +02:00
Lorenz Meier
2b09a7914f Sending back current position setpoints (global and local) 2012-08-07 08:36:20 +02:00
Lorenz Meier
7f2a63eb96 Completed calibration state machine, calibration state now propagating to sensor, scale calibration soon 2012-08-06 23:43:09 +02:00
Lorenz Meier
f88bba0cec Merge branch 'master' of github.com:PX4/Firmware 2012-08-06 20:20:49 +02:00
patacongo
756fc3f2db Misc updates (minor)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5014 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-06 17:59:41 +00:00
px4dev
9fd948039c Restore Eclipse project configuration 2012-08-06 08:30:28 -07:00
patacongo
722430d4d2 Fix more floating point formatting bugs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5013 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-06 14:38:47 +00:00
px4dev
74b8e31fd8 VERY rough mixer definitions for quadrotors in X and + configuration using PX4FMU. 2012-08-05 20:20:46 -07:00
px4dev
528095a20b Add a simple passthrough mixer for testing. 2012-08-05 19:47:29 -07:00
px4dev
3860f72665 Sketchy diagnostic commands useful for testing. 2012-08-05 19:46:55 -07:00
px4dev
4f0875ab73 Reject mixer definition lines too short to be valid. 2012-08-05 19:46:27 -07:00
patacongo
181f52600b Fix a floating point presentation error
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5012 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-06 02:14:36 +00:00
patacongo
45b832c6ff cosmetic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5011 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-06 00:29:53 +00:00
px4dev
5c30722e77 More example mixers; three different fixed-wing configurations for FMU. 2012-08-05 16:54:50 -07:00
px4dev
6976fe4b19 We should ignore the ROMFS image file. 2012-08-05 16:32:47 -07:00
px4dev
cd3a49c3a2 This file is automatically generated and should not be checked in. 2012-08-05 16:31:31 -07:00
px4dev
c513f5ade8 Adjust some scaling factors for more precise PWM output. 2012-08-05 16:31:04 -07:00
px4dev
59962bc3da Add a sample mixer definition and documentation.
Add support for comments in mixer definitions.
2012-08-05 16:30:28 -07:00
px4dev
ae91f8338d More Sublime Text project ignores. 2012-08-05 14:19:48 -07:00
Lorenz Meier
31850115bb Merge branch 'master' of github.com:PX4/Firmware 2012-08-05 23:15:16 +02:00
Lorenz Meier
df42d0604e Using float precision where already anyway available 2012-08-05 23:15:03 +02:00
px4dev
9804447a66 More work on the mixer architecture.
Solve the multiple publishers issue with 'control groups', one group per controller.  Mixer inputs now specify both group and control offset within the group.

Avoid using %f when loading/saving mixers; use scaled integers instead.
2012-08-05 14:13:34 -07:00
px4dev
9804776a0c Checkpoint: more work in progress on mixer load/save 2012-08-05 14:13:33 -07:00
px4dev
145a6c4c49 Work in progress; standard mixer API and utility 2012-08-05 14:13:33 -07:00
Lorenz Meier
62e18b580c Minor cleanups in printing 2012-08-05 23:09:47 +02:00
Lorenz Meier
43a1c9edfd Merge branch 'master' of github.com:PX4/Firmware 2012-08-05 22:51:47 +02:00
Lorenz Meier
96b348af9f Minor fixes to HMC driver, mag calibration done 2012-08-05 22:51:31 +02:00
px4dev
0b352b24e3 Merge branch 'master' of https://github.com/PX4/Firmware 2012-08-05 13:44:59 -07:00