1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-07 18:46:06 +01:00
Commit Graph

6744 Commits

Author SHA1 Message Date
PT_Dreamer
40415f606e Merge branch 'pt/CC3D_Release' of ssh://git.openpilot.org/OpenPilot into pt/CC3D_Release 2012-08-06 19:01:48 +01:00
Chris Pember
89a8b05422 fixed tab order, a little spacing tweak onadvanced page 2012-08-06 10:32:01 -07:00
Stacey Sheldon
017d8c79c9 hid joystick: add missing .c file
This time for sure...
2012-08-06 11:49:03 -04:00
Stacey Sheldon
d44e24a150 hid joystick: add missing .h files 2012-08-06 11:42:44 -04:00
Stacey Sheldon
ef0c12b1b6 hid joystick: emulate a USB HID joystick using RC Transmitter
Adds a new RCTransmitter setting for the USB HID interface which
emulates a USB HID joystick.  The scaled RC receiver channels
from any RCVR protocol are passed through to the various emulated
joystick controls.

The main use for this feature is to allow you to use your own RC
transmitter with any RC simulator on a PC.

This is known to work with CRRCsim but should work with any simulator
that supports joystick input.
2012-08-05 21:45:27 -04:00
Chris Pember
c600014f2f merged the weak leveling and axis lock to same group 2012-08-05 14:04:42 -07:00
Chris Pember
bcb23bb779 pre-spinner value align shift 2012-08-05 12:44:36 -07:00
Chris Pember
56dfed2e8b pre-spinner value align shift 2012-08-05 12:41:19 -07:00
Chris Pember
17bcdb6113 resized the default buttons areas, moved the entire sensor tuning to expert, fixed apply layout spacing 2012-08-04 23:03:56 -07:00
Chris Pember
72749a1ce1 resized the default buttons areas, moved the entire sensor tuning to expert, still WIP 2012-08-04 23:03:00 -07:00
James Cotton
d201cad768 Connect correct signal to relay tuning so the UI populates the calculated
stabilization settings.
2012-08-04 12:03:53 -05:00
James Cotton
096f940fee Reenable the flash version now Stac's fix is tested. 2012-08-04 12:03:41 -05:00
James Cotton
d6c485459f Fix error Stac caught in sin_lookup 2012-08-04 00:33:20 -05:00
Chris Pember
0d2e307885 resized the save area on stabi page, added axislock and weakleveling to advanced menu 2012-08-03 22:01:54 -07:00
Mike LaBranche
0643f59b85 Merge branch 'pt/CC3d_Release' of ssh://gitolite@git.openpilot.org/OpenPilot.git into CC3D_Release
Conflicts:
	ground/openpilotgcs/src/plugins/uavobjectwidgetutils/popupwidget.cpp
2012-08-03 14:36:16 -07:00
Mike LaBranche
b621b057b6 remove overo? 2012-08-03 14:31:54 -07:00
Mike LaBranche
38e521fc1a TelemetryWidget: set AlignCenter, chasing osx render correctness. 2012-08-03 13:52:35 -07:00
PT_Dreamer
df61d33f66 GCS- Added the ability to have more than 1 ui limit per index 2012-08-03 18:57:24 +01:00
James Cotton
8eac518a9c If the sin table is empty don't attempt to use it and return 0. 2012-08-03 12:43:50 -05:00
James Cotton
ccbbda1b51 Make default tuning mode Attitude to make it easier on people like me :) 2012-08-03 12:41:00 -05:00
James Cotton
f3dc2dc2ad Store 180 deg in flash now and even make the flash and ram version share a
lookup method.  Still don't get the same results.
2012-08-03 12:31:15 -05:00
PT_Dreamer
d043d53a3d Merge branch 'pt/boardbased_ui_limits' of ssh://git.openpilot.org/OpenPilot into pt/boardbased_ui_limits 2012-08-03 18:16:50 +01:00
James Cotton
9f3c8dddd3 Add a version of the sin lookup table that is in ram instead of flash 2012-08-03 12:15:57 -05:00
PT_Dreamer
4d19062059 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into pt/boardbased_ui_limits 2012-08-03 18:14:51 +01:00
James Cotton
490955dbea Use cos_lookup instead of sin_looup(x+90) 2012-08-03 11:34:05 -05:00
Fredrik Arvidsson
3bc1fbd8f1 Merge branch 'next' into thread/OP-39 2012-08-03 18:33:39 +02:00
Fredrik Arvidsson
86f210e7f4 OP-39 Added code to jump from the SetupWizard directly to the InputWizard in the ConfigurationPlugin to complete the vehicle setup and realize the 1-2-Fly idea.
Re-factored some code in the ConfigurationPlugin.
Fixed a bug in the Levelling page when performing levelling multiple times.
2012-08-03 18:31:47 +02:00
Mike LaBranche
83c920799d TelemetryWidget: rescaled .svg; transparent background; hide data rates when not connected. 2012-08-03 09:24:26 -07:00
James Cotton
3982ad0046 Enable AUTOTUNE by default for CC 2012-08-03 09:37:47 -05:00
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