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

574 Commits

Author SHA1 Message Date
zedamota
4d634ad304 Merge remote-tracking branch 'remotes/origin/OP-515-PT_Dreamer' into bugfix-ground 2011-06-20 11:21:45 +01:00
Andrew Thoms
e74c3390f7 OP-532 Minor UI layout changes 2011-06-20 00:31:30 -04:00
Oleg Semyonov
52d22c59d3 Revert "OP-522: fixed throttle calibration if input channel is reversed"
This reverts commit 0ba605812e.
The real problem was not with this, but due to unexpected reverse
checkbox behaviour.

Reverse checkboxes are completely ignored at the start of calibration,
they can be even set checked initially. But change of checkbox does not
reverse the GCS control gadget display. This should probably be fixed.
2011-06-19 19:37:22 +03:00
Mathieu Rondonneau
d5cd3e0d2a OP-423: fix problem in GCS when the config files get deleted.
GCS aborts on a table overflow when trying to set the axes with wrong number of channels.
2011-06-18 19:30:28 -07:00
zedamota
c6350492eb Cleaning and formating 2011-06-19 00:56:35 +01:00
zedamota
a0eca05595 Many changes to the uploader Gadget 2011-06-19 00:50:38 +01:00
Oleg Semyonov
21f988321e Merge branch 'master' into bugfix-ground 2011-06-19 02:18:06 +03:00
Oleg Semyonov
0ba605812e OP-522: fixed throttle calibration if input channel is reversed 2011-06-19 02:15:23 +03:00
Andrew Thoms
6578eba0a0 Op-532 prevented settings being retreived from hardware during an update
to hardware
2011-06-17 01:01:55 -04:00
Andrew Thoms
90f7062940 OP-532 Implementation of Collective pass-through mapping 2011-06-16 22:52:41 -04:00
Andrew Thoms
08822807b3 OP-532 Now saving channels to GUI config data structure 2011-06-16 00:33:07 -04:00
Andrew Thoms
5c5a07b101 OP-532 Updated GUI config data definition, UI, and implemented three
sliders in mixer generation code
2011-06-16 00:09:27 -04:00
Andrew Thoms
22269b658d OP-532 improved UI layout for new controls 2011-06-15 00:39:13 -04:00
James Cotton
d7e08e5686 Merge branch 'heli_improvements' 2011-06-14 09:13:52 -05:00
Andrew Thoms
748d49817f OP-532 Save and Load UI elements to new GUIConfigData UABObject Field 2011-06-14 00:53:42 -04:00
Andrew Thoms
1c1881663f OP-532 Save and recall the new GUI config data to UAVObject 2011-06-14 00:10:28 -04:00
Andrew Thoms
23f9dc42cc OP-532 Created union of struct to assist in type casting of GUI settings
to UAVObject
2011-06-13 21:40:39 -04:00
Andrew Thoms
651c65ad84 OP-532 Started with GUI configuration save to OP hardware 2011-06-13 20:46:53 -04:00
elafargue
b4d65102b1 Add "..." on import and export buttons 2011-06-13 18:59:53 +02:00
elafargue
54d57f1815 Merge branch 'bugfix-ground' of git.openpilot.org:OpenPilot into bugfix-ground 2011-06-13 18:56:30 +02:00
Pip
7b3241cca9 Fixed GCS export file selection problem - in windows. 2011-06-13 16:12:04 +01:00
elafargue
8807d6bf0f OP-534 Disable arming completely when staring calibration procedure. Tells user to reconfigure arming manually afterwards. 2011-06-13 12:14:40 +02:00
Andrew Thoms
c8939e6e4f Merge branch 'heli_improvements' into OP-532_Heli_GUI_Improvements 2011-06-12 23:21:00 -04:00
Andrew Thoms
2dab73a128 minor updates to UI code for visibility of controls 2011-06-12 00:31:22 -04:00
Andrew Thoms
6ad60a7971 Implemented UI code for new ccpm options checkboxes and sliders 2011-06-12 00:17:32 -04:00
Andrew Thoms
86f5d63045 Changed names of new ui components 2011-06-11 22:35:19 -04:00
Andrew Thoms
2454596211 Modified names of new controls 2011-06-11 22:21:33 -04:00
Andrew Thoms
f9bddb107d changed label on single servo to 1st servo 2011-06-11 22:15:56 -04:00
Andrew Thoms
716f87e79b Added linking between new controls on ui 2011-06-11 22:13:55 -04:00
Andrew Thoms
597838ba0c Update CCPM config ui file for new options 2011-06-11 22:08:36 -04:00
zedamota
689eb2c588 Minor Cleaning 2011-06-12 00:49:05 +01:00
zedamota
cac495cebb Fix custom mixer throttle 1 curve. 2011-06-11 19:39:24 +01:00
Oleg Semyonov
5d0c7fe42e Merge branch 'master' into heli_improvements 2011-06-11 12:19:07 +03:00
elafargue
c79cc1eb1a OP-376 Make all dialogs more dynamic to cope with smaller screens & resizes. 2011-06-09 18:03:19 +02:00
Oleg Semyonov
bc3b23a4a2 Merge branch 'bugfix-ground' into heli_improvements 2011-06-09 15:58:11 +03:00
elafargue
9d89f1e180 OP-528 Make the manual and maximum RPY rates available in the config gadget 2011-06-09 13:12:03 +02:00
Oleg Semyonov
f766642f0d Merge branch 'master' into heli_improvements
Conflicts:
	shared/uavobjectdefinition/manualcontrolsettings.xml
