px4dev
c3fe915b44
Checkpoint - moving things out of the NuttX configs/*/src directories
12 years ago
Doug Weibel
1e0a34a102
Add functions for computation of the distance and bearing to the nearest point of a line segment or arc segment.
12 years ago
px4dev
cf6e763c58
Beat up on the mavlink app startup a bit.
12 years ago
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.
13 years ago
px4dev
a2ab5e8691
Don't treat end-of-document-structure as an error.
13 years ago
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.
13 years ago
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.
13 years ago
px4dev
93c200d281
Add new 'task_spawn' interface for starting new tasks in the PX4 world
13 years ago
Lorenz Meier
7949ac1ad8
Fixed heading calculation, fixed heading controller
13 years ago
Julian Oes
6b0ed71ae0
Simplified magnetometer calibration routine
13 years ago
Lorenz Meier
de530d6ba1
General robustness improvements in PID struct, numerically close to bullet-proof, error reporting needs improvements still.
13 years ago
Lorenz Meier
8b951ec417
WIP on HIL
13 years ago
Lorenz Meier
a9b21886f3
Halfway-working fixed wing waypoint control, needs more effort
13 years ago
px4dev
b1767480d2
Some fixes for getopt_long
13 years ago
px4dev
6caa3038ba
Ok, all this hand-rolled option parsing is lame. Let's have a dose of getopt_long.
13 years ago
Lorenz Meier
5c7f7f5a4c
Fixed a & vs && bug
13 years ago
px4dev
97bdb9482a
Turn off annoying debug output.
13 years ago
px4dev
62682d805e
Avoid a couple of unnecessary promotions to double.
13 years ago
px4dev
0d89da96a3
Adjust the mixer tables for observed yaw sign behavior.
13 years ago
px4dev
732e23a883
Add some documentation for the warn/err functions.
13 years ago
Lorenz Meier
c816cca816
fixed a param save bug
13 years ago
px4dev
255b0f68af
Let's not get too smart; we can't const these.
13 years ago
px4dev
1a781c6c4a
Make the distinction between "parameter import" which merges parameters, and "parameter load" which blows away any current changes.
13 years ago
px4dev
f0286d1a10
Distinguish between the end of the top-level BSON object and an error so that parameter loading can complete.
13 years ago
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
13 years ago
Lorenz Meier
2a6a151342
Added common conversion functions
13 years ago
px4dev
544d427155
fix warn() not printing error strings.
13 years ago
px4dev
30e0354fd8
Add some C++ friendliness. Not enough, but some.
13 years ago
Lorenz Meier
62e07358b4
Ported almost everything to new param interface, ready for serious testing
13 years ago
px4dev
44ff4d4ee2
Fix parameter change advertisement to conform to API change.
13 years ago
px4dev
1eccfb7ccb
Add link to the BSON spec.
13 years ago
px4dev
14e60e9b4d
Back out a change that snuck in from another branch.
13 years ago
px4dev
503cb0ea03
Add an ORB topic that can be subscribed for notification of changes in the parameter set.
13 years ago
px4dev
3246568c82
sscanf field widths seem to be broken, don't use them.
13 years ago
px4dev
f20c61ccdf
Various BSON codec fixes. Simple load/save test is working now.
13 years ago
px4dev
cc7a9c9b66
Update for the new BSON coders. Not working right yet.
13 years ago
px4dev
26c2c2d2cf
Goodbye to the Mongo BSON codec; too big. Hello to a really small SAX-style decoder and matching encoder.
13 years ago
Lorenz Meier
2c8fafd12a
Reworked MAVLink parameter interface to support new parameter storage, tested.
13 years ago
Lorenz Meier
fd04ab0d44
Fixed / extended comments
13 years ago
px4dev
f8efb60b59
Major cleanup of the param code; more layering, more comments. Parameter import.
13 years ago
Lorenz Meier
dae0b922f1
Added deamon example, reworked / merged multirotor attitude control. Ready for AR.Drone interface changes and integration tests
13 years ago
Lorenz Meier
85bc4f683a
Cleaned up position control (WIP), moved PID structs (should become classes) to systemlib, added deamon app example
13 years ago
px4dev
d903311dce
Add support for setting and exporting parameters.
13 years ago
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
13 years ago
px4dev
2c85075221
Import of Troy Hanson's uthash package, v1.9.6
13 years ago
px4dev
d91f5f3dd7
The beginnings of a new parameter system.
13 years ago
px4dev
fcad5b52c5
Teach err.c how to live without standard I/O
13 years ago
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.
13 years ago
Lorenz Meier
46c4b987cc
Various fixes for params interface
13 years ago
px4dev
e84d0f41fa
fix a fatal one-character typo in the multirotor output scaling logic
13 years ago