Commit Graph

47 Commits

Author SHA1 Message Date
px4dev 0d89da96a3 Adjust the mixer tables for observed yaw sign behavior. 2012-09-03 02:45:33 -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
px4dev 255b0f68af Let's not get too smart; we can't const these. 2012-08-28 23:37:23 -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
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
px4dev 544d427155 fix warn() not printing error strings. 2012-08-25 18:25:39 -07:00
px4dev 30e0354fd8 Add some C++ friendliness. Not enough, but some. 2012-08-25 16:12:48 -07:00
Lorenz Meier 62e07358b4 Ported almost everything to new param interface, ready for serious testing 2012-08-24 00:01:23 +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
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
px4dev f20c61ccdf Various BSON codec fixes. Simple load/save test is working now. 2012-08-20 04:06:44 -07:00
px4dev 56bba7816f Merge branch 'px4dev_new_param' of https://github.com/PX4/Firmware into px4dev_new_param 2012-08-20 01:53:37 -07:00
px4dev cc7a9c9b66 Update for the new BSON coders. Not working right yet. 2012-08-20 01:52:39 -07:00
px4dev 26c2c2d2cf Goodbye to the Mongo BSON codec; too big. Hello to a really small SAX-style decoder and matching encoder. 2012-08-20 01:52:21 -07:00
Lorenz Meier 2c8fafd12a Reworked MAVLink parameter interface to support new parameter storage, tested. 2012-08-20 09:07:33 +02:00
Lorenz Meier 4a7f92fad0 Merge branch 'px4dev_new_param' of github.com:PX4/Firmware into px4dev_new_param 2012-08-20 07:51:07 +02:00
Lorenz Meier fd04ab0d44 Fixed / extended comments 2012-08-20 07:50:56 +02:00
px4dev f8efb60b59 Major cleanup of the param code; more layering, more comments. Parameter import. 2012-08-19 22:15:29 -07:00
Lorenz Meier e28af802ce Merge branch 'master' into px4dev_new_param 2012-08-19 17:08:48 +02:00
Lorenz Meier dae0b922f1 Added deamon example, reworked / merged multirotor attitude control. Ready for AR.Drone interface changes and integration tests 2012-08-19 15:52:59 +02:00
Lorenz Meier 85bc4f683a Cleaned up position control (WIP), moved PID structs (should become classes) to systemlib, added deamon app example 2012-08-19 11:29:07 +02:00
px4dev d903311dce Add support for setting and exporting parameters. 2012-08-19 01:31:27 -07:00
px4dev a9dc84231e Import of the Mongo C-BSON library with light modifications for PX4.
From https://github.com/mongodb/mongo-c-driver.git at 8ae2c57e95a3939850a77fb9329c129b2bcfcd1a
2012-08-19 01:31:27 -07:00
px4dev 2c85075221 Import of Troy Hanson's uthash package, v1.9.6 2012-08-19 01:31:27 -07:00
px4dev d91f5f3dd7 The beginnings of a new parameter system. 2012-08-19 01:31:26 -07:00
px4dev fcad5b52c5 Teach err.c how to live without standard I/O 2012-08-18 22:24:58 -07:00
px4dev 99d5ec78a1 Add <err.h> modeled on the BSD functions of the same name; this will let us clean up a lot of output from various shell tools. 2012-08-18 12:57:52 -07:00
Lorenz Meier 46c4b987cc Various fixes for params interface 2012-08-16 15:49:56 +02:00
px4dev e84d0f41fa fix a fatal one-character typo in the multirotor output scaling logic 2012-08-16 00:10:58 -07:00
px4dev 5198a9daf7 New multirotor mixer; builds, not yet tested. 2012-08-15 00:46:15 -07:00
px4dev 34118c72ef mechanical style fixups 2012-08-14 08:47:04 -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
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
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
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 b5f7adfc10 Many Doxygen style fixes 2012-08-05 11:27:02 +02:00
px4dev 8a365179ea Fresh import of the PX4 firmware sources. 2012-08-04 15:12:36 -07:00