2011-06-09 10:11:27 +03:00
elafargue
1ac92643b7 Fix 'smart' throttle/flight mode channel assignment, it works now. Someone please test & report.
OP-522
2011-06-08 22:15:10 +02:00
James Cotton
3a3c88cefa OP-522: When you unchecked Run Calibration it forces the Throttle neutral to 5%
of the range and the FlightMode to 50%.

Sorry there's also some indentation changes mixed into this patch.
2011-06-08 12:21:43 -05:00
zedamota
dcccae7270 Change throttle default max value to 0.95 on multis 2011-06-08 18:21:29 +01:00
James Cotton
f361603a10 OP-521: Fixed reversal of flight mode in GCS properly now I have hardware to
test it :)
2011-06-08 12:01:47 -05:00
James Cotton
68d6e7deba OP-521: Fixed dangerous UI bug that reversed flight mode switch on GCS relative
to flight when flight mode switch input range was reversed.  Also switche to
using static field method technique for compiler error checking (preferrable
when possible)
2011-06-07 17:35:21 -05:00
James Cotton
0b78ae07bb OP-521: Match the flight logic for processing flight mode switch position on
GCS so the slider should always match what hte internal logic says.
2011-06-07 17:04:36 -05:00
Oleg Semyonov
268488a5b8 config: relax the CCPM mixer disclaimer (it has been used already) 2011-06-07 19:46:46 +03:00
Oleg Semyonov
b1d945c6f2 OP-369: remove completed TODO list, unify capitalization 2011-06-07 19:41:52 +03:00
elafargue
9b572407a7 Small compilation warning fixed and small typos 2011-06-07 17:15:16 +02:00
elafargue
dbba0afe0d OP-369 Last improvements to import option. 2011-06-07 17:06:50 +02:00
elafargue
a7dccb6648 OP-502 If a board is not connected, the "Save" button is grayed out. The "Apply" button is still enable, which enables creating configurations purely offline. 2011-06-07 16:56:16 +02:00
elafargue
81b29c2b51 Merge branch 'master' into bugfix-ground 2011-06-07 14:59:43 +02:00
elafargue
8ac5399c1d OP-527 Implemented as requested: will load the default settings if no settings found, without asking. 2011-06-07 13:54:38 +02:00
elafargue
b6326b855d OP-369 Implement help button and keyboard shortcuts as requested. 2011-06-07 07:01:58 +02:00
James Cotton
83916f3a4e Fix bug in UAVTalk where the expected packet length check was incorrect for
instances of objects
2011-06-06 10:37:57 -05:00
elafargue
2a5ff0b36a OP-369 : in case there is an objectID mismatch, still try to update the object if we found the name, but place it in "warning" mode. If during update some fields do not exist, then place in "Error" mode and prevent automated saving (will still try to update as many fields as possible) 2011-06-06 10:44:21 +02:00
James Cotton
1365542103 OP-493: Populate the Accessory Desired from TX 2011-06-05 15:38:57 -05:00
elafargue
ac7216946a Now use the ".uav" extension for exporting settings in XML format. Dormant feature: if you use a .xml extension manually, will export in full format. 2011-06-05 19:02:43 +02:00
elafargue
3077dec24d Merge branch 'bugfix-ground' into OP-369_Edouard_UAVSettings_ImportExport 2011-06-05 18:42:39 +02:00
elafargue
3d676d05df Merge branch 'bugfix-ground' of git.openpilot.org:OpenPilot into bugfix-ground 2011-06-05 18:41:46 +02:00
elafargue
e5e85fa47a Get rid of the "Request" button on the config gadget: it now tracks object updates and automatically keeps its state synchronized with UAVOBject changes. 2011-06-05 18:40:52 +02:00
James Cotton
2e089e2816 Changed text when using test output mode to remove deprecated comment about
arming.
2011-06-05 10:58:08 -05:00
elafargue
864dbb0ab5 Add an object saving completion message, so that the user knows when saving is finished. 2011-06-04 14:32:15 +02:00
elafargue
2387958422 OP-369 Now the import operation provides a summary and lets the user selectively save the right objects. Also improved the saveToSD queue a great deal so that it can deal with failed save operations (on non-existent objects). 2011-06-04 13:06:12 +02:00
elafargue
787b43fa0b Merge branch 'bugfix-ground' into OP-369_Edouard_UAVSettings_ImportExport 2011-06-03 08:04:18 +02:00
dankers
5957612870 Remove old ini file, add a modelview item for the new CC model to ModelView 2011-06-03 12:18:37 +10:00
elafargue
f4b19fe65a OP-369 Settings Import/Export for the Airframe. Also sanitized UAV Object saving in flash in one central location in the uavobjectutils library. 2011-06-02 16:08:19 +02:00
James Cotton
f8b945401d Merge branch 'bugfix-ground' of ssh://git.openpilot.org/OpenPilot into bugfix-ground 2011-06-01 14:20:54 -05:00
James Cotton
8f808df113 Fix for Utils trying to not include the debug library on OSX and Mac 2011-06-01 13:59:10 -05:00
James Cotton
45244e3df5 On OSX make the plugins in .app/Contents/Plugins instead of PlugIns 2011-06-01 13:58:49 -05:00
zedamota
ad65dee643 Added auto select 2011-06-01 18:40:04 +01:00
zedamota
fce8038cf4 Create new setting "autoselect" 2011-06-01 16:08:14 +01:00
zedamota
844bc79f45 Merge remote-tracking branch 'remotes/origin/bugfix-ground' into OP-512-PTDreamer
Conflicts:
	ground/openpilotgcs/src/plugins/uploader/uploadergadgetwidget.cpp
