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

682 Commits

Author SHA1 Message Date
PeterG
7205917562 Fix for generalsettings.ui 2011-08-04 17:30:18 +02:00
Peter Gunnarsson
76ee2c060c OP-520 Change $$qtLibraryTarget to $$qtLibraryName 2011-08-04 15:17:08 +02:00
zedamota
2a1b830eaa Merge remote-tracking branch 'remotes/origin/stac/support-multiple-receivers' into GCS_ChangesToUI-RuntimeCFG 2011-08-04 12:13:44 +01:00
Peter Gunnarsson
32f6cf7346 Change to normal tabwidget for workspace panel, allow placement of tab panel on top or bottom and allow reordering of tabs through drag n drop, allow changes to number of workspaces to take effect immediately, merge uavgadgetmanager with uavgadgetmode. 2011-08-04 11:55:18 +02:00
Peter Gunnarsson
4dd7ff3750 Remove unused ViewManager from MainWindow. 2011-08-03 10:58:42 +02:00
Peter Gunnarsson
f3db62bb4f Remove unused code in splitterorview.cpp 2011-08-03 10:04:40 +02:00
Peter Gunnarsson
951cae948e Make config gadget use new widget in icon panel. 2011-08-03 10:03:49 +02:00
Peter Gunnarsson
fc2e1c7fd7 Add new widgets with simpler code than what is used currently (FancyTabWidget). 2011-08-03 10:02:51 +02:00
zedamota
1b34376797 Added "changes not saved" message warning to config gadget 2011-08-02 17:06:17 +01:00
Stacey Sheldon
90b2625deb rcvractivity: Add tracking of Rx channel activity 2011-08-02 01:27:37 -04:00
Stacey Sheldon
1299e110c4 gcs: update CC hw settings to use hwsettings RcvrPort field 2011-08-02 01:22:04 -04:00
Stacey Sheldon
829b8b83f6 rcvr: Add GCS receiver driver for rcvr via telemetry
This allows the GCS to emulate a receiver device via the
telemetry link.

Select "GCS" as your input type in the manualcontrol config
screen and calibrate it as normal.

Note: The expected values for the channels are in microseconds
      just like a PWM or PPM input device.  The channel values
      are validated against minimum/maximum pulse lengths just
      like normal receivers.
2011-08-02 01:22:04 -04:00
zedamota
cdf4d112ce Finished refactoring airframe config widget 2011-08-01 13:28:58 +01:00
James Cotton
c5bf0ac657 Merge branch 'stac/refactor-usart-com' into camera_stabilization 2011-07-31 09:13:37 +09:00
James Cotton
96c2d24253 Merge branch 'next' into camera_stabilization
Conflicts:
	flight/CopterControl/Makefile
	flight/CopterControl/System/coptercontrol.c
	flight/Modules/Actuator/actuator.c
	flight/Modules/GPS/GPS.c
	flight/Modules/ManualControl/manualcontrol.c
	flight/Modules/Stabilization/stabilization.c
	flight/Modules/System/systemmod.c
	shared/uavobjectdefinition/manualcontrolsettings.xml
	shared/uavobjectdefinition/stabilizationdesired.xml
2011-07-30 10:06:10 +09:00
Oleg Semyonov
921905bd8c gcs: some cosmetic ui form changes
Receiver message font made the same as for other info messages.
Changed few label alignments.
2011-07-28 23:28:59 +03:00
Oleg Semyonov
ad339d32a6 gcs: some cosmetic ui text changes 2011-07-28 23:26:07 +03:00
James Cotton
9840f12658 Disable ModelView on QT 4.8 until fixed. 2011-07-28 18:59:55 +09:00
James Cotton
f2e04f78b7 Change to GLC Lib to make it compile on OSX with QT 4.8.0. This might be
required for all OS's with 4.8.0
2011-07-28 18:08:22 +09:00
zedamota
c7cf52be39 Added embedded and gcs version info to exported uavobjects file. 2011-07-27 19:39:08 +01:00
zedamota
69083ee618 Merge remote-tracking branch 'remotes/origin/GCS_ChangesToUI-RuntimeCFG' into next
Conflicts:
	ground/openpilotgcs/src/plugins/config/configinputwidget.cpp
	ground/openpilotgcs/src/plugins/config/input.ui
