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

1801 Commits

Author SHA1 Message Date
peabody124
4461aba6d6 Flight/Stabilization: Move to object event system. Latency from ahrs_comm
update to actuator update now ~0.7 ms.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1818 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 12:33:26 +00:00
peabody124
b9943645e0 Flight/Actuator: Run actuator from queue again, latency well behaved.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1817 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 12:33:20 +00:00
edouard
b5eb89ed5e OP-138 Added Reset button for curves, and display of value when moving a curve point.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1816 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 08:40:46 +00:00
edouard
b385ce961e OP-138 Modify Mixer curve to use values from 0 to 1 instead of -1 to +1, since the actuator module in OP works in the 0-1 range. Comments welcome on this.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1815 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 07:28:12 +00:00
edouard
b32da232cb OP-138 Persistent (to SD) saves of all mixer settings working now (was missing two objects earlier).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1814 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 07:18:11 +00:00
martin
712725f3d3 Update Russian translation
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1813 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 23:05:04 +00:00
cranphin
9c705aedf1 GCS: Removed last 'binary' config reading support, for layout/splitter settings.
Again, use the previous version to convert old config files if needed :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1812 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 20:55:15 +00:00
cranphin
b418fe18bf GCS: Control, Tiny fix to center the big red dots :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1811 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 20:14:39 +00:00
dankers
b868bba1df Small CREDITS.txt update for Jose's latest work. Please tell me if I miss anything with this, its important to me that it is correct.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1810 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 17:56:31 +00:00
dankers
05896ec335 Update Sounds for Notify Plugin, update CREDITS.txt
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1809 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 12:21:54 +00:00
peabody124
c69f884f01 Ground/AHRS Calibration: Make sure it returns updateRaw to false after running
to stop from hammering telemetry and keep OP-AHRS smooth.  Also fixed bad
connection in magic waypoint.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1807 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 04:49:55 +00:00
peabody124
e2d63cbf19 Flight & Ground/AHRS Calibration: Made variance estimation into a two pass
approach again because ran out of numerical precision for single pass.  Also
made ground force the gyro signs to be correct.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1806 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 04:30:29 +00:00
peabody124
4caab584f1 Ground/AHRS Calibration: Hard code the signs of teh sensor calibrations to be
correct.  Six point calibration otherwise is sometimes inconsistent.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1805 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 01:20:34 +00:00
peabody124
25314ab92a Ground/UAVControl: Removed some debuggings and a qFatal in SDLGamepad for no
joystick found.  Changed gadget name to Controller to remove redundant UAV.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1804 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 01:20:29 +00:00
peabody124
f2d5db60da Remove debugging messages
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1803 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-30 01:20:26 +00:00
edouard
742987a314 OP-138 Small bugfix to prevent a crash when actuator settings are incoherent
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1802 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 19:40:11 +00:00
sambas
ee4ca7b93a OP-177 Flight: All alarms fixed, AHRSComms stack size made critical stack alarm, event warning caused by queue that is not used at the moment.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1801 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 19:06:35 +00:00
peabody124
a4e0ee5fdf Flight/Actuator: Move Les' actuator to the active one
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1800 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 18:51:36 +00:00
peabody124
2f6f76d578 Flight/Actuator: Remove old mixer code
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1799 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 18:51:34 +00:00
sambas
2d90a80e22 Flight/PiOS: this patch makes dosfs work with both MBR and VBR formats. Backup your SD files in case this messes something!! Testing needed.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1798 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 16:29:38 +00:00
peabody124
4e3325f3ba Ground/Libs: I'm an idiot, forgot to comment out sdllibrary itself
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1797 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 16:02:20 +00:00
peabody124
ce75434017 Ground/Plugins: Disable joystick control by default because of SDL dependency.
People will need to install SDL :(.  Anyone know if we can make the joystick
aspect of this code separate and detect at build time if they have the
requirements?

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1796 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 13:15:48 +00:00
edouard
434a9499e2 OP-52 Hide Connect/Disconnect buttons in telemetry mode. Unhide in other modes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1795 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 12:12:46 +00:00
peabody124
c95b1e6117 Ground/UAVControl: Working joystick support although currently not configurable
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1794 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 03:59:03 +00:00
peabody124
7d6163c746 Ground/SDLGamepad: Import the library. This and the next commit introduce SDL
as a dependency.  Please let me know if you have any problems.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1793 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-29 03:58:58 +00:00
edouard
a246c0f9ad OP-138 Corrected inconsistency with Quad-X read/write.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1792 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-28 19:44:55 +00:00
edouard
bd6754cd6b OP-138 Mixer: fixed wing works, and Quad-Plus and Quad-X configurations are supported. Not tested for obvious reasons, since I am working in the train.
You can check how this works for you and report bugs. Layout works fine with screens as small as 800x600.




git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1791 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-28 18:27:34 +00:00
kokomojoe
6f1f990d85 OP-21 AHRS/Bootloader - Moved start of user code to 0x08002000. Must be used with latest AHRS Bootloader compiled with DEBUG=OFF.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1788 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-28 02:21:48 +00:00
edouard
14af2b5726 OP-138 Small improvements and work on UI. Progressing slowly...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1787 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 20:38:39 +00:00
fredericg
f090b4bcf8 OP-174 ET OSD: Fixed build errors due to UABObject changes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1786 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 19:56:25 +00:00
peabody124
e1e629d6fb Ground/Joystick Control: Separated the logic for changing values from the
visualization to prepare for real joystick support.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1785 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 19:35:25 +00:00
peabody124
9b1d258a94 Flight/Les/Actuator: Space->Tab, somehow slipped passed previous patch
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1784 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 17:30:42 +00:00
sambas
21278e7a0e Ground/share: peabody was half sleep when making this, so here is the fix ;)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1783 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 15:47:10 +00:00
peabody124
aa42256ad1 Flight/Stabilization: Convert all PID loops to units of seconds instead of ms.
THIS MEANS YOU MUST RETUNE YOUR PID LOOP IF YOU'RE FLYING WITH IT