2011-06-01 14:02:55 +01:00
elafargue
cacf03ae7b OP-515 Uploader Gadget UI improvements. Not implemented Firmware pre-check yet. 2011-06-01 14:49:22 +02:00
Oleg Semyonov
b46c5dbff9 Merge branch 'packaging' into bugfix-ground 2011-06-01 13:08:48 +03:00
Oleg Semyonov
038eadb97a Merge branch 'master' into packaging 2011-06-01 12:53:39 +03:00
David Buzz Carlson
2691b80576 Fix segfault on close. Fix _terrible_ variable naming. Fix excessive qDebug messages. 2011-05-31 23:31:40 -07:00
elafargue
bd35d9bff4 Forgot the configinputwidget.cpp file in previous commit. 2011-05-31 22:56:33 +02:00
elafargue
90024d69e4 Improve inline help icons, place them next to request/apply/save buttons where the eye logically goes when surveying the UI. Open for comments of course. 2011-05-31 21:20:38 +02:00
zedamota
fc7e7df863 OP-512 Remove some qDebug's 2011-05-31 15:41:05 +01:00
zedamota
1ffc0e3d56 Ground/OP-512- Autoconnect option, configured trough the options menu. Default is ON. 2011-05-31 15:29:53 +01:00
David Carlson
614fd138e4 Change the help button setup from in-line help to one per page. Will no longer open an HTML window, but will open the relevant section on the wiki using the OS default browser. 2011-05-31 00:16:01 -07:00
Oleg Semyonov
03ed76cf14 Merge branch 'bugfix-ground' into packaging 2011-05-30 16:56:37 +03:00
elafargue
887a23a3cf OP-510 Issue with patch in source file, sorry. 2011-05-30 07:38:37 +02:00
elafargue
46824dea4e OP-510: wider fix for Yaw channel servo fix which should improve the 'mixer not saving' issue too, as well as retrieving settings from the board for Yaw mode. 2011-05-30 07:29:26 +02:00
elafargue
93dd254c77 Merge branch 'bugfix-ground' of git.openpilot.org:OpenPilot into bugfix-ground
Conflicts:
	ground/openpilotgcs/src/plugins/config/configairframewidget.cpp
