edouard
103b290cc5
OP-376 More updates for DIal plugin config page.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3141 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-10 08:18:45 +00:00
edouard
0f9fb49fbc
OP-376 Make the Analog dial plugin options page display much better when resizing the dialog.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3140 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-10 08:13:29 +00:00
dankers
d1aa380b01
Minor change of the messages displayed. In a smaller screen size this save the gadget shifting slightly for the longer message.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3139 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-10 03:44:58 +00:00
edouard
f29f0477d4
Make tooltips and text even more clear for arming procedure.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3135 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-09 15:37:57 +00:00
ligi
8e7fd4da81
adding juavtalk
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3132 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-09 04:32:26 +00:00
ligi
23ab893f38
updating readme on how to build jar
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3130 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-09 04:25:42 +00:00
ligi
bb9306d018
- fill deserializing gaps
...
- byte->int for arraypos and fieldid ( better save than sorry )
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3129 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-09 04:25:15 +00:00
ligi
2d315d791a
adapt to path changes in build dir
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3128 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-09 04:08:57 +00:00
edouard
640e9afc39
OP-371 Update all config dialog buttons to Apply/Save instead of Save to RAM/SD.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3127 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-08 20:17:41 +00:00
erhard
65e8077d31
Fix 64-Bit Linux build problem in QT-Creator
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3122 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-03 16:25:21 +00:00
edouard
da6530537b
OP-347 Implement the option to reverse the input controls on the config gadget: this is mostly useful for people with TX which do not offer this option. Tested on my small hex.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3121 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-03 06:47:07 +00:00
pip
5c69e94e83
Fixed min/max code error.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3119 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-02 12:49:58 +00:00
pip
aa84845c1e
Added the option to link output channels when in "Test Output" mode - useful for testing quads, hexes etc.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3118 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-02 11:58:19 +00:00
zedamota
fca5a42949
OP111/OP112/CC38/GCS
...
CC-38 - Map now has Dragons.
OP-111 - Added the capability to plot trail lines. Trail dots/lines can now be shown/not_shown by selecting the option on the maps context menu.
OP-112 - UAV icon on the map is know selectable on the maps options page.
Also fixed an issue with the UAV/Trails not being shown while replaying logs.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3117 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-01 19:21:17 +00:00
corvus
63f4ba514f
GCS/HITL/Xplane9 - added correct quaternion calculation
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3115 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-04-01 15:11:09 +00:00
edouard
89061ac606
OP-357 Config gadget now checks whether the autopilot is connected already when it is instanciated.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3114 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-31 20:48:43 +00:00
edouard
ae32af82b1
Bugfix: swapped ProductID in the USB constants!!
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3113 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-31 20:16:40 +00:00
corvus
b78c3ad0a8
GCS:Hitl/IL2: no explicit updates since periodic updates now work
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3109 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-30 20:31:22 +00:00
corvus
ff3ed79bdf
GCS:plugins/uavtalk/telemetry.cpp bad Bug in processPeriodicUpdates, remaining time updated in copy instead of original object, never got stored.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3108 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-30 18:50:27 +00:00
corvus
a4cbbfd016
GCS/Plugins/HiTL: Updated Xplane to provide correct measurements for all Stabilization and Guidance relevant data. Based on Export format for Xplane 9!
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3107 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-30 15:59:53 +00:00
zedamota
282661734e
OP309/OP179/GCS - Fixes maps cache location not being selectable, now defaults to "C:\Users\name_of_user\AppData\Roaming\OpenPilot\mapscache" on windows, no idea where this goes on nix.
...
Also tried to fix crashes seen on Mac, but I'll need a Mac or a stack trace to do a better job.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3106 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-30 15:57:53 +00:00
edouard
b125e51251
CC-33 Now the config panel only shows the relevant panel once the board is connected.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3105 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-29 20:32:09 +00:00
zedamota
06826840aa
OP356/GCS - Update uploadergadgetwidget to cope with latest changes.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3104 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-29 18:43:53 +00:00
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
peabody124
cebca6f67e
OP-349 CC-32: Improved the object save confirmation logic. It's got a lot of
...
checks in there so pleaes let me know if people get any segfaults.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3099 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-29 01:29:56 +00:00
peabody124
4326a323e4
OP-353: Display confirmation when testing motors advising to remove propellors
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3098 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-29 00:15:56 +00:00
peabody124
aabe652451
Improved transmitter icon. Thanks Murlaha!
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3097 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-29 00:15:38 +00:00
peabody124
f09763b0a6
OP-36: Remove debug
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3096 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-29 00:15:27 +00:00
peabody124
1e8e2f89fd
OP-36: Save button for CC attitude bias
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3095 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 21:31:44 +00:00
edouard
57adfdb708
CC-39 Have GCS detect whether the board is a CC or an OP, and update the INS calibration widget accordingly.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3094 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 21:15:44 +00:00
peabody124
48c20d37a9
OP-349 CC-32: Added a Completed operation that is returned after successful
...
save or load
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3093 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 19:16:50 +00:00
peabody124
687d4f7cc8
OP-36: Forgot some files with previous commit
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3092 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 19:16:38 +00:00
peabody124
e70fe52966
CC-36: Added panel to config gadget for zeroing the bias on CC. Ed will make
...
the appropriate window show for CC or OP calibration.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3091 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 18:43:15 +00:00
peabody124
cdb521ac4a
OP-328: Use removal callback when device unplugged and also added mutexs to
...
protect the list of devices from race conditions.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3089 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 15:39:35 +00:00
peabody124
852e6072c3
Break the input and output configuration into separate config gadgets
...
Anyone who wants to, please improve my transmitter icon. I am not an artist.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3088 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 15:39:22 +00:00
sambas
64cacc2c69
Better init values for gyro_scale, I had problems getting gyros calibrated.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3087 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 15:29:21 +00:00
peabody124
3bdcdb94fa
Make the Eigen library compile on OSX again
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3085 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 10:41:10 +00:00
peabody124
c0d481431c
OP-354: Layout out the flight mode settings a bit more intuitively and so the
...
labels are properly shown
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3084 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 10:40:46 +00:00
peabody124
4120937391
OP-364 OP-191: Convert the OPMap setting of HomeLocation to mGau to match the
...
changes in flight code
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3083 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-28 10:40:26 +00:00
jonathan
9b8494e9f6
OP-350: Resolve this bug by explicit local stack alignment annotations. The Win32 ABI only guarantees an 8-byte aligned stack, but SSE requires 16-byte alignment.
...
OP-191: Include code for computing the misalignment rotation, but #ifdef it out until the feature freeze is lifted.
OP-191: Clean up UI to inform the user that HomeLocation must be set prior to multi-point cal, and disable multi-point cal's start button until it is done.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3082 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-27 20:26:29 +00:00
edouard
1ef9eceac5
Lower amount of debug output in Linux USB Monitor.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3079 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-26 11:57:16 +00:00
edouard
332cafa8b8
Improve behaviour of Uploader gadget whenever the board does not manage to get into bootloader mode.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3075 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-26 11:22:31 +00:00
edouard
34fffd0e50
CC-39 New helper function to get the Board model (synchronously). Will be used by config gadget to dynamically load the right interfaces for the board type.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3073 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-26 01:25:26 +00:00
edouard
81269f786e
USB Stability fixes.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3071 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-25 14:50:23 +00:00
erhard
79c4b2fe76
OP-358 GCS: Just keep the default dials in the dials showcase
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3069 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-25 13:05:29 +00:00
edouard
8a6f83e232
OP-352 Reorder config gadget widget to have a more logical order.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3068 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-25 12:16:49 +00:00
edouard
417e637904
Sorry...
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3067 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-25 11:24:27 +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
chebuzz
c00090391b
OP-342 GCS/ModelView - Update glc_lib to newest 2.1 release (fixes known issues) and update modelview to use this new lib.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3063 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-22 21:15:46 +00:00
peabody124
593ccfad7b
OP-334 USB HID now working again on mac
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3060 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-22 11:50:26 +00:00
jonathan
32430a3b15
OP-191: Merge from full-calibration branch. Replace 6-point calibration with multi-point TWOSTEP-based calibration. Currently uses 22 points, but can scale up or down as needed. Simultaneously computes gyro bias, accelerometer bias, accelerometer scale factor, accelerometer orthogonality, magnetometer scale factor, and magnetometer bias calculations.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3058 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-21 00:54:09 +00:00
jonathan
baf848d4f0
Attempt to get a useful error string when we cannot connect to a USB device;
...
Fix typo.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3056 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-21 00:50:15 +00:00
jonathan
44e3466e0a
OP-191: Merge from full-calibration branch. Add an implementation of TWOSTEP, including bias-only, bias + scale factor, and bias + scale factor + orthogonality calibration methods.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3053 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-21 00:45:40 +00:00
jonathan
e40f6752bd
OP-191: Merge from full-calibration branch. Import Eigen 2.0.15 to the GCS. Add the bits that eclipse missed the first time around.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3052 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-21 00:44:22 +00:00
jonathan
bf191fed27
OP-191: Merge from full-calibration branch. Import Eigen 2.0.15 to the GCS.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3051 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-21 00:43:09 +00:00
edouard
f2a7f8e187
Add Powerlog plugin to plugins.pro (disabled)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3050 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-20 15:55:43 +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
d10dd33016
This is a GCS plugin which adds an entry in the 'Tools' menu to get the output of the Junsi PowerLog6S. This plugin is not enabled by default.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3048 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-20 15:54:23 +00:00
fredericg
ef1dcf6939
rename batterysettings.xml => flightbatterysettings.xml
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3046 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-19 18:31:58 +00:00
edouard
03a5e78897
Junsi Powerlog utility: output data in CSV format, so that it is actually useful. Works great to make graphs.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3044 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-17 18:12:08 +00:00
chebuzz
1e59cc79ec
GCS/MagicWaypoint - Missing dependency for magic waypoint in .pro file that caused build to fail when using multiple jobs (-j2, -j12, -jX...)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3043 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-16 08:04:44 +00:00
edouard
7100c2e9cd
Better phrasing for telemetry configuration interface.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3041 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-15 14:24:40 +00:00
edouard
823f814d85
OP-330 Log replay does not crash at the end anymore.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3039 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-13 22:27:26 +00:00
edouard
c355dfff44
OP-250 Update menu entry for logging so that it reads "Stop logging" when logging is going on.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3038 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-13 21:23:26 +00:00
edouard
2d847fe4d7
Update OpenPilotGCS.ini (default config) to use the latest artwork and dials configuration.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3034 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-13 16:15:30 +00:00
edouard
89fc8141fc
OP-228 Make System Heal gadget aware of link status (autopilot connected/disconnected). A new version of the diagram is bundled which displays the status, you will have to update your configuration to use it.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3033 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-13 15:08:02 +00:00
edouard
581d2497c8
OP-247 Scope gadget: restore checked/unchecked state of curve legends when unhiding.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3032 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-13 14:14:52 +00:00
edouard
afb7aaf374
OP-334 : reverted opening method in RawHID plugin, as the new pjrc_rawhid class does not play nice with the USBMonitor system in case several devices with the same PID/VID are present on the system (such as two PipX for example)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3031 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-13 13:03:11 +00:00
corvus
9859829fcc
HITL/IL2: Fixed calculation of AttitudeRaw.accel[XYZ]
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3025 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-11 20:16:31 +00:00
zedamota
e1eaf4d132
OP GCS/HID - Now found the true problem, I just need to find an hungry French monkey now.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3024 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-11 18:52:44 +00:00
zedamota
162deda2ba
OP GCS/HID - Fixes a problem created with the conversion of the monitor class to singleton. I don't quite understand the problem so this is just a quick fix. Also changed PipXtreme gadget to use new PID.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3023 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-11 18:42:32 +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
bfed85a9b0
Update uploader gadget to use the USB monitor to get the list of available devices.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3013 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-09 00:07:07 +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
5c7e74e169
Removed commented out un-used signal/slot
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3003 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-07 22:07:41 +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
191df1a118
Small utility to parse the output of a Junsi PowerLog6S, should work on Linux, Windows & Mac. Testbed for the HID library and USB device detection we're working on, not directly related to the GCS...
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3001 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-07 22:00:26 +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
c1546d818f
OP-328 Stub for MacOS support of USB Monitor.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2999 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-07 20:38:34 +00:00
edouard
61c8ea9185
OP-334 Now fill the bcdDevice and other fields (except HID page info) on Linux too.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2994 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-06 22:57:34 +00:00
edouard
cc1a53417d
Barometer in High-contrast theme was missing from the share directory. Added.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2991 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-06 17:34:28 +00:00
osnwt
6a0a8f00c9
OP-305: fixed syntax error when building on Windows under sh
...
Line:
$(CHK_DIR_EXISTS) dir $(MKDIR) dir
under cmd translates into
if not exist dir mkdir dir
but under sh it becomes
test -d dir mkdir dir
which is syntax error.
So CHK_DIR_EXISTS removed, MKDIR made unconditional.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2989 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-06 13:38:30 +00:00
zedamota
0eb0f4365a
OP GCS/HID - just added the Usage field to the USBPortInfo struct.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2977 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-05 15:58:17 +00:00
sambas
8fb82584b1
removed some redefined warnings in windows
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2976 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-05 13:51:29 +00:00
pip
5c01155c4f
oh ***! .. to early on a Saturday morning to be doing this .. sorry.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2974 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-05 10:55:38 +00:00
pip
1db840ed8a
Correct mistake just made in "ConnectionManager::connectDevice()"
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2973 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-05 10:19:37 +00:00
pip
7fe74cda15
We weren't closing the device (after opening it) if "io_dev->isOpen()" returned false in the "ConnectionManager::connectDevice()" function.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2972 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-05 10:17:18 +00:00
edouard
e290d37df5
Fix logging gadget for replay speed setting.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2969 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 23:22:49 +00:00
pip
63d919dbbe
Removed monitor (SIGNAL/SLOT) for deviceClosed event. will remove the device closed stuff in rawhid if alls well later
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2968 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 23:16:51 +00:00
zedamota
ea5d4367b4
OP GCS/HID - function to filter based on VID/PID
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2965 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 20:49:18 +00:00
pip
fe6b41e6f9
Fixed problem with GCS crashing in windows when GCS exits still connected to USB device
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2964 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 20:42:47 +00:00
zedamota
492152d506
OP GCS/HID - 3rd try, sorry guys
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2963 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 19:26:11 +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
zedamota
3e52d08b2b
OP GCS/HID - BIG fix
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2959 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-04 02:17:46 +00:00
pip
f8f25bf2d2
Added exception catches in known problem areas if GCS is closed while it's still connected to a USB device.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2958 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 22:03:03 +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
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
vassilis
b084ea7ea1
FlightPlan/Python: Updated object generator to create a Python file for each UAVObject. It is now possible to access all UAVObjects from the FlightPlan Python scripts.
...
Warning: The memory utilization when importing objects is unacceptably high making it unusable in the flight code at this point. It can be however used with the SITL simulator. Some more investigation is needed to understand why several kb of memory are used each time a module is imported (even before any functions are called or objects from the module are created).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2938 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-03 02:22:50 +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
39588fef39
UAVParser: Support comments in objects
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2934 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-02 01:25:40 +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
osnwt
52643dd6c6
OP-305: remove r/o attributes from copied .svn/* files (share.pro)
...
Those files are copied to make built GCS self-contained, but share.pro also
copies hidden and r/o SVN files. With them on Windows cp -rp can't copy over
old build, and rm -rf can't remove them.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2928 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-01 22:23:12 +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
dc9efb4d55
Added the Guidance and Attitude system alarms to the system health diagram.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2891 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-26 14:01:20 +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