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

2716 Commits

Author SHA1 Message Date
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
pip
59a8b90653 Remove "toMSecsSinceEpoch" usage to be compatible with earlier versions of Qt
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2720 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-04 15:02:46 +00:00
pip
b50965ba9f Fixed AFC reading
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2719 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-04 10:03:47 +00:00
peabody124
04f54928d6 Modules/Guidance: Fix a bug Dale caught about not grabbing settings and also
correct a typo when NedAccel.Down wasn't used.  Finally increase stack size of
guidance task.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2718 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-03 20:00:00 +00:00
pip
768bdbba44 Little cleanup, spelling mistake etc. Not yet got the AFC reading working.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2716 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-03 14:33:09 +00:00
pip
7643cd2016 Added 3 more baudrate options for windows users .. 230400, 460800 & 921600
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2715 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-03 13:13:29 +00:00
pip
3bad7982dd Fixed RSSI when no signal received.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2714 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-03 13:12:30 +00:00
pip
ac5155f3d9 Increased RF packet ping speed if the GCS is monitoring the RSSI.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2712 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-03 11:31:34 +00:00
pip
0e3ae58c96 New PipX config protocol packets. YOU NEED TO RECOMPILE THE GCS PLUGIN to use this.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2711 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-03 07:05:32 +00:00
pip
54ccc4e58f New PipX config protocol packets - YOU NEED TO UPDATE YOUR PIPX FIRMWARE to use plugin.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2710 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-03 07:04:46 +00:00
peabody124
e5b26bc67d More memory tweaks to keep CC flowing
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2709 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-03 02:42:49 +00:00
peabody124
0de938090b Fix GCS problems with renaming the accels_filtered to accels. You'll have to
update your .ini file

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2708 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-03 02:42:46 +00:00
peabody124
fedadb1275 CC-8: Move the queue registration into the ADC PIOS driver to allow other
functions to use it easily

Conflicts:

	flight/Modules/Attitude/attitude.c

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2707 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-03 02:42:43 +00:00