2011-05-30 07:26:44 +02:00
David Carlson
eb337c6e5c Fix for tri yaw channel being reset. 2011-05-29 21:07:22 -07:00
zedamota
144ca219a5 Cosmetic changes to Uploader Gadget Rescue mode 2011-05-30 03:08:24 +03:00
Oleg Semyonov
91f5fd2318 Merge branch 'os_gcs-version-info' into packaging 2011-05-30 02:56:11 +03:00
PeterG
d18a229a76 Change default settings format from ini to xml 2011-05-29 14:02:10 +02:00
zedamota
d591d509ed Merge remote-tracking branch 'remotes/origin/PT-bugfix-ground' into bugfix-ground 2011-05-29 10:57:57 +01:00
PeterG
8b80b35964 Remove " Gadget" from gadget names since it adds nothing useful. 2011-05-29 09:51:39 +02:00
PeterG
3a7f8c7fc5 Remove empty options pages for config, pipxtreme and uploader gadgets. 2011-05-29 09:42:26 +02:00
elafargue
b702db2549 OP-510 Fix for setting tail servo on tricopter, and retrieving tail servo settings. Please test thoroughly and report! 2011-05-29 09:37:19 +02:00
PeterG
ba4a060c27 Changes to allow icons to be displayed for gadgets in the options page and in the gadget dropdown list.
Also, allow gadgets to have exactly one configuration only, which gives them a bit more real estate in the options page.

For gadgets to use this, call functions setIcon(QIcon) and setSingleConfigurationGadgetTrue()
in the constructor of the gadget factory, e.g.:

SystemHealthGadgetFactory::SystemHealthGadgetFactory(QObject *parent) :
        IUAVGadgetFactory(QString("SystemHealthGadget"),
                          tr("System Health Gadget"),
                          parent)
{
    setSingleConfigurationGadgetTrue();
    setIcon(QIcon(":/core/images/openpilot_logo_64.png"));
}
2011-05-29 09:32:42 +02:00
elafargue
07a48573ea Merge branch 'bugfix-ground' of git.openpilot.org:OpenPilot into bugfix-ground 2011-05-29 08:59:21 +02:00
elafargue
da887d3f2e OP-513: Endianness problem on GIT revision and Date display on uploader gadget. Fixed, please confirm on your own architectures? 2011-05-29 08:58:14 +02:00
Stacey Sheldon
3a755dcdbb gcs: fix id of quad-x image in SVG
The quad-x image was missing in the GCS config gadget.

