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

1089 Commits

Author SHA1 Message Date
pip
b6c0344a0f Added extra error checking - making sure the packet size is valid and that packet sizes match.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2040 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-30 15:00:55 +00:00
edouard
a05ed34e77 OP-138 Get rid of object scene removal warning on curve widget. Also delete objects properly when reseting the curve.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2037 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-30 10:41:41 +00:00
edouard
88a199d20e OP-138 Finishing touches to the custom mixer editor (curve reset buttons, value displays, etc.)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2036 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-30 10:16:01 +00:00
andrew
c7b6341b21 Improvements to the ccpm curve mixing UI
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2035 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-30 05:15:39 +00:00
edouard
dbe20a7eab OP-138 Editing of Custom mixer table checks for bounds (-127/127), and sending to ram/sd now works. This interface
should be more user friendly that the uavobjecteditor.




git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2034 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-29 22:36:31 +00:00
edouard
739f4e468f OP-138 A few missing bits in the tricopter mixer settings, sorry...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2033 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-29 20:41:58 +00:00
edouard
e528cc306b OP-138 Support for Tricopter with yaw channel in the config gadget. Please please double check the mixer before flying, this is untested!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2018 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-27 21:54:42 +00:00
peabody124
aada18a0ea UAVTalk: Update protcol version number to go with new packet format and changed
a few constants to make it self documenting

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2017 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-27 17:41:41 +00:00
peabody124
4570d6df23 UAVTalk: Insert a sync byte (0x3C) and the packet size to facilitating handling
by PipX modems.  This is a change to UAVTalk so GCS and the hardware must all
be updated.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2016 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-27 17:16:29 +00:00
peabody124
4d7e053e06 AHRS Debugign code for dumping the EKF and importing into Matlab
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2013 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-27 14:31:34 +00:00
peabody124
2019edd612 AHRS: Store running time to make detect resets easier. Update OP and AHRS in
parallel for this update.  Also removed comment for rawhid

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2012 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-27 14:31:32 +00:00
edouard
a568e27703 OP-180 Implementd a setting to disable PFD smooth updates.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2010 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-26 20:19:43 +00:00
edouard
d232461f9d OP-138 All multirotor frame types except Tricopter now supported, but... not tested yet!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2008 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-25 21:55:04 +00:00
peabody124
c2474a4c08 Ground/rawhid: Fix mutex deadlock condition
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2007 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-24 20:56:40 +00:00
peabody124
aed2a1ee2e Ground/rawhid: Cleaned up the code related to disconnceting USB device
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2006 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-24 20:00:07 +00:00
peabody124
9944cdfcb0 Flight/RateDesired: UAVObject for monitoring the desired rate out of
stabilization for diagnostics

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2004 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-24 20:00:02 +00:00
peabody124
488ae158c8 Ground/rawhid: Add mutexs between write and read from buffersi. Fix bug that
dropped some data by reading too much from buffers at variable rates.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2002 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-24 01:35:28 +00:00
ligi
cc497c43dc check if opening a device worked / prevents segfaults ( e.g. failing BT connection ) & checking if my svn account works ;-)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2000 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-22 11:17:48 +00:00
edouard
9ad1618739 OP-138 Quad and Hexa implemented, custom table works (read only, not edit), and code improved to enable definition of matrices
in simple tables instead of ugly lines of code. Testers needed. Cautious testers. Also reshuffled the AHRS UI to put 6-point above sensor noise.
Next will be octo and coaxial frames.




