1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00
Commit Graph

4246 Commits

Author SHA1 Message Date
Edouard Lafargue
6514ea5262 Finally, a fix for the Mac UAVTalk issues: it was all caused by a wrong RunLoop pointer reference
because of multithreading.
2011-10-11 00:10:27 +02:00
James Cotton
9cbb48417a Merge branch 'long_erase_settings' into next 2011-10-08 14:18:56 -05:00
James Cotton
7da8cb2079 CC: After attitude calibration always reenable BiasCorrectGyro. Fixes odd bug
if people have it crash in the middle.
2011-10-08 14:15:48 -05:00
James Cotton
0f1a6264de Fix jtag programming of bootloader 2011-10-08 14:14:11 -05:00
zedamota
a8a7cce7d8 test commit 2011-10-08 18:28:46 +01:00
James Cotton
5dc0f397a6 OP-499 Erase settings bug: Make hte flash chip read a wrong value for 1 second
before wiping settings.
2011-10-07 14:08:56 -05:00
James Cotton
4b04a5d9ea Merge remote-tracking branch 'origin/pt/mixer_bug' into next 2011-10-06 21:33:59 -05:00
Edouard Lafargue
de8478718c Attempt to make USB faster on Mac. Breaks the Firmware upload system!!! 2011-10-05 00:38:56 +02:00
Edouard Lafargue
c06c08e831 Merge branch 'next' into ed_mac_halt_bug 2011-10-03 23:05:52 +02:00
Oleg Semyonov
7800fbe6de gps: initialize GPS UAVO and start GPS module only if port is configured 2011-09-29 00:41:51 +03:00
Oleg Semyonov
469feecb13 pios: remove some unused #defines 2011-09-28 23:40:12 +03:00
Oleg Semyonov
ed8cf89888 Initcall: fix compilation errors for firmware which does not use Initcalls 2011-09-28 22:57:18 +03:00
Oleg Semyonov
a38c569cd0 HwSettings: move Telemetry and add GPS port speed to the HwSettings object
TelemetrySettings object removed (saved 200+ bytes of RAM). Telemetry
port speed moved to the HwSettings object. Added GPS port speed setting.
GCS code updated to reflect changes and support both fields.
2011-09-28 22:11:42 +03:00
Oleg Semyonov
53c098dd08 Merge branch 'next' into os/GPS-on-CopterControl_next_v2
Conflicts:
	flight/OpenPilot/System/pios_board.c
	flight/OpenPilot/UAVObjects.inc
	shared/uavobjectdefinition/hwsettings.xml
2011-09-28 22:02:02 +03:00
zedamota
898d3c980d Cosmetic changes to the Debug plugin
One more fix to the mixer bug
2011-09-27 22:10:39 +01:00
James Cotton
a53f2353a5 Merge branch 'ed_mac_halt_bug' into next 2011-09-25 15:19:22 -05:00
zedamota
797bb38081 mixer bug fix.
Also added a new debug plugin witch shows the debug messages normally not available on release builds
2011-09-25 19:30:32 +01:00
James Cotton
3e61e21e89 Output config UI: Add labels for what things are 2011-09-25 10:50:06 -05:00
Edouard Lafargue
822cbfbc81 Fix MacOS halt issues by using the USBMonitor to detect device re-insertion:wq: 2011-09-25 15:28:08 +02:00
James Cotton
f1e70d2ff5 Merge remote-tracking branch 'origin/msmith/OP-578' into next 2011-09-23 16:43:00 -05:00
zedamota
352620e0ed Mixer bug while import fix (try to) 2011-09-23 13:48:27 +01:00
zedamota
246318af7b Mixer bug fix try 2011-09-22 12:02:22 +01:00
Oleg Semyonov
a9137e9db1 TxPID: add update mode option as a workaround for GCS interaction 2011-09-19 16:16:28 +03:00
Oleg Semyonov
aad263bdd8 TxPID: enable ramp-shaped throttle-dependent PIDs
Besides of knob PID tuning it is now possible to use throttle channel
to ramp-shape PID coefficients. This can be used to lower some PIDs on
VTOL while sinking to prevent wobble.

To use the feature select throttle as control input, choose throttle
range max and min values, assign the instance to particular PID
coefficient and define a range for it. When throttle is lower than
defined throttle range min value (or higher than max), then min and max
PID values will be used accordingly. Changing throttle from throttle
min to max will linearly scale PID value.

