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

941 Commits

Author SHA1 Message Date
peabody124
5f601bf5ab Flight/Guidance: Enable for any type of quad airframe
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1932 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-10 00:46:04 +00:00
peabody124
e72b6051b5 AHRS: Make mag variance account for the vector length of magnetic field. Also
moved around where the axis are swapped and made the negative sign come from
calibration.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1931 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-10 00:46:01 +00:00
pip
fc0f0761a0 Added distance and bearing info of mouse or waypoint from home position.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1930 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-09 21:01:33 +00:00
pip
54af7e5753 Fixed mouse over waypoint problem - by setting their z values higher than any other graphic items on the map.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1929 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-09 18:59:19 +00:00
pip
cad8644a47 Added MoveToMagicWaypointPosition function and GUI button.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1928 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-09 13:36:21 +00:00
pip
676166f045 Added UAV trail settings onto the right-click context menu on the map.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1927 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-09 12:29:30 +00:00
pip
34dffe73de Fixed a few mouse position problems.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1926 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-09 10:23:29 +00:00
pip
c75628c018 Added public "GetFromLocalToLatLng" function to allow widget point to lat/lon coord conversion.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1925 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-09 10:09:49 +00:00
darkz
9a90a124fd Ground: Updated Hitl plugin and FlightGear to provide PositionActual.
Currently the only value that works is PositionActual.Down wich is mapped to the altitude.
PositionActual.North and PositionActual.East are hardcoded to zero.
Also defined M_PI as it said it was no defined.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1924 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-09 08:52:19 +00:00
darkz
6e34b78b85 Updated Hitl module and FlightGear to Provide VelocityActual.
Tested with FlightGear 2.0, But should not break 1.9.1, please provide feedback if anithing odd happens.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1923 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-09 00:59:14 +00:00
peabody124
4e6f100ae5 Flight: Swap to Les' code for main line
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1920 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-08 15:38:23 +00:00
peabody124
9ec694cc40 Ground/AHRSCalibration: Account for conversion in AHRS
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1918 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-08 15:38:16 +00:00
pip
a081fb7ec1 Added Safe-Area options onto the right-click context menu.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1917 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-08 08:47:31 +00:00
pip
c13816db20 Fixed SetSafeArea parameter - it was BOOL but should be INT.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1916 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-08 08:43:39 +00:00
pip
cc584be136 Added magic waypoint buttons, added 'set home location' on right click menu.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1915 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-08 08:03:09 +00:00
peabody124
c4cb494a22 UAVOBjects: Just ran object genearator to get things compiling again
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1913 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-07 13:09:35 +00:00
pip
3079476bb0 OPMap gui style updates
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1912 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-07 10:24:42 +00:00
pip
1741825ee2 Added 'map modes' to the opmap plug-in. "Nomral map mode" and "Magic waypoint map mode". Not yet complete!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1911 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-07 07:09:00 +00:00
pip
69d2e8828f Added two emit signals for when a waypoint is dragged around the map witht he mouse. Made the waypoint 'picture' object public (temp).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1910 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-07 07:06:18 +00:00
darkz
5c9b09a72d Removed the example ovjects references on ground/src/plugins/uavobjects/uavobjects.pro
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1908 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-07 03:23:45 +00:00
edouard
2426606a8b Remove example objects from GCS code and XML definitions, those are not useful anymore, the system is mature enough by now!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1906 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-06 21:51:58 +00:00
edouard
f9c41caaf3 OP-137 Bargraph dials now also support multivalued fields.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1904 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-06 21:34:25 +00:00
edouard
5a6795b6cb OP-137 Support field with multiple element for analog dial gadget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1901 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-06 15:52:46 +00:00
peabody124
ecf4e74a71 Ground/AHRSCalibration: Make mag's calibrate properly
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1900 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-06 14:26:44 +00:00
peabody124
dea5c91646 AHRSCalibration: Make default values correct now Les extended
uavobjectgenerator to support multiple fields (thanks Les!).  Also
changed default scale on mag to +/-6g

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1899 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-06 14:26:42 +00:00
peabody124
66bf9d53d4 AHRS: Paramaterize the variance used for the indoor algorithm.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1898 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-06 14:26:40 +00:00
kokomojoe
86338404ed OP-185 Flight/GCS update the uavobjects.pro and uavobjectsinit.cpp with the firmware IAP objects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1897 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-06 05:33:05 +00:00
kokomojoe
3c352f1d1d OP-185 Flight/GCS - object to get firmware version and to switch into bootloader mode
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1894 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-06 02:27:57 +00:00
kokomojoe
b9fabbe9ce OP-185 Flight/GCS firmware IAP object
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1893 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-06 02:13:33 +00:00
les
7ddb0f6f80 Stabilization: Changed to new switch format. Both position and rate modes work.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1886 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-05 14:51:33 +00:00
les
141f6e43fb UAVObectGenerator: Added support for multiple defaults
Arrays can now have one default for all elements:
elements="4" defaultvalue="1"
or a default for each element:
elements="4" defaultvalue="1,2,3,4"


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1883 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-05 12:40:42 +00:00
peabody124
ba3ecada1d Flight/ManualControl: Implemented settings to change what the Mode switch does
so it can also change parameters of Stabilization.  Please check your aircraft
behavior with this patch, but default behavior should be unchanged.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1878 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-04 19:48:09 +00:00
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