2011-07-26 21:44:59 +01:00
zedamota
b9f1532598 Refractured the Airframe config widget.
Corrected some language mistakes.
2011-07-26 20:35:38 +01:00
zedamota
79404ab80e Moved input type to hw config tab.
Created error message for unsupported configs.
2011-07-25 23:18:41 +01:00
zedamota
4dc5e7ea65 Fixed included file case.
Changed "throttle curve 1/2" to "curve 1/2".
2011-07-25 14:18:09 +01:00
zedamota
ba8985721c Fix for bluetooth modules hanging. Turns out certain HW don't implement the EV_TXEMPTY system event. Hack was to create a timer which triggers a fake event every 10secs. It checks the bytestosend value so it shouldn't have any effect on full compliant HW. 2011-07-25 00:43:48 +01:00
Oleg Semyonov
400e07bbd1 gcs: change fw date format to match the fw info and GCS version strings
Use UTC time of last commit instead of local time of PC.
Use the same date/time string "YYYYMMDD HH:MM" as GCS uses in About dialog.
2011-07-22 21:29:59 +03:00
zedamota
05f6904e09 Fix tab order. Switch to using unum for tabs. 2011-07-21 15:35:59 +01:00
Oleg Semyonov
75233577dc gcs: add new menu option for exporting current UAV data objects
This menu option is useful for technical support. It exports all
current UAV data objects to the XML, similar to settings. This data
can't be imported (it is useless), but can be published or passed to
the tech support for troubleshooting.
2011-07-21 16:51:47 +03:00
zedamota
3bf7dbd7e5 Added new hw config tab to the config gadget.
Created new helper class for update/save buttons which creates a visual feedback of the op result.
2011-07-19 14:50:42 +01:00
James Cotton
7153607b87 Reenable the receiver type input now that it is required. 2011-07-18 10:40:35 -05:00
James Cotton
efb2f315be Small bug where a field was still referenced but didn't exist in UI. 2011-07-17 02:19:58 -05:00
James Cotton
7081bb926b Group calibration items in UI as well 2011-07-16 11:16:47 -05:00
James Cotton
8f53ed2fc4 Group the axis limimts in the stabilization settings. 2011-07-16 11:07:30 -05:00
James Cotton
70943faec2 OP-550 UI Changes to make all fonts consistent in config gadget. Drop in the
bucket.
2011-07-16 03:26:36 -05:00
dankers
61e5d14d0d Add Joe's frame renders to the ModelView configuration. 2011-07-13 23:57:59 +10:00
Oleg Semyonov
2f7065e5b5 Merge remote branch 'origin/bugfix-ground' 2011-07-13 00:08:31 +03:00
zedamota
283422b930 Fix for FW upload failing if placed on a folder with non latin1 chars 2011-07-12 21:36:54 +01:00
James Cotton
53ca934b2b Merge branch 'heli_stabilization'
Conflicts:
	flight/CopterControl/System/inc/pios_config.h
	flight/Modules/Attitude/attitude.c
	flight/Modules/ManualControl/manualcontrol.c
	flight/Modules/Stabilization/stabilization.c
