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

1995 Commits

Author SHA1 Message Date
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
sambas
f1ba558fa1 Flight/GPS: Some updates
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2011 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-27 10:39:38 +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
ligi
fc4238b369 adding /tools /downloads /build to .gitignore
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2009 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-26 12:47:07 +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
a2e0cd2240 Stabilization: Dont make queue respond to both raw sensors and attitude because
causes it to trigger most of the time every 1 ms which is consuming tons of
CPU.  Also lower the failsafe timeout since its likely due to overloading the
event system and we don't want to delay 100 ms.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2005 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-24 20:00:05 +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
acc6df4c2d Flight/USB_HID: Make the userspace command wait until not in interrupt before
running and block the interrupts while modifying the buffers

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2003 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-24 01:35:30 +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
523b6ad8f7 added hint on how to better distinguish FC/NC
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2001 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-22 12:36:47 +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
098b2fd693 Flight/System: Double heart rate when system is armed. This is per request in
IRC, but suggestions are welcome.  In the long run we probably need a sensible
way of embedding some information in the LED but it's not obvious to me.  Also
could have done with callback - sue me. ;)

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1997 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-20 05:31:24 +00:00
peabody124
cd04845c3d Flight/HID: NAK instead of stall USB bus (former was mistake) and change
polling time to 4 ms

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1996 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-20 05:21:25 +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
corvus
50574841bd Moved non primary Stabilization modules into Branches
simple		- outdated - won't compile
Experimental	- outdated - won't compile
les		- development version - not stable
les+corvus	- development version - not stable




git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1993 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-19 19:12:37 +00:00
dankers
4ed3359f6f Comment was misleading.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1992 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-19 17:25:07 +00:00
sambas
0384e359ba My working eclipse workspace, atleast for windows
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1991 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-18 19:16:20 +00:00
corvus
8cb04a372f Stabilization: new stabilization variant based on les stabilization module, with several options for coordinate system transformation
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1990 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-18 14:46:45 +00:00
dankers
a0a296562f Add Floss-JTAG Rev B schematic
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1989 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-18 09:03:21 +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
corvus
7a37dc1f32 PiOS.posix - added some debugging code
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1977 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-17 16:27:49 +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
43beec24d6 flight/documentation/Architecture - Updated Architecture diagrams to reflect most of the current UAVObjects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1966 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-16 18:05:12 +00:00
les
2125e2479d Added AHRS boot loader SPI protocol
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1965 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-16 17:54:00 +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