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

909 Commits

Author SHA1 Message Date
muralha
a915ff5ff7 Ground/ModelView: Center 3D models in the scene.
When a new 3D model is load, it will be centered on the scene.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1875 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-04 11:56:50 +00:00
muralha
114956a514 Ground/ModelView: Added camera switching through keyboard (numbers: 1 to 0).
Also, fixed wrong rotation of pitch and yaw.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1874 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-04 10:17:59 +00:00
muralha
abba162dca OP-149 Ground/ModelView: Cartesian coordinates system + Object rotation instead of camera rotation.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1873 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-04 09:53:31 +00:00
andrew
10a69a3c2c Added ccpm_setup.svp to config resource file
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1872 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-04 04:08:29 +00:00
peabody124
ffacbdcf1f Ground/UAVObjects: Remove attitudesettings from uavobject.pro file (looks
sheepish)

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1871 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-04 02:03:50 +00:00
peabody124
99f6500c9a Ground/UAVObjects: Forgot to delete vtolsettings. sorry.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1868 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 23:28:31 +00:00
zedamota
361f36da19 OP37/GCS MapLib - Small bug fix
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1867 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 23:11:17 +00:00
peabody124
07f8a227fa Ground/AHRSCalibration: Keep in sync with object changes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1866 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-03 22:08:34 +00:00
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
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
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
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
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