91 Commits

Author SHA1 Message Date
px4dev
37682f852f Clean up perf counters attached to an HX protocol stream. 2012-11-03 01:14:25 -07:00
px4dev
e36bd4b243 Fix transmit error reporting. 2012-11-03 01:14:24 -07:00
px4dev
ea539031da Cleanup and refactor of the PX4IO firmware and board support. Builds, not tested yet. 2012-11-03 01:14:24 -07:00
Lorenz Meier
82c4dbaaa8 param load / store cleanup, storage location selection now exclusively through dedicated "param select <path>" command 2012-11-02 15:21:37 +01:00
Lorenz Meier
55515f2e7e Merge branch 'master' of github.com:pixhawk/Firmware 2012-11-02 12:50:15 +01:00
Tobias Naegeli
80ac43e21d Fine tuning of manual control 2012-11-01 16:50:52 +01:00
px4dev
8bfceef89c Remove the arbitrary limit on the path to the default parameter file. Add a verb to the param command to set the default parameter file. 2012-10-31 12:59:24 -07:00
Lorenz Meier
fbdf30b7d4 Merge branch 'master' of github.com:PX4/Firmware 2012-10-31 17:09:11 +01:00
Lorenz Meier
0ddfd7c75c New param interface for microSD and EEPROM 2012-10-31 16:31:21 +01:00
Lorenz Meier
8dcde7f8cd prevent double-precision promotion where its not required 2012-10-31 15:49:01 +01:00
Lorenz Meier
939fc83c4a Fix compile warnings 2012-10-31 15:44:45 +01:00
px4dev
b685d46dbf Clean out remains of the old EEPROM driver. 2012-10-30 20:51:45 -07:00
px4dev
66da4395b4 Kill the old board info code. 2012-10-29 23:07:15 -07:00
px4dev
0616d58340 Add 'show' and 'test' verbs to the boardinfo command. Teach rcS how to use the new version. 2012-10-29 21:47:51 -07:00
px4dev
7203ba797e bson-based boardinfo working 2012-10-29 21:47:51 -07:00
px4dev
3420e7b828 Fix param handling of 32-bit BSON nodes 2012-10-29 21:47:51 -07:00
px4dev
4c18aced36 BSON coder unit tests, fixes arising from test failures. 2012-10-29 21:47:51 -07:00
px4dev
3d750bc38c Build fixes 2012-10-29 21:47:50 -07:00
px4dev
c522b5446d Work in progress on to/from memory BSON coding. 2012-10-29 21:47:50 -07:00
px4dev
98791bc674 Remove reboot() API, replace with a prototype for up_systemreset() which is portable. 2012-10-27 22:42:43 -07:00
px4dev
22b0add293 Turn off C++ constructor debug messages. 2012-10-27 21:51:18 -07:00
px4dev
f04c522f4f Get us a bit closer to having c++ static constructors working. 2012-10-27 21:42:27 -07:00
px4dev
2fc1032069 Major formatting/whitespace cleanup 2012-10-23 23:51:13 -07:00
px4dev
c3fe915b44 Checkpoint - moving things out of the NuttX configs/*/src directories 2012-10-23 23:51:12 -07:00
Lorenz Meier
64c5096c9f Merged with fixed-wing stabilization work, multirotor control tested 2012-10-22 14:42:50 +02:00
Doug Weibel
1e0a34a102 Add functions for computation of the distance and bearing to the nearest point of a line segment or arc segment. 2012-10-21 16:39:53 -06:00
px4dev
cf6e763c58 Beat up on the mavlink app startup a bit. 2012-10-14 22:40:18 -07:00
Doug Weibel
0a0215338a Merge branch 'master' of https://github.com/PX4/Firmware 2012-10-13 16:38:18 -06: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
px4dev
a2ab5e8691 Don't treat end-of-document-structure as an error. 2012-10-08 22:37:18 -07: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
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