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

975 Commits

Author SHA1 Message Date
les
05a85c8c95 New stabilization module based on PI-P algorithm used in FlightOS
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1864 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 20:39:23 +00:00
edouard
11d197b3fc Added planes to the GCS distrubution dir. Renamed all texture.jpg to TEXTURE.JPG so that all platforms can see the textures (3DS files refer to TEXTURE and linux is case-sensitive)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1861 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 20:28:49 +00:00
edouard
068c6bfa93 Added multirotors to the GCS distribution directory. Fixed the 'textures.jpg' case so that the textures work on every platform.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1860 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 20:22:52 +00:00
edouard
3d8f11dc36 Remove old Easystar directory which is not used anymore in the share directory
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1859 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 19:56:00 +00:00
peabody124
a9495e2cbb UAVObjects/AttitudeSettings: Remove unused object, moving data to AHRSettings.
Added attitude bias to AHRSSettings.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1855 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 18:14:34 +00:00
peabody124
754200f9cf UAVObjects/Delete old VTOLSettings object
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1854 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 18:14:27 +00:00
erhard
dd0d58f64f OP-99 GCS, Import/Export Plugin: Support for XML-File Format.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1852 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 16:13:28 +00:00
osnwt
9f34044d74 OP-175/Ground: Hopefully fixed some Modelview crashes on Windows due to VBO enabled by default in GLC_Lib.
Added debug message displaying current VBO states (enabled, supported, used) - check with mouse right-click.
Please confirm that this does not break the plugin on other systems and that VBO can be enabled and really
is used by GLC_lib on supported systems. Also changed default 3ds model path.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1850 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 10:38:35 +00:00
peabody124
aa50cf836b Ground/UAVControl: Throttle rate of messages when using GCS controller. Still
too high.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1848 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 04:34:09 +00:00
andrew
5c4331fe32 added ccpm swashplate image for config gadget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1845 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 03:55:41 +00:00
edouard
aa18cb4ce1 New indicator for GCS: "Arm Status". Use the bargraph dial plugin and connect it to the "ManualControlCommand/Armed" object/field.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1843 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-02 12:47:17 +00:00
peabody124
5c9b5f4a99 AHRS: Get calibration working again
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1842 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-02 03:10:04 +00:00
peabody124
0c30101f54 AHRS: Made an object setting to allow the downsampling rate to be changed on the
fly (EKF rate up to a limit).  Also, now the algorithm selects if you are
indoor or outdoor as well as if you use a mag indoor (if you do set the z
variance higher than it calibrates to).

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1841 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-02 03:10:01 +00:00
peabody124
6d39d85b8f UAVObjects/AHRSStatus: Remove unused fields
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1838 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-02 02:17:29 +00:00
peabody124
2050864e59 UAVObjects/VTOLStatus: Remove unused object. Also added update time to
indicate stabilization loop time.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1837 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-02 02:17:26 +00:00
peabody124
ea3fb03c7f Flight/AHRS Communications: Switch to Les' very nice UAVObject communication
scheme

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1835 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-02 02:17:18 +00:00
peabody124
3854541798 Ground/UAVObjets: Add missing files for AHRSStatus2
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1833 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 20:28:16 +00:00
peabody124
2a93f35807 UAVObjects/MixerSettings: Have values as int8, don't need float resolution
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1832 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 20:28:14 +00:00
les
b2d56ca34c AHRS: Added UAVObject based SPI communication between AHRS and OP.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1830 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 17:31:13 +00:00
edouard
8161d25774 OP-138 Yaw mixing was inverted in the config gadget! This update works for me, with the quad layout in the gadget's picture.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1827 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 16:25:21 +00:00
edouard
b80d2ae4c5 OP-138 Support Max Accel in the matrix mixer from the config gadget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1826 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 15:49:54 +00:00
peabody124
c076a695ce UAVObjects/ActuatorSettings: Default values are all 1000 now so that an
unconfigured motor can't turn on.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1823 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 13:45:26 +00:00
peabody124
4766e11882 Ground/GCSControl: Reenable joystick. SDL required.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1822 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 13:45:24 +00:00
peabody124
93a85e24a0 Ground/Joystick/Magicwaypoint: Fix initialization condition that led to crash
when closing gadget and also center icon on click in magic waypoint.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1821 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 12:33:36 +00:00
peabody124
9f4e3906e3 Flight/Actuator: Made it use the detected dT for the feedforward computation
and removed the unused field from actuator settings (old setting time and all
the aircraft specific stuff).

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1820 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 12:33:33 +00:00
peabody124
2dc40d11a1 Flight/Stabilization: Use the system clock to determine time from previous
update since now drive by events.  This means StabilizationSettings object
changing so write down your settings.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1819 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-01 12:33:29 +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
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
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
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
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
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
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