zedamota
6bcacb1630
OP356/GCS - Makes the dropbox show devices "friendly name". Type of connection and previous serial number accessible via tooltip.
...
Kind of hacky, we should refractor connectionManager but that can wait for after V1.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3103 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-29 18:25:24 +00:00
edouard
9d0ce95b37
Attempt to fix GCS crashes on USB disconnect: please confirm on other operating systems it is still working fine in all situations.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3066 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-25 10:59:24 +00:00
edouard
11f7766ab4
Raw HID plugin: improve initialization in case another plugin wants to use the USBMonitor.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3049 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-20 15:55:02 +00:00
edouard
cb95edaedc
Upate RawHID plugin to cope with the new PID/VIDs
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3021 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-09 18:55:06 +00:00
edouard
51a8a2d525
OP-334: Make the USBMonitor a singleton and export its symbols in the RawHID plugin, so that other plugins can use its instance(). Also implement a way
...
to ask for devices in bootloader or running mode.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3012 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-08 23:59:29 +00:00
edouard
6dcb9b2dcc
use constants in the rawhid plugin instead of hardcoded VID
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3004 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-07 22:16:50 +00:00
pip
69b930899c
Removed un-needed signals.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3002 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-07 22:06:57 +00:00
edouard
18a39c964e
Corrected several typos in the device detection code, improved Linux detection (more efficient).
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3000 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-07 21:50:13 +00:00
edouard
f2fc9b03d4
OP-334 Better exit code for the RawHID plugin (termintes usb monitor)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2962 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 09:59:43 +00:00
edouard
e4535ed575
OP-334 OP-332 Linux usb monitor working fine now, and rawhidplugin.cpp updated to use this new mechanism, no more polling thread opening the device every second!
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2957 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 21:44:59 +00:00
pip
a2cf1c4673
Now able (hopefully) to unplug USB device from PC whilst the GCS is still connected to it via USB .. in WINDOWS ONLY.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2913 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 00:34:31 +00:00
pip
ed4aefbb95
Removed unneeded mutex in the enumeration thread.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2911 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 21:15:32 +00:00
pip
d38c44f529
Cleaned up and made the pjrc modules purely C++ - they were a mix of C++ and static C functions and data :( ... although NOT altered the MAC code - someone who knows MAC code needs to do that.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2906 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 17:07:41 +00:00
edouard
b4cacbcf76
Sorry, had to change the connection detection, it makes the Linux library crash immediately...
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2892 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 14:53:06 +00:00
pip
770c623f34
Removed TestThread stuff
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2889 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 13:35:50 +00:00
pip
77cbc36ad5
Added object destroyed monitoring to the RawHIDEnumerationThread object to ensure it doesn't crash if it's parent (m_rawhid) is destroyed.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2888 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 12:56:14 +00:00
pip
333d61192b
Stopped GCS crash on exit if USB is still connected - at least in Windows anyway.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2882 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 03:19:24 +00:00
stac
7195862d77
build: Move openpilotgcs into its own subdirectory
...
This will allow us to build a parent project for
qt-creator that sits above both openpilotgcs and
uavobjgenerator so that we can build both projects
at the same time.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2528 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:40:26 +00:00