Note that it is possible to set MinPID > MaxPID. In that case increasing
control input value will decrease the PID coefficient.

Up to 3 independent instances can be configured. The number can be
increased changing the UAVO definition, but at the cost of extra RAM.
2011-09-18 14:38:50 +03:00
Oleg Semyonov
d923117c25 TxPID: optional module to tune PID settings using R/C transmitter
This module will periodically update values of stabilization PID settings
depending on configured input control channels. New values of stabilization
settings are not saved to flash, but updated in RAM. It is expected that the
module will be enabled only for tuning. When desired values are found, they
can be read via GCS and saved permanently. Then this module should be
disabled again.
2011-09-17 22:49:51 +03:00
Oleg Semyonov
abe5136de0 uavobjgenerator: enable '+' character in object field names
Useful for names like "Pitch+Roll" or similar. Will be removed
from symbolic indentifiers.
2011-09-17 22:48:41 +03:00
James Cotton
acf2aa218b Merge remote-tracking branch 'origin/stac/upgrade-to-openocd-0.5.0' into next 2011-09-14 11:49:01 -05:00
James Cotton
b3329a0547 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into next 2011-09-13 10:35:24 -05:00
Oleg Semyonov
c92870d29e Remove unused file (versionblob.py) 2011-09-13 16:10:10 +03:00
James Cotton
06fc5a1110 Input Configuration: Fix flight mode slider detection (looking at wrong channel
number).
2011-09-12 22:28:28 -05:00
James Cotton
c36297227d Stabilization fix typo 2011-09-12 11:56:01 -05:00
James Cotton
84f38eab78 HISTORY update 2011-09-12 11:52:59 -05:00
James Cotton
63bb80649b Merge branch 'max_rate_for_attitude' into next 2011-09-12 11:51:03 -05:00
James Cotton
b32f6d9383 History.txt update 2011-09-12 11:50:11 -05:00
James Cotton
6bd52832be Heli configuration: Now the collective passthrough uses the collective channel
only.  Please note this requires all heli users to scrub their settings and
start over.  Please erase your setting and be careful.  Remove all blades.
2011-09-12 11:47:59 -05:00
James Cotton
d5a4104df8 Merge branch 'master' into next
Conflicts:
	MILESTONES.txt
2011-09-11 18:55:22 -05:00
James Cotton
8f2fad6918 Fix for merging with the collective channel with the swashplate fix. 2011-09-11 18:53:10 -05:00
James Cotton
6457276438 Merge branch 'input_configuration' into next 2011-09-11 18:52:35 -05:00
Oleg Semyonov
f5369f9338 Input Configuration: support all 18 S.Bus input channels 2011-09-12 02:06:50 +03:00
Oleg Semyonov
7b3056d10f Input Configuration: fix S.Bus receiver in multi-receiver code 2011-09-12 02:06:48 +03:00
dankers
bcf200bc4f Add CC M&P for Daniel 2011-09-12 09:06:30 +10:00
James Cotton
ae74706b20 Update URL to ARM SDK 2011-09-11 17:19:31 -05:00
James Cotton
b38081bb1b Stabilization: When in none mode zero the integral accumulators for rate and
attitude loops.  When not using outer loop zero that accumulator.
2011-09-11 16:33:38 -05:00
Mike Smith
deade53c5d OP-578 - check for CODE_SOURCERY before setting -fpromote-loop-indices 2011-09-11 10:49:09 -07:00
James Cotton
6945f17eba Make the StabilizationSettings.MaxRate field only apply to the stabilized
modes.  That way ManualRate can exceed MaxRate.
2011-09-11 12:27:17 -05:00
James Cotton
5d43a8dd36 Input configuration; Remove some old unused variables 2011-09-11 12:24:48 -05:00
James Cotton
3ff7bf7ed0 Input Configuration: Make sure the input channel form always is properly
aligned.  I hope the fixed size behaves well across platforms.
2011-09-11 12:11:15 -05:00
James Cotton
ce1c56260d Input Configuration: Refacfor the code a lot to clear up handling the state and
transitions to make back and cancel a bit more reliable.
2011-09-11 12:11:02 -05:00
James Cotton
aad41ebb4f Merge branch 'mainboard_receiver_fix' into next 2011-09-10 16:01:22 -05:00
James Cotton
01cd2ded57 Mainboard config: The rcvr port is used for PPM/PWM/Spektrum so make these one
setting that is mutually exclusive.
2011-09-10 14:20:51 -05:00