60 Commits

Author SHA1 Message Date
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
px4dev
93c200d281 Add new 'task_spawn' interface for starting new tasks in the PX4 world 2012-10-01 00:02:38 -07:00
Lorenz Meier
7949ac1ad8 Fixed heading calculation, fixed heading controller 2012-09-29 18:00:01 +02:00
Julian Oes
0eae48d480 Merge remote-tracking branch 'upstream/ardrone' 2012-09-25 18:19:12 +02:00
Julian Oes
6b0ed71ae0 Simplified magnetometer calibration routine 2012-09-25 16:36:33 +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
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
px4dev
b1767480d2 Some fixes for getopt_long 2012-09-10 00:16:30 -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
5c7f7f5a4c Fixed a & vs && bug 2012-09-07 14:54:31 +02:00
px4dev
97bdb9482a Turn off annoying debug output. 2012-09-04 23:36:57 -07:00
px4dev
62682d805e Avoid a couple of unnecessary promotions to double. 2012-09-03 23:21:41 -07:00
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