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

2878 Commits

Author SHA1 Message Date
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
erhard
eab8421e5f OP-99 gcs Import/Export Plugin: Support configurable plugins
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2732 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-05 14:01:18 +00:00
pip
9a5d099a79 Started to write the PPM, spectrum scanner and continuous packet stream modules.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2731 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-05 13:45:16 +00:00
peabody124
56d4d54a97 CC: Increase the memory for the modules after removing PriTxTask from CC and
also increase the telem queue to decrease event errors (can be reverted later if
we need the memory back)

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2730 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-05 10:52:59 +00:00
peabody124
f97d853c80 Make the PriTx queue optional which saves 700 bytes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2729 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-05 10:52:52 +00:00
andrew
0a70df7e5b OP-299 Swashplate Levelling UI
More levelling UI not functional yet.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2728 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-05 05:30:42 +00:00
peabody124
efca295ea0 Modules/Guidance: Fix a bug Corvus caught
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2727 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-05 01:14:55 +00:00
pip
41768be215 Allows modem mode to be set - BUT NOT YET IMPLIMENTED, use NORMAL mode for now.
Fixed bug in pipx plugin import function - wasn't restoring the AES key.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2726 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-04 23:00:48 +00:00
erhard
b0cc3d1f5f OP-232 gcs configuration: Override configuration on comand line
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2725 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-04 21:24:55 +00:00
pip
d377b417df Fixed export double confirmation dialogues.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2724 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-04 18:06:01 +00:00
pip
901b6f3882 Import/Export PipX setttings now working.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2723 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-04 17:29:52 +00:00
pip
f6391b1803 Added RSSI dBm value as text to the GUI.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2722 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-04 16:17:57 +00:00
pip
14505ed9dc Added 230400, 460800 & 921600 #defines for windows
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2721 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-04 15:47:21 +00:00