2011-07-12 13:28:20 -05:00
zedamota
30967a47d2 Merge remote-tracking branch 'remotes/origin/OP-537_PT_Dreamer' into bugfix-ground 2011-07-06 18:37:41 +01:00
Stacey Sheldon
cba0985f26 hwsettings: UAVObject to select hardware runtime hw config 2011-07-05 22:02:37 -04:00
James Cotton
46ae7eb17b Merge remote-tracking branch 'origin/bugfix-ground' into heli_stabilization 2011-06-30 19:40:22 -05:00
elafargue
b729b67f33 Attempt at making the new uploader gadget a bit more compact for smaller screens, make warning icon consistent with the rest of the icons. 2011-06-26 12:18:00 +02:00
elafargue
c55602a466 OP-538 Included fixes into ground codebase, thanks. 2011-06-26 12:16:21 +02:00
James Cotton
e6ad21d881 Make gyro bias in deg/s * 100 to calibrate more precisely. 2011-06-24 10:51:07 -05:00
James Cotton
0dc541cbaa Reformat attitude configuration gadget to use static access methods for
AttitudeSettings.  This helps compiler catch errors.
2011-06-24 10:38:26 -05:00
James Cotton
ab7ff56d96 Compute initial gyro bias while calibrating to speed up convergence 2011-06-24 10:38:26 -05:00
James Cotton
28501842c3 Expose the rate D term which in simulations seems to help damp oscillations for
high RateKp terms.  However it might be sensitive to gyro noise (vibrations).
In addition it is mathematically similar to lead shapign so probably only use
one or the other.
2011-06-24 10:38:25 -05:00
Oleg Semyonov
dc651b6604 Merge remote branch 'origin/OP-532_Heli_GUI_Improvements'
WARNING: this will wipe out system settings. Don't forget to export
settings first with old GCS and import using new GCS after upgrade.
2011-06-24 10:05:54 +03:00
Andrew Thoms
caf3c08ea2 OP-532 Improved visibility abd contrast of servo numbers on the
swashplate image
2011-06-24 01:38:29 -04:00
James Cotton
751bcba266 Merge remote-tracking branch 'origin/OP-515-PT_Dreamer' 2011-06-23 18:07:43 -05:00
zedamota
b67b6221d1 OP-515 took CPU serial from the devices screen 2011-06-23 17:42:54 +01:00
James Cotton
493fcaef2a OP-193 OP-511: Add settings to scale the camera input output range 2011-06-23 00:47:27 -05:00
zedamota
0d7393a8b3 OP-537 Move space to after the coma. 2011-06-22 10:11:19 +01:00
Andrew Thoms
56050b0536 OP-532 Implemented scalling of swashplate image in GUI 2011-06-22 00:38:53 -04:00
zedamota
61956d1ed2 OP-537 Fixed tooltips info 2011-06-21 19:14:39 +01:00
zedamota
59352a2e9a OP-537 Fix UI bug 2011-06-21 19:08:55 +01:00
zedamota
0ae31593ba OP-537 Fixes according to Osnwt suggestions 2011-06-21 18:58:46 +01:00
zedamota
6910bbb4f1 OP-515 Changes according to Osnwt suggestions. 2011-06-21 18:09:37 +01:00
Andrew Thoms
97c22fb57c OP-532 Better indication of unassigned servos in heli config UI 2011-06-20 22:40:22 -04:00
Andrew Thoms
438cb91709 OP-532 minor GUI improvements to highlight incorrect servo assignments 2011-06-20 22:20:19 -04:00
Andrew Thoms
cf342b4155 OP-532 make all swashplate lines draw even if servos not defined 2011-06-20 21:39:10 -04:00
Andrew Thoms
ca21863f91 OP-507 added more swashplate configurations 2011-06-20 21:33:11 -04:00
Andrew Thoms
177263c237 OP-532 minor UI changes to servo selection box visibilities 2011-06-20 21:04:51 -04:00
Oleg Semyonov
8bcdd62dbd Merge branch 'bugfix-flight' 2011-06-21 00:49:32 +03:00
James Cotton
5e5f1bb3f1 Merge remote-tracking branch 'origin/OP-530-PT_Dreamer' 2011-06-20 14:09:24 -05:00
James Cotton
0f2e4730b4 Merge remote-tracking branch 'origin/OP-530-PT_Dreamer'
Note this requires redoing the mixer settings!

Conflicts:
	shared/uavobjectdefinition/mixersettings.xml
2011-06-20 14:08:08 -05:00
zedamota
880905efba OP-530 Change multirotor max throttle default value to 90% 2011-06-20 14:39:01 +01:00
zedamota
1c700c9e7c OpenPilot OP-537
Make the GCS input configuration errors a bit more informative
2011-06-20 14:28:16 +01:00
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
dankers
eecacc57f6 Update deluxe dials from London Flyer, added deluxe horizontal dial
Note: these are not used by default, commiting to master directly
2011-06-19 02:34:12 +10: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
dankers
9c6f2e0aea New deluxe linear dials, new files and not used by default so commiting to master. 2011-06-11 23:24:59 +10:00
Oleg Semyonov
5d0c7fe42e Merge branch 'master' into heli_improvements 2011-06-11 12:19:07 +03:00
Oleg Semyonov
52d9438847 Merge remote branch 'origin/bugfix-ground' 2011-06-10 23:02:45 +03:00
dankers
d9607c44d8 Minor update from London flyer, readability on smaller screens improvement 2011-06-10 23:51:01 +10:00
dankers
314f596940 Update to Ed's PFD from London Flyer, adds slight look and feel improvments and removes the orange look.
Uses some look and feel from Guy's work also.
2011-06-10 21:40:30 +10: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
4f248172a3 Fix flight mode dial SVG to show the complete status. 2011-06-07 13:50:24 +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
dankers
d3ae9113d9 Update file names 2011-06-03 10:31:45 +10:00
dankers
62c172f280 Add Nuno's wonderful CC model 2011-06-03 09:46:59 +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
elafargue
a953974dfa Merge branch 'master' into bugfix-ground 2011-06-01 11:29:10 +02:00