1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-08 19:46:06 +01:00
Commit Graph

37 Commits

Author SHA1 Message Date
edouard
37a1f602b2 Remove compile-time warning to Raw HID plugin as well.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2123 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-14 15:03:45 +00:00
edouard
8d2c9c37fb OP-35 Fix complile issue on Win7 (please confirm), Halt button now puts the mainboard into bootloader mode. Nothing more...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2055 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-01 18:15:48 +00:00
edouard
b4a22c5984 OP-35 New methods to suspend and resume USB polling by the Raw HID plugin. Required for the Uploader plugin.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2053 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-01 13:35:12 +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
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
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
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
cranphin
65c832da35 Stop rawhid (Windows) from logging a debug message because it can't open
all my input devices for writing. And also swap logging statements, so
that we do qDebug after GetLastError, since qDebug seems to wipe the
last error code.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1497 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-01 18:49:18 +00:00
peabody124
d445e36717 OP-122 Ground: Fixed bug in GCS usb sending that prevented sending large objects. Also made the model view rotate the models so it's consistent with both the 3D modelers convention and the flight convention OP is adpoting.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1407 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-25 06:25:24 +00:00
ephy
14a93b4e61 GCS: Quiet down some compiler warnings.
There are now 0 build issues in Linux when I use "QMAKE_CXXFLAGS+=-Wno-ignored-qualifiers -Wno-unused-parameter -Wno-unused-variable" (including the "") as additional arguments to qmake in Qt Creator.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1232 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-07 19:14:34 +00:00
erhard
2bd5f71444 64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support64Bit Linux Support
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1209 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-05 17:19:06 +00:00
peabody124
76b4944482 I think this fixes the windows HID problems
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1187 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-31 03:11:38 +00:00
peabody124
7a10a77d4b Another windows trick
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1183 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-29 20:02:40 +00:00
peabody124
054e662882 Remove old hacky windows USB packet handling crap
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1182 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-29 20:00:17 +00:00
peabody124
7ef89b6e21 Unix detail
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1181 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-29 19:56:22 +00:00
zedamota
927592cb7d GCS/HID compile fix, still has problems!!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1180 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-29 19:48:51 +00:00
peabody124
561d42c73a Fixing platform dependent string type handling
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1179 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-29 19:36:42 +00:00
peabody124
7e6afe5a75 Updated HID code to do packet processing in OS indepdent layer. Should now work on all platforms. Please test and get back to me. Maximum object size of 62 bytes currently.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1174 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-28 18:55:04 +00:00
peabody124
6f63c10dca Removing more debugging comments
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1168 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-27 23:48:12 +00:00
peabody124
27bcd20882 HID working on Mac for telemetry. Need to tweak GCS code for Win/Linux
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1166 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-27 20:50:20 +00:00
dankers
c648488e75 Guess what? More Doxygen...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1116 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-16 16:01:53 +00:00
andrew
d23ac909db OP-87 modified connection manager to not delete the m_ioDev and moved this functionality into the iConnection plugins
This change was made to the following plugins:
serialconnection
ipconnection
RawHID

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1053 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-10 01:24:32 +00:00
ephy
612a1c4e95 GCS: Remove some unnecessary debug messages.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@924 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-28 19:39:29 +00:00
ephy
4b9f224674 GCS: Get rid of some compiler warnings.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@906 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-27 15:06:57 +00:00
dankers
882cd5d006 Doxygen consistency and all plugins to version 1.0.0 with compat 1.0.0
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@863 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-23 02:33:53 +00:00
stac
46101794e3 gcs: quiet some debug messages on tx via USB HID
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@657 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:44 +00:00
stac
6b2760da1a USB HID: basic COM functionality over USB HID
This fixes the COM interface over USB HID to the point where
it can establish and maintain solid communications with the UAVObject
Browser in the GCS.

Tested only on Linux.  The USB HID interface is still disabled for now
until it is tested successfully by a wider group.

Edit telemetry.c and set ALLOW_HID_TELEMETRY to 1 to enable telemetry
over the USB HID interface and report your results in the forum.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@656 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-24 16:33:40 +00:00
julien
38171a89c5 GCS/connectionmanager: Trying to fix segfault reported in OP-70
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@573 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-02 16:13:12 +00:00
julien
a4147d5fb2 GCS/connectionManager: some light cleanup and refactoring
GCS/serialconnection: added a new connection plugin for serial port

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@483 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-11 21:08:46 +00:00
sambas
5d1229311d Some telemetry and HID work, few very ugly test hacks
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@471 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-10 16:14:29 +00:00
julien
abd77939e5 OP-15 Threaded version of USB QIODevice, not tested yet...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@410 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-29 20:36:58 +00:00
julien
69c05a5252 Added some comments on new communication classes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@368 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-21 20:53:28 +00:00
julien
03283b2572 Some initial modification on uavtalk plugin to interface with the connection manager.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@365 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-21 18:50:13 +00:00
julien
a608c73470 First version of connection manager and rawhid, plugin. Still a WIP...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@357 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-21 13:44:00 +00:00
julien
b15c803328 Corrected compilation of UAVTalk plugin for windows (class export)
OP-15: Added stub plugin for rawhid code

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@322 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-15 22:09:47 +00:00