198 Commits

Author SHA1 Message Date
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
px4dev
42ace38e31 Don't try to mix if we have no mixer installed. 2012-08-11 10:34:54 -07: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
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
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
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
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
px4dev
59962bc3da Add a sample mixer definition and documentation.
Add support for comments in mixer definitions.
2012-08-05 16:30:28 -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
96b348af9f Minor fixes to HMC driver, mag calibration done 2012-08-05 22:51:31 +02:00
Lorenz Meier
139cd09176 Faster sensor bus resets on timeouts, massively reworked fixed wing app, tested 2012-08-05 15:56:24 +02:00
Lorenz Meier
b5f7adfc10 Many Doxygen style fixes 2012-08-05 11:27:02 +02:00
px4dev
4f4a3a48bf Build fix. 2012-08-04 15:56:30 -07:00
px4dev
f7ebc45871 Merge branch 'NuttX/master' 2012-08-04 15:29:34 -07:00
px4dev
8a365179ea Fresh import of the PX4 firmware sources. 2012-08-04 15:12:36 -07:00
patacongo
3ec93230f3 Fix max filename size report by FAT statfs with long file names; Add missing logic to support fieldwidth and justification for %s format; Add extended help options. Default help command just shows a short list of commands. Verbose and single command help options
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5008 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-04 22:00:18 +00:00
patacongo
2545e9bc4b Add the NSH df command
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5007 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-04 00:37:25 +00:00
patacongo
aa8c93baab Extend the NSH mount command so that it will enumerate mountpoints if no arguments are provided
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5006 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-03 23:47:32 +00:00
patacongo
606c031000 Improve capability to traverse inodes in the NuttX psuedo-filesystem; now returns statfs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5005 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-03 22:04:14 +00:00
patacongo
6913926a96 Move RAMLOG driver to drivers/syslog; Add ability to output debug information to any character device or file
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4996 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-08-02 00:42:46 +00:00
patacongo
cb77f5961d Add support for testing multiple ADC, PWM, and QE devices
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4993 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-30 16:51:43 +00:00
patacongo
10364c669f Lock the scheduler when starting NSH builtin applications to eliminate race conditions
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4988 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-28 18:38:13 +00:00
patacongo
3f57f313a1 PM update; NSH extension to catch return values
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4987 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-28 15:18:26 +00:00
patacongo
393b2646c2 Remove BOTHER
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4972 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-24 15:10:21 +00:00
patacongo
1e15a6d1cf Baud definitions (B9600 for example) are again encoded; Now supports the BOTHER settings which allows specifying the baud via c_ispeed and c_ospeed termios fields
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4970 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-23 15:37:13 +00:00
patacongo
ad37fa6505 Don't use strerror in apps/modbus; Add CONFIG_MB_TERMIOS to enable/suppress use of termios.h interfaces
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4968 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-22 17:41:19 +00:00
patacongo
200e62a958 Make serial setup configurale in apps/examples/modbus
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4966 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-21 23:03:37 +00:00
patacongo
2bc1ef34ad Missed a couple of files in the last check-in
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4965 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-21 21:24:51 +00:00
patacongo
dfa161e3c2 Use NuttX types in FreeModBus port; Add FreeModBus demo at apps/examples/modbus; Add new termios APIs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4964 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-21 21:23:18 +00:00
patacongo
68c76413ca FreeModBus now builds
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4963 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-21 16:18:16 +00:00
patacongo
358240268d Add FreeModBus to NuttX build system
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4962 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-21 15:33:53 +00:00
patacongo
4c2b6c49c9 FreeModBus is now integrated with the Nuttx configuration system
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4961 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-21 14:56:21 +00:00
patacongo
3eafac29cd Check-in of initial, unmodified freemodbus-v1.5.0
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4960 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-21 13:35:35 +00:00
patacongo
3f48ca481b Fix some questionable MAC addresses
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4956 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-19 22:32:19 +00:00
patacongo
0f1567878c Header file clean-up
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4948 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-17 03:58:11 +00:00
patacongo
91e5d3ac52 Prep for release 6.20
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4937 7fd9a85b-ad96-42d3-883c-3090e2eb8679
2012-07-12 17:57:31 +00:00