GCS expects the quad-x image to have id=quad-X (upper
case X).
2011-05-28 22:17:40 -04:00
Oleg Semyonov
8c6526cf25 gcs: add git version info to the About dialog using version-info.py 2011-05-29 00:27:07 +03:00
PeterG
ce3196c33c Changes to the tree view to the left on the options page. 2011-05-28 20:10:06 +02:00
elafargue
79c2c16ae4 Fix: Y6 multirotor drawing was wrong for motors 3 and 4. 2011-05-28 11:21:07 +02:00
zedamota
7f5c9b6c43 Cosmetic changes to Uploader Gadget Rescue mode 2011-05-27 11:49:15 +01:00
elafargue
39c2f074f2 Merge branch 'master' into bugfix-ground 2011-05-27 07:53:05 +02:00
dankers
97e383afce Small text fix for windows and Mac, praying it works on linux 2011-05-27 14:31:58 +10:00
Oleg Semyonov
a715012184 Merge branch 'windows_installer' into bugfix-ground 2011-05-26 00:30:11 +03:00
elafargue
9cb380fba3 Make sure the "Advanced" settings is not selected by default in the airframe config UI. 2011-05-25 21:25:29 +02:00
elafargue
3edd7e3c3d Support for packaged firmware files (opfw) in the uploader gadget. 2011-05-25 21:23:22 +02:00
zedamota
ccd383c999 Fixes compile issues on windows with latest Qt 2011-05-25 16:15:01 +01:00
Oleg Semyonov
5dc28260ba credits: fix mixed newlines and trailing spaces 2011-05-25 17:59:18 +03:00
elafargue
5b787272f5 OP-504 Attempt to fix the Rescue/Boot issue, and bugfix in firmware version display in UPloader gadget. 2011-05-24 08:15:57 +02:00
zedamota
b69402b7ab This should fix the upload CLI tool. 2011-05-23 11:55:09 +01:00
elafargue
cc9fa772c0 Improvement: now the config output panel in the config gadget remains up to date all the time, no need to click on the "request" button after setting up the mixers. 2011-05-17 22:23:08 +02:00
David Carlson
21213dd3c5 Merge branch 'master' into OP-495_CheBuzz_HelpButtons
Conflicts:
	ground/openpilotgcs/src/plugins/config/output.ui