git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1999 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-21 22:05:07 +00:00
sambas
d6e9080ec6 Ground/rawhid: quick hack to help on usb unplug freeze, need to make proper error handling
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1998 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-21 14:11:53 +00:00
peabody124
f618e6fffc Ground/HID: A few tweaks to the HID code, especially for mac, and make sure it
never tries to transmit too much data

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1995 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-20 05:21:23 +00:00
andrew
2a47f4baca more modifications to UI for ccpm mixing.
will now read back mixer settings from the flight hardware and try to determine the swashplate config automatically.
Looks good but only basic testing performed so far.
this has not been tested for flight in it's current form.
Use at own risk! 


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1994 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-20 05:04:19 +00:00
peabody124
33c5877031 Ground/rawhid: A small change to OSX serial number handling to be more
"maclike" and correct

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1988 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-18 00:50:51 +00:00
muralha
28c3dcf771 OP-150 GCS/ModelView: Create a fallback default setting on the ModelView plugin
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1987 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-18 00:08:31 +00:00
pip
253d831fc9 Added more lat/lon range checking an nan prevention.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1986 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 20:37:41 +00:00
pip
e0f399e333 Forgot to include altitude nan value prevention.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1985 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 20:24:23 +00:00
pip
e9c0b9455f Added lat/lon/alt range checking.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1984 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 20:09:54 +00:00
pip
1f3d45defd Fixed map mode UI opmap button states.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1983 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 19:21:38 +00:00
edouard
da84b1fc76 OP-138 Custom airframe table now displays the generated mixer matrix and curves. Display only, editing it won't change the mixer.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1982 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 19:15:05 +00:00
pip
ac53d71877 Forgot to disable the manual home location move ability.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1981 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 18:32:57 +00:00
sambas
8c46d22aa7 OP-169 hitl/FlightGear fixes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1980 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 17:37:51 +00:00
pip
dc943baeaa Disable manually moving the home location on the opmap (for now).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1979 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 17:34:39 +00:00
corvus
8aecc1ec0a OP-169: Hitl: IL2simulator - updating new UAVObjects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1978 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 16:55:18 +00:00
edouard
bdba5c9168 OP-138 Config gadget: display the new multirotor shapes. Mixer code is not done yet!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1976 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 15:11:37 +00:00
pip
3f6796138e Updated UAV lat/lon/alt value requesting code.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1975 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 14:36:41 +00:00
pip
658f9046d2 Added UAV Yaw/Heading code.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1974 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 14:23:13 +00:00
edouard
91695b4e7d Update UI for dials plugin for up to 5 decimals for factor.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1973 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 14:20:53 +00:00
edouard
82b702e239 Added the new Multirotor shapes to the SystemSettings object, as discussed on the forums. UID has not changed, but you should recompile still (sorry).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1972 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 14:15:47 +00:00
sambas
ef83d7a8ec FlightGear homelocation set
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1971 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 14:05:01 +00:00
corvus
ff87e8bd79 IPConnection telemetry module: Rev 1342 introduced a serious deadlock bug due to incorrect usage of QReadLock where a QMutex should have been used.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1970 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-16 22:29:19 +00:00
zedamota
41388d97bd OP37/GCS MapLib - Change to try lowering processor usage.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1969 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-16 21:10:29 +00:00
corvus
c067552f74 OP-169: HiTL - il2simulator now updates attitudeRaw
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1968 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-16 20:04:46 +00:00
corvus
ebae3ffa40 OP-169: HiTL: Added AttitudeRaw UAVObject to HiTL core, updated UAVObject update timings
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1967 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-16 18:25:21 +00:00
corvus
82c533e914 OP-169 - HITL - hitl core is set up to update PositionActual, VelocityActual and HomeLocation - il2simulator.cpp is updated to set those correctly
(status: compilation OK, function yet untested)
xplane and flightgear yet need to be fixed
Note: I needed to change /libs/utils/coordinateconversions.h to have access to previously protected utility functions used to convert LLA to ECEF/RNE for HomeLocation
Code for this is "inspired by" flight/OpenPilot/Modules/GPS


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1964 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-16 14:30:36 +00:00
andrew
593c947f5e minor modifications to UI for ccpm mixing.
better integration into config gadget (now only one set of buttons)
this has not been tested with hardware in it's current form.
Still need to make UI small screen friendly.
Use at own risk! 


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1963 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-16 14:05:51 +00:00
edouard
d8086d6b72 OP-138 Small updates to config widget, start of custom configuration interface, lots of work to do still...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1961 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-14 21:48:58 +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
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