James Cotton
59dcbf5cb6
GCS OSX: More refinements to the USB code to make it more robust and work for reset/halt.
2012-09-10 02:04:59 -05:00
James Cotton
e027c25071
OSX USB: Add write and read mutexs to avoid closing mid write.
2012-09-10 00:32:40 -05:00
James Cotton
f8e5654ff4
Remove some comments
2012-09-09 23:45:04 -05:00
James Cotton
26ff40b5f3
GCS OSX: Work on how the receive threads are stopped properly
2012-09-09 23:43:38 -05:00
James Cotton
604e125251
GCS RawHID: Refactor the code to move most of the
...
functionality into one class. Removed support for
multiple open devices since we can just use multiple
classes.
2012-09-09 17:10:50 -05:00
James Cotton
741207ddc0
GCS OSX HID: Tweak the closing so that it doesn't crash. Still fails to unregister
...
the input callback.
2012-09-09 13:03:57 -05:00
James Cotton
06fc1ed963
GCS USB: More the opening and closing code into the read
...
thread to simplify some threading issues on OSX. Should
not influence other operating systems.
2012-09-09 11:04:52 -05:00
James Cotton
cf1c986550
OSX USB: Close more handles properly
2012-09-08 19:48:33 -05:00
James Cotton
1aadcf4e70
GCS USB: Make sure to fully unregister all the callbacks when disconnect.
2012-09-08 19:31:32 -05:00
James Cotton
2ec8434941
OSX USB: Make sure to store the run loop handle before connecting the signals that can use it.
2012-09-08 16:06:01 -05:00
Edouard Lafargue
6514ea5262
Finally, a fix for the Mac UAVTalk issues: it was all caused by a wrong RunLoop pointer reference
...
because of multithreading.
2011-10-11 00:10:27 +02:00
Edouard Lafargue
de8478718c
Attempt to make USB faster on Mac. Breaks the Firmware upload system!!!
2011-10-05 00:38:56 +02: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
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