1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-13 20:48:42 +01:00
Commit Graph

154 Commits

Author SHA1 Message Date
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
zedamota
623bdb6298 OP GCS/HID - small fix
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2956 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 21:14:56 +00:00
zedamota
18eef2f532 OP GCS/HID - Moved notifications to a new class
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2955 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 21:03:24 +00:00
edouard
086f78b6b8 OP-334 Progress on USB Monitor, compatible with both Win32 and Linux
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2954 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 21:00:37 +00:00
edouard
cd3168d123 OP-334 Further work on USB Monitor, incl. Win32 stub.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2952 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 16:58:48 +00:00
edouard
1c89211df1 ... sorry
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2950 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 13:43:45 +00:00
edouard
c01329810a OP-334 Linux start of implementation and Windows stub to enable compilation.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2949 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 13:41:13 +00:00
edouard
28d4bbbcfb OP-332 Linux work in progress implementation (not compiled right now)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2948 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 11:37:09 +00:00
edouard
bce469c184 OP-334 header file for usb monitor object, work in progress.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2947 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 08:46:56 +00:00
scott
afc788bea4 Added 2nd rudder to fixed wing config. This is necessary for flying wings, in particular, that have rudders on the wingtips.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2946 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 05:33:51 +00:00
edouard
870242d456 Changed the save GCS settings menu text to a more precise description since there are now three elements which can be saved..
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2937 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-02 13:10:04 +00:00
peabody124
c21e9f74b3 OP-329 Make the stabilization mode config gadget compatible with new mode.
Feel free to revert the layout change part - but I'm trying to make it clear
that "stabilization1" no longer naturally matches "position1"

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2936 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-02 01:25:47 +00:00
peabody124
8930ec01de OP-313 Quaternion based stabilization, gets rid of lots of checking angle
signs, should be stable for all orientations

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2932 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-02 01:25:34 +00:00
pip
eb5b97ca3a Added widgetbar for RSSI indicator because QProgressBar going in large steps.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2925 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-01 10:50:42 +00:00
pip
1a83f0c461 Removed all references to widgetbar
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2924 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-01 10:50:04 +00:00
zedamota
53e18382b3 OP GCS/HID - Added functions to allow already connected devices to trigger the signals.
For this to work, signals have to be subscribed before calling "setUpNotifications()".

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2921 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 21:01:02 +00:00
pip
4eec350318 Neutral position text is now correctly set on GCS start up on the RC input config widget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2920 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 17:27:28 +00:00
pip
ffdfedfaa1 Reverted RC input config widget to using sliders to allow manual adjustment
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2919 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 16:44:04 +00:00
pip
6e12a2f04c Fixed linux compile problem.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2917 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 10:15:56 +00:00
zedamota
b8a5249246 OP GCS - sorry made a mess dealing with conflicts
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2916 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 01:37:25 +00:00
zedamota
0c2a563c34 OP GCS - created USB connect/disconnect signals for windows using the system API.
Need to call setUpNotifications first!!!

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2915 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 01:01:57 +00:00
pip
49170f0628 Monitor telemetry disconnection.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2914 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-28 00:35:11 +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
011abe3117 Added deviceUnplugged emitted signal in windows version.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2912 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 23:14:04 +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
f15bd6259e Cosmetic graphical display changes to the RC input config display.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2909 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 19:52:03 +00:00
pip
4e89c1f245 Updated servo input level bars. Disable some buttons if no telemetry link with OP/CC.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2908 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 19:20:43 +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
pip
e3b6a29bfd Possible fix for mutex lockups on GCS exit
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2905 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 14:39:56 +00:00
pip
2eaedfe78a Hopefully a fix to stop the GCS crashing on exit (in windows at least) if the GCS is still connected to a USB device whilst telemetry is in full flow.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2902 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 11:58:58 +00:00
pip
efd12532eb clean up
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2901 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 10:27:04 +00:00
pip
47f9808e9f clean up
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2900 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 10:26:50 +00:00
pip
4afdb8c478 clean up
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2899 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-27 10:26:18 +00:00
edouard
21a31df392 Better tooltips on stabilization config interface. Removed remaining "AHRS" references in the INS config interface.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2894 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 18:05:30 +00:00
edouard
f41cfc3d00 New CopterControl rendering in full SVG for the uploader gadget, should look much nicer than the previous pixmap.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2893 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 18:01: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
edouard
4d76926561 Compile fix.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2890 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 13:53:50 +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
edouard
6d00146a2b Removed the availableDevChanged(QObject*) in rawhidplugin.h as it hid availableDevChanged(IConnection*) and prevented
the connection manager from getting the signal whenever a USB device is connected/disconnected. Any side effect on Windows?




git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2887 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 12:01:00 +00:00
edouard
930928e6fa OP-146 More tooltips for stabilization tuning. Someone double-check...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2885 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 09:11:53 +00:00
edouard
3b6ebdcd9f OP-146 New gyroscope icon for the stabilization config gadget.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2884 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 09:03:30 +00:00
pip
70f1e4a3e9 Can't for the life of me remember what I updated this time!
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2883 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 03:20:16 +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
edouard
6e431c29ba OP-146 Max angles can now be adjusted from the stabilization config dialog.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2881 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-25 23:05:23 +00:00
edouard
495445c3a5 OP-146 Stabilization configuration: can now update stab settings in real time on the airframe, and link roll/pitch for easier adjustment...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2880 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-25 21:17:07 +00:00
pip
09786b763f Changed the RC input sliders for vertical bars. Simplified some code areas.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2879 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-25 20:43:58 +00:00
pip
81baa9506a Added 256Kbit/s RF datarate mode
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2877 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-25 11:40:02 +00:00
pip
5f22a885ad oops! .. missing spelling of "#ifdef"
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2873 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-24 10:35:27 +00:00
pip
3883a561e4 Added option (#define USE_SCIENTIFIC_NOTATION) to use scientific notation (or not as the case maybe)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2872 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-24 10:31:23 +00:00