1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-14 21:23:52 +01:00
Commit Graph

6815 Commits

Author SHA1 Message Date
James Cotton
fc2f8376bc Prevent an alarm from ManualControlCommand when using autotuning mode. 2012-08-03 09:37:47 -05:00
James Cotton
50c7641162 Move the PID methods into a standalone library 2012-08-03 09:37:46 -05:00
James Cotton
2723ff4be3 Factor the virtual flybar code out of the stabilization module 2012-08-03 09:37:46 -05:00
James Cotton
aae0e562c6 Create a sine lookup table that is cached in flash and make relay tuning start
ot use this.
2012-08-03 09:37:46 -05:00
James Cotton
924c91ce1e Fix mistake from previous merge with duplicate the STABILIZATIONOMDE_ATTITUDE
case
2012-08-03 09:37:46 -05:00
James Cotton
8565dfbcc3 Factor the relay tuning out of the main stabilization.c file into it's own
tool.
2012-08-03 09:37:46 -05:00
James Cotton
ee4bb84e36 Fix: Increase teh memory for autotune back to 1024 which leaves 100 free. 2012-08-03 09:37:46 -05:00
James Cotton
561cf994b0 Reduce the memory footprint of the sin lookup table by using sin(x+pi) =
-sin(x).  Still just needs to move into flash and have some options about
precision when in its own library function.
2012-08-03 09:37:46 -05:00
James Cotton
652647fc87 Make autotuning module optional 2012-08-03 09:37:46 -05:00
James Cotton
d0ef95ff9a Fix idiotic bug in the stab_refactor 2012-08-03 09:37:46 -05:00
James Cotton
c3df203d7c Make the autotune UI allow recomputing the values based on the measured system
properties.
2012-08-03 09:37:45 -05:00
James Cotton
2ccd6605a4 Now the stabilization refactor is in we can make swapping between tuning the
system in rate or attitude mode software configurable.
2012-08-03 09:37:45 -05:00
James Cotton
24d9e50c08 Based on the selected behavior either apply or save the stabilization settings 2012-08-03 09:37:45 -05:00
James Cotton
28539a80d1 Change default tuning settings 2012-08-03 09:37:45 -05:00
James Cotton
7ea14ecc22 Track the output gain instead of amplitude so the measured values are
consistent if the settings are changed afterwards.
2012-08-03 09:37:45 -05:00
James Cotton
5c00451c9e Remove unused value field from the relaytuning object 2012-08-03 09:37:45 -05:00
James Cotton
52ffec0be4 Increase the initial tuning amplitude to 0.15 2012-08-03 09:37:45 -05:00
James Cotton
dfd1aceb06 More work on autotune from GCS 2012-08-03 09:37:45 -05:00
James Cotton
c365a9c7ff Add stub for the autotune configuration widget 2012-08-03 09:37:45 -05:00
James Cotton
17878b32f3 Make autotune run within an attitude loop instead of direct rate mode. Easier
for beginners.
2012-08-03 09:37:44 -05:00
James Cotton
48362f56f6 Enable autotune as an optional CC module 2012-08-03 09:37:44 -05:00
James Cotton
a9af53b4f3 Create new autotuning module which rotates through the axes for autotuning and
then computes new stabilization settings.
2012-08-03 09:37:44 -05:00
James Cotton
44e72d0a70 A big refactoring of stabilization.c to get rid of the two separate loops and
move them into one big structure.  This makes it easier to implement other
modes.
2012-08-03 09:37:44 -05:00
James Cotton
e01c5d5f87 Get online estimation of period and amplitude working 2012-08-03 09:37:44 -05:00
James Cotton
4ac8df6aa8 Make the system perform an online estimate of the period and amplitude of the
oscillation during relay tuning
2012-08-03 09:37:44 -05:00
James Cotton
17a0d3ebb4 Add a relay stabilization mode 2012-08-03 09:37:44 -05:00
James Cotton
9ce7d9b4ac Add UAVOs for relay tuning 2012-08-03 09:37:44 -05:00
James Cotton
c1a0f176eb Merge branch 'master' into next 2012-08-03 09:37:22 -05:00
James Cotton
dafc455bfa Increase the manualcontrol stack size based on Stac's comments 2012-08-03 09:36:59 -05:00
James Cotton
6948f1dc41 Merge remote-tracking branch 'origin/master' into next
Conflicts:
	package/winx86/translations/strings_de.nsh
2012-08-03 09:35:18 -05:00
David Ankers
8ec9355a29 Merge remote-tracking branch 'origin/pt/CC3d_Release' into pt/CC3D_Release
Conflicts:
	ground/openpilotgcs/src/plugins/config/stabilization.ui
2012-08-03 15:41:33 +10:00
David Ankers
c673e5c586 Merge remote-tracking branch 'origin/CC3D_Release' into pt/CC3D_Release 2012-08-03 15:38:09 +10:00
Chris Pember
4de9cd89f7 micro GCs layout, redesigned layouts again for stabi screen 2012-08-02 22:14:39 -07:00
Mike LaBranche
5320a73adc TelemetryWidget: tweeks and bugfixes. 2012-08-02 21:19:25 -07:00
Mike LaBranche
f5bd860be1 TelemetryWidget: tweek datarate text locations. 2012-08-02 20:32:55 -07:00
Mike LaBranche
9ebf6d916a TelemetryMonitorWidget: tx/rx labels, 7 nodes, tx/rx rate text. 2012-08-02 19:33:20 -07:00
Mike LaBranche
63e5fc80ce TelemetryMonitorWidget: Alpha version with 12 dots. 2012-08-02 16:11:18 -07:00
David Ankers
73a4c60554 Add the auto take off and landing empty milestones.
These sould be a planned autolandings, controlled flight in terrain does
not count.  :)
2012-08-03 09:09:37 +10:00
David Ankers
eaefc8d2f9 Needed a clean up and some things added.
There are many more to add for sure, putting it in the branch as it might
get noticed and people can add what they have done, plus fill in some
blanks / add some more cool future Milestones.

There are also things like Stac's flight on Rockets to add.
2012-08-03 09:06:02 +10:00
PT_Dreamer
352f18bec0 GCS-Allow for more than 1 limit per index 2012-08-02 23:56:02 +01:00
David Ankers
4357f092a9 Remove a couple of artifact numbers from the PFD, start work on spacing
and layout.
2012-08-03 08:15:57 +10:00
David Ankers
64ab589c1b Fix from Berkely to the Uploader.ui 2012-08-03 06:28:08 +10:00
David Ankers
38e392d49e Update status bargraphs, stab mode is no longer hidden. Soem work to go on
other SVGs yet but these looks better than they did.

Removed GPS Staus from the top status bar, this will be intergraded in to
the PFD
2012-08-03 05:59:20 +10:00
Laura Sebesta
3e23163dde Improved static and update behavior. 2012-08-02 20:21:29 +02:00
Fredrik Arvidsson
40d5761a1d Merge branch 'next' into thread/OP-39 2012-08-02 19:51:36 +02:00
Kenz Dale
3e4f2e21ce Added context menu for switching UAV text output off. 2012-08-02 19:13:54 +02:00
PT_Dreamer
cb26100d65 GCS - Dummy commit to see if crucible notices this branch 2012-08-02 16:48:37 +01:00
PT_Dreamer
205d370eec GCS-Made the UI limits board specific 2012-08-02 16:34:48 +01:00
Kenz Dale
e26e996734 Added in time rings, using proper scaling. 2012-08-02 14:43:26 +02:00
Fredrik Arvidsson
6913b1b4de Added Levelling functionality. 2012-08-02 13:44:14 +02:00