Alternatively divide Kd by 1000 and multiply Ki by 1000

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1782 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 09:04:43 +00:00
peabody124
c5863320fe Ground/AHRS Config: Made gyro bias computation happen on GCS during 6pt
calibration

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1781 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 07:48:28 +00:00
peabody124
22db0d8785 Ground/Share: Sorry, writing it more elegantly. Tired.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1780 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 07:48:26 +00:00
peabody124
bdcca823fc Ground/Share: Ok, previous patch for this messed up on windows. I'm making
Linux/Windows act like before but Linux people should check if they want the
mac version or not, I'd guess $(COPY_DIR) on mac more like osx.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1779 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 07:43:42 +00:00
peabody124
fef8cca5b6 Flight/Posix: Get compiling again (sorry Corvus, I think I messed up your
change earlier)

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1778 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 07:28:48 +00:00
peabody124
3c021c09d9 Flight/PiOS: Whitespace changes
find ./flight/PiOS/inc/ \! \( -name '*~' -a -prune \) -type f    | xargs -I{}
bash -c 'echo {}; dos2unix {}; gnuindent -npro -kr -i8 -ts8 -sob -ss -ncs -cp1
-il0 -hnl -l150 {};'

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1777 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 07:28:45 +00:00
peabody124
6d0df704a7 Flight/Modules: Corrected code to use tabs
find ./flight/OpenPilot/Modules/ \! \( -name '*~' -a -prune \) -type f    |
xargs -I{} bash -c 'echo {}; dos2unix {}; gnuindent -npro -kr -i8 -ts8 -sob -ss
-ncs -cp1 -il0 -hnl -l150 {};'

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1776 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 07:28:34 +00:00
peabody124
f74d64f0be Ground/Share: Remove the second $$dir to prevent copying the resource
directories into the directories on a second build.  Also checking for
resources using the configured path instead of the hardcoded one.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1775 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 07:28:23 +00:00
peabody124
b85e322206 Flight/FlightSituation: Remove unused module
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1774 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 07:28:21 +00:00
sambas
6eabaeba2c GCS compile problem fix, windows, QTCreator, qt 4.6.3
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1773 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 06:58:38 +00:00
sambas
9599bb384b uavobjectgenerator: user file removed
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1772 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-27 05:50:25 +00:00
erhard
9d5f82727f OP-99 Ground Import/Export Plugin: Add version-number to plugin configuration.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1771 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 17:34:23 +00:00
sambas
a46b46f939 Ground/hitlnew: makefiles removed from svn
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1770 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 15:02:12 +00:00
cranphin
c2fee8fc6d GCS: Right, fixed this the right way per suggestion of PeterG (Thanks :)
). Splitters now have 6 pixels of grab area on each side again, without
crashing 4.7.0.
I still is ugly code, but Qt leaves us no option :) Added some comments
to make this clear.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1769 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 09:29:23 +00:00
peabody124
da583e0914 Flight/Guidance: Disable by default
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1768 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 03:07:40 +00:00
peabody124
6d811cc4db OP-140 AHRS: Don't run INSGPS until OP says board is initialized. This will
also block heart beat.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1767 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 03:06:57 +00:00
peabody124
8475a68958 Flight/Stabilization: Keep command and error in deg/s for rate stabilization
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1766 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-26 03:06:54 +00:00