pip
e2b22039f1
Darkend scope curve indicator area to try to make it easier to match the colour with a scope line.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2782 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 21:04:31 +00:00
osnwt
eec4959391
UAVSettings Import/Export plugin (import is not implemented yet).
...
This plugin registers itself in the GCS File menu and allows to save the settings database (all UAVObjects which have settings flag set) into an XML file. No import function is implemented yet, but the XML is human-readable and can be used to enter values by hand.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2781 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 20:11:41 +00:00
pip
74502852c3
Added GYRO calibration detection into the adc_callback() routine - to pass raw values when calibrating the gyro's.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2780 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 20:04:25 +00:00
edouard
d0d5d2db4e
OP-308 Make actuators read-only and set them to zero when running calibration, so that engines cannot be started by accident.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2779 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 19:10:29 +00:00
peabody124
52f09e5d55
Add compile time flag (USE_SPEKTRUM) to enable spektrum support until the
...
dynamic switching is done.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2778 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 17:43:44 +00:00
edouard
bcdad47e1c
OP-308 Added a warning in red to warn users about engines connected during calibration.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2777 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 17:08:45 +00:00
stac
967bb9bb9c
pipx: COM device ids are now 32bit not 8bit
...
The COM layer now uses 32bit device ids rather than
8bit. All code that stores these ids must now use
uint32_t to hold them.
Since these 32bit numbers are really just opaque
pointers, it is (reasonably) safe to assume that
they won't be 0. The logic around tracking the
*_previous_com_port could probably be cleaned up
to remove that assumption.
Missed this fixup in the recent hwinit changes.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2776 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 15:54:26 +00:00
sambas
f3bce1705b
OP-22 Flight/PiOS: Spektrum fix, OP tested on ground not flown yet, CC not tested.
...
pios_rcinput.[ch] outdated
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2775 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 13:10:02 +00:00
pip
e5c56e462e
Oscilloscope now has finer lines for seeing detail.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2774 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 10:11:51 +00:00
stac
66a9d53d0a
hwinit: Convert I2C driver to dynamic init
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2773 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-12 22:19:54 +00:00
stac
3fda65c5d3
hwinit: Convert SPI drivers to dynamic init
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2772 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-12 22:19:50 +00:00
stac
841b0d3d6d
hwinit: Convert COM and USART to dynamic init
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2771 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-12 22:19:43 +00:00
stac
ec8135bd5d
gpsposition: minor text changes to description text
...
No functional change.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2770 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-12 22:19:38 +00:00
dankers
21a06956c1
Update Milestones with Oleg's fixed wing demo of CopterControl.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2769 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-12 18:19:42 +00:00
corvus
92156a6d13
Milestone: long eange telemetry.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2768 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-10 22:37:19 +00:00
edouard
40fc5f9618
More descriptive label for arming settings.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2767 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-10 22:36:42 +00:00
dankers
1d6efb31c3
Added Sambas' first flight with an untuned CopterControl.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2766 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-10 00:06:20 +00:00
peabody124
ebb8596db0
AHRS: FIx calibration. Move the mag data processing into the loop that acquires accel and gyro
...
data. I don't like this but because of the way the calibration routine works
(sets all gains to 1) this makes the values so far out or range the EKF doesn't
get to run and the mag wasn't previously being updated.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2765 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-09 05:17:32 +00:00
andrew
b793a33baf
OP-299 Swashplate Levelling UI
...
Minor graphics tweaks
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2764 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-09 05:04:07 +00:00
edouard
04ba1261f0
OP-311 New "Arming" tab in the config widget to setup how the airframe is armed.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2763 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-08 16:49:33 +00:00
peabody124
93ee2765be
Whitespace fix (removing spaces)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2762 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-08 16:34:58 +00:00
peabody124
8498512855
CC-20 Attitude initialization: Make sure no divide by 0 condition possible
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2761 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-08 16:34:55 +00:00
peabody124
9ed0882df9
PiOS/USART: Apply same fix as Spektrum to force read of DR whenever there is an
...
error flag set
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2760 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-08 16:34:52 +00:00
peabody124
7e78e8af04
CC-21 PiOS/Spektrum: Prevent condition that can tie up USART interrupt and locks up
...
CC. Must always read the DR to clear the error flags.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2759 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-08 16:34:49 +00:00
peabody124
a3ba9c3781
CC-21 Make it possible to enable Spektrum on CC, although it eats up S6 in
...
order to free a timer. Mode PIOS_DELAY (not working cleanly) to TIM3 because
Spektrum resets TIM2 count.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2758 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-08 16:34:45 +00:00
peabody124
d2e5c7c301
Ground/Config: Allow negative yaw for people whos motors are all backwards
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2757 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-08 16:34:42 +00:00
peabody124
58a0cce89b
Fix for OSX to enumerate serial ports correctly
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2756 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-08 16:34:38 +00:00
peabody124
9f71f4121c
CC-18 Attitude: Change units to proper engineering ones. An accelKp=1 means
...
that it will completely follow the accel attitude each cycle and is way too
high. Ki=1 means the gyro bias wil be correct by accels each cycle (way too
high).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2755 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-08 16:34:35 +00:00
peabody124
cfe295377c
CC-18: Normalize the gravity vector to unity gain
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2754 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-08 16:34:31 +00:00
peabody124
74cc7dbfc9
CC-20 Attitude: Jack up Kp and Ki values for first 5 seconds to force faster
...
convergence of gyro bias, then the normal values can be lower.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2753 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-08 16:34:28 +00:00
peabody124
6ac2ddb0c1
CC: Make default build non-debug. This leaves a bit more RAM overhead.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2752 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-08 16:34:24 +00:00
peabody124
682b49df44
CC: Increase the SPI clock rate to minimize time spent in that routine
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2751 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-08 16:34:21 +00:00
peabody124
03fb82ad0a
CC Attitude: Change when AttitudeRaw is set to end of attitude estimation,
...
because this is what is determines when the Stabilization code executes.
Because we aren't oversampling gyros relative to the PID in CC we should set
the attitude first (computational time to do so is negligible).
Also change update rate to 500 Hz.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2750 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-08 16:34:18 +00:00
edouard
536123e9c3
OP-298 Flight mode position slider should now work properly in the config widget, please confirm it's OK for you too...
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2749 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-08 14:29:05 +00:00
pip
d12868f1a3
A few more #define capitalizations.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2748 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-07 12:30:27 +00:00
pip
73d134ad98
Removed unused code, bit of a clean up.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2747 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-07 12:29:35 +00:00
andrew
2496c41ea2
OP-299 Swashplate Levelling UI
...
More levelling UI basic functions implemented.
Not tested for Flight use at own risk
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2746 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-07 03:05:30 +00:00
pip
b2eb141c10
100mW appears to be working again. A few bug fixes.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2745 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-06 21:21:50 +00:00
FredericG
d7fc7646b0
OP-246 UAVOBJ CHANGE - Setting to disable arming/disarming
...
options="Always Disarmed,Always Armed,Roll Left,Roll Right,Pitch Forward,Pitch Aft,Yaw Left,Yaw Right" defaultvalue="Always Disarmed"
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2744 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-06 16:16:20 +00:00
pip
6559615ef8
Made quite a few constants/#defines capitals (previously lower case)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2743 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-06 10:55:08 +00:00
sambas
14641cd353
Fix, was outputting "\n" strings into InitMods.c which failed to build
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2742 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-06 07:21:45 +00:00
stac
4e6b539086
debugpins: Add definitions for debug pins
...
Not yet used anywhere but will eventually allow
debug pins to be assigned during runtime init based
on configuration found in a new uavobject.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2741 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-06 01:03:06 +00:00
stac
9f595842dd
modinit: put initcalls on separate lines
...
This makes it easier to step through the module init
sequence in gdb.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2740 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-06 01:03:02 +00:00
stac
a67c9ddb98
makefile: misc cleanup
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2739 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-06 01:02:59 +00:00
erhard
d53bf143e8
OP-310 GCS Welcome Plugin: Prevent saving of configuration as workaround for OP-232
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2738 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-05 22:35:18 +00:00
erhard
0ab4ccef9d
OP-232 GCS Configuration: Add general Option to not save settings on exit.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2737 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-05 22:20:36 +00:00
corvus
afdaf88d4a
UAVObjects: Allow Generation and Initialisation of individual UAVObjects
...
per target as defined in Makefile (and/or Make include file) For
OpenPilot this is flight/OpenPilot/UAVObjects.inc For sim_posix and
sim_win32 needs rebuild of uavobjectgenerator and uavobjects!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2736 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-05 22:17:40 +00:00
erhard
250e154067
OP-231 OP-232 GCS Configuration: Commandline options to handle reset of configuration
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2735 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-05 21:00:48 +00:00
erhard
5eab9bf7e6
OP-232 GCS Configuration: Reset Settings. Proper functioning is blocked by OP-310.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2734 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-05 20:20:01 +00:00
dankers
037ff44436
Update RSS location, not final currently but enables me to test if it works.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2733 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-05 15:59:46 +00:00