1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-16 23:23:50 +01:00
Commit Graph

2642 Commits

Author SHA1 Message Date
peabody124
300195ff18 AHRS: A few small changes
1) Moved the criteria for using GPS to defines in anticipation of moving into
AHRSSettings
2) Only use the mags for updates if the vector length is within 20% of nominal
to avoid updating when it's nonsense
3) Reinitialize position when swapping between indoor and outdoor
4) Dont use mags for first 5 seconds after initialization, sometimes seems to
cause issues
5) Dont use mags until magnetic field at your location is set and a magnetic
field is loaded
6) Dont use GPS if home location hasnt been set

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1959 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-14 01:36:30 +00:00
peabody124
016bcad24a AHRS: Detect when more than 2 seconds since last GPS update and in that case
reinit INSGPS to new location

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1958 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-14 01:36:28 +00:00
edouard
f2681ef2c4 OP-138 Feed forward tuning is now working. Watch out for stray props! For safety reasons, the FF tuning will only run if all three checkboxes are checked. Otherwise, follow the tooltips (or the new wiki).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1957 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-13 21:09:53 +00:00
pip
bd8ad90301 Added PipXtreme jtag cfg files.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1956 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-13 08:14:39 +00:00
pip
acadc4bc28 Added some files to the PipXtreme folder.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1955 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-13 07:49:05 +00:00
pip
a3ac3feae9 Added PipXtreme folder.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1954 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-13 07:43:32 +00:00
pip
0f7e0cf4db Removed PipBee folder
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1953 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-13 07:40:36 +00:00
andrew
9aae70fedf Most functionality is now in the UI for ccpm mixing.
Currently this will not update hardware correctly... 
but it will set the matrix under the Advanced Settings tab.
Do NOT use for flight!

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1952 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-13 06:06:32 +00:00
banigreyling
2d0196a5ea OP-42 GCS/Scope: Removed some code that was required for earlier config version upgrade. This code is not required anymore.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1951 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-13 05:47:06 +00:00
edouard
c2664a7843 OP-138 Various updates to config gadget: new quad shapes in the artwork, new tooltips, and start of the feed forward testing interface, with foolproof user safety (tm) built it...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1950 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-12 21:41:06 +00:00
dankers
8f803ea401 punctuation :-)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1949 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-12 08:27:30 +00:00
dankers
e5ea7e53b2 Update font to add cc logo.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1948 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-12 08:08:09 +00:00
dankers
c2db00fb40 Update Credits, add ttf with Logo for Altium.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1947 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-12 07:34:10 +00:00
andrew
093e475dfc continued modifying UI for ccpm mixing.
NONE of this has not been tested with hardware in it's current form.
Use at own risk! 


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1946 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-12 05:12:56 +00:00
edouard
1824440c8e OP-190 Added support for the flightmode switch settings in the config gadget. Let me know if you like the UI!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1945 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-11 19:03:27 +00:00
les
6d6ec37474 Manual control: Changed 'Position' stabilization mode to 'Attitude'
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1944 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-11 17:58:11 +00:00
zedamota
1f6f5fe674 OP37/GCS MapLib - Fixes auto find google maps version.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1943 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-11 14:15:31 +00:00
andrew
f7bf258a50 Started to modify UI for ccpm mixing to integrate it into the look and feel of the config gadget.
Most of the functionality has not been implemented yet.
NONE of this has not been tested in it's current form.
Use at own risk! 


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1942 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-11 05:34:52 +00:00
zedamota
d64892069a OP37/GCS MapLib - Update to new google maps versions. Fixes safe area size update with digital zooming.
TODO: fix auto find google maps version.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1941 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-10 23:27:03 +00:00
martin
ccdc107ad8 Redesigned dialogs.
Added chinese installer.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1940 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-10 23:23:31 +00:00
edouard
4ec3f3fe4c OP-138 Hexacopter support in the config gadget. NOT TESTED on a real frame, do it at your own risk... and report, please!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1939 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-10 13:45:10 +00:00
edouard
64fb124856 OP-138 Update fixed wing mixer computations to be compatible with the -127/127 range as per the latest UAVObject updates.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1938 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-10 12:56:44 +00:00
edouard
4dae7ef2df OP-138 Multirotor mixer supports adjustment of weight of Roll/Pitch/Yaw on quad + and X configurations.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1937 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-10 12:04:05 +00:00
edouard
706e418990 OP-138 : integration of Andrew's Heli mixer UI into the config widget. Not very well integrated, but the code is there, will improve over the next few days.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1936 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-10 08:02:44 +00:00
pip
d11e9c56e5 Removed center maguc waypoint to map
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1935 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-10 07:42:41 +00:00
pip
3a2fe4587d Fixed usleep windows compile problem
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1934 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-10 07:32:59 +00:00
peabody124
dc10998152 Flight/Stabilization: Make any throttle < 0 reset the pid integral windup
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1933 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-10 00:46:06 +00:00
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
ea85e98d7a Flight/Stabilization: Move update time storage to before the set to make sure
it goes

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1922 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-08 15:38:28 +00:00
peabody124
8308e4a4fe Whitespace change: get rid of CR
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1921 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-08 15:38:26 +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
0a9ab6ca5f AHRS: Send PositionActual and VelocityActual out
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1919 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-08 15:38:19 +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
edouard
85aeffed9a Removed example settings from OpenPilot flight SW makefile too..
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1914 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-07 17:42:59 +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