1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-11 19:24:10 +01:00
Commit Graph

226 Commits

Author SHA1 Message Date
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