2011-05-17 01:06:28 -07:00
David Carlson
b1ec27bd75 Add help buttons to the config gadget UI. Also connect all signals to its slot in configgadgetwidget.cpp. Also some very trivial .html help files. 2011-05-16 21:54:23 -07:00
elafargue
b2587a5b9f Improvement & bugfix: now the output config tab in the config gadget only shows the channel assignments as labels, not dropdowns, and more importantly does not try to save them when clicking on save/apply! 2011-05-17 00:34:25 +02:00
elafargue
98f286a682 Uploader gadget improvements 2011-05-16 22:05:33 +02:00
elafargue
6dc6b45f1b Merge branch 'bugfix-ground' 2011-05-16 20:10:20 +02:00
elafargue
3129c10d05 Bugfix (uploader gadget) 2011-05-16 20:09:51 +02:00
elafargue
65201ec81c Improve Uploader gadget widget behaviour when clicking on halt & boot (prevent double clicking) 2011-05-16 20:03:41 +02:00
David Carlson
d076418895 Merge branch 'master' into OP-495_CheBuzz_HelpButtons 2011-05-15 19:36:38 -07:00
elafargue
6d566c27fe Merge branch 'bugfix-ground' 2011-05-15 23:37:24 +02:00
elafargue
50f1e15f54 Aditional artwork for GCS (artwork directory), plus show basic board info when connected on the uploader gadget. 2011-05-15 22:48:18 +02:00
dankers
2c1caa957c Add some more sounds to the complete sound set 2011-05-15 22:13:21 +10:00
elafargue
2d6b4dce55 Small fix to System Health gadget, to make it behave correctly when started while the connection is up already. 2011-05-14 16:31:59 +02:00
elafargue
3a17168708 Merge branch 'master' into bugfix-ground 2011-05-14 15:45:11 +02:00
elafargue
fab880a7d2 Improvement by pip1996 on opmpap widget, to limit update rate and solve the CPU hogging issue. 2011-05-14 14:47:49 +02:00
dankers
7fc87700cc Fix the default config. The control gadget was on the config screen to help new users validate their inputs. Adding it back. 2011-05-14 17:59:20 +10:00
elafargue
f9212cda7b Last minute default settings refinement.
CC Attitude UI improvement.
2011-05-13 08:24:34 +02:00
elafargue
d2cf5529bf Merge branch 'bugfix-ground' 2011-05-13 07:55:42 +02:00
elafargue
dceae1a9b0 Make bargraph dials better (color and range for roll/pitch/yaw are now correct). Disable use of OpenGL by default on config to ensure max compatibility with all graphics cards. 2011-05-13 00:01:31 +02:00
elafargue
c65c1ac109 Merge branch 'bugfix-ground' 2011-05-12 17:02:39 +02:00
elafargue
ab7fdfcc1f OPReview-40 : Disable min/max output channel range controls when doing a servo test, in order to avoid mistakes by careless users. 2011-05-12 16:32:38 +02:00
David Carlson
5bddbc4108 Add help buttons at relevant places within config gadget. This is only the UI change and the buttons have no effect currently. 2011-05-12 03:37:34 -07:00
James Cotton
55fbb5413b Merge branch 'bugfix-ground' 2011-05-11 20:22:52 -05:00
James Cotton
69c27aa1ce Move "zero while arming" option to below other CC Attitude widgets. Was
overlapping other fields.
2011-05-11 17:45:14 -05:00
elafargue
ca39cbe1fe Merge branch 'bugfix-ground' 2011-05-11 07:16:11 +02:00
elafargue
d5fbc0be4d Fix "Halt" command on Windows XP sp2. 2011-05-10 21:19:51 +02:00
elafargue
f904e09353 Merge branch 'master' into OP-307_Firmware_Description_Packaging 2011-05-10 08:31:25 +02:00
Oleg Semyonov
94c49ac6d0 OP-179: fix library dependencies 2011-05-09 21:05:23 +03:00
Oleg Semyonov
1cae0cd167 OP-179: final fix (builds on Linux and Windows) 2011-05-09 20:09:00 +03:00
Oleg Semyonov
75c5761506 Revert "Revert change for opmaplib, causes linking problems on Windows."
This reverts commit 822017953e
and fixes it to work on Windows too.
2011-05-09 19:36:17 +03:00
elafargue
1c09f85be2 Merge branch 'master' into bugfix-ground 2011-05-09 16:50:11 +02:00
elafargue
822017953e Revert change for opmaplib, causes linking problems on Windows. 2011-05-09 16:48:46 +02:00
James Cotton
fb8417a0ff Merge remote-tracking branch 'origin/op_475_476_calibrate_during_arming' 2011-05-09 09:23:16 -05:00
elafargue
262cc805b0 Updated opmap lib and opmap plugin to use the Utils::StoragePath correctly. 2011-05-09 16:09:35 +02:00
elafargue
a97efad8f9 Modify "StoragePath" to use the settings storage directory and not the home directory. Works on Linux. 2011-05-09 15:19:10 +02:00
elafargue
c36b6a715b OP-451 Add a tooltip for input configuration channel reversal checkboxes, as requested. 2011-05-09 14:24:36 +02:00
elafargue
1f88060671 Merge branch 'master' into bugfix-ground 2011-05-09 14:21:11 +02:00
David Carlson
20fcfe186b Merge branch 'bugfix-ground' of ssh://git.openpilot.org:22/OpenPilot into bugfix-ground 2011-05-09 02:57:22 -07:00
David Carlson
b89909756c Increase accel bias samples to 60. Add debuging output if enabled during calibration. Add check for the possibility of multiple signals arriving before slot is disconnected and causing bias to be calculated incorrectly. 2011-05-09 02:55:05 -07:00
elafargue
9dc3dde2c8 Small UI fix to avoid labels looking ugly on config input panel. 2011-05-09 11:19:55 +02:00
James Cotton
785054a694 OP-475: Update HITL for the FlightStatus object 2011-05-08 16:04:26 -05:00
elafargue
a7b5a2d5f4 Merge branch 'master' into OP-307_Firmware_Description_Packaging 2011-05-08 21:28:24 +02:00