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

3040 Commits

Author SHA1 Message Date
PT_Dreamer
f56b4b8a9b GCS/MapLib - Switched to a signal slot aproach on several functions which need
to be propagated.
2012-08-18 18:07:39 +01:00
Laura Sebesta
ca4fbd5102 Fixed several compile warning complaints. 2012-08-18 14:18:10 +02:00
Laura Sebesta
b7298f890f homeitem.cpp fixed to erase the safe area when turning off ShowSafeArea. 2012-08-18 09:28:30 +02:00
Laura Sebesta
375ecfb369 Streamlined paint function. 2012-08-18 09:23:09 +02:00
Laura Sebesta
d3daa06713 Improved filtered groundspeed calculation. Now the filtering rise time no longer on the refresh rate. 2012-08-18 09:19:59 +02:00
Laura Sebesta
28f382d472 Disabled dragging and dropping of UAV and Home icons. 2012-08-18 09:15:55 +02:00
Dmytro Poplavskiy
89023e8c41 Welcome page: display tooltips below buttons if necessary
Useful on low res screen, to ensure tooltips are visible
2012-08-18 11:30:50 +10:00
Kenz Dale
c484dcb1db Corrected mathematics for estimating rate of turn. 2012-08-17 17:26:15 +02:00
Kenz Dale
e3a60b7677 Merge branch 'pt/MapEnhancements' of ssh://git.openpilot.org/OpenPilot into pt/MapEnhancements 2012-08-17 16:56:44 +02:00
Laura Sebesta
34efc4d3b7 Dramatic performance gains by turning on caching for homeitem and mapgraphicitem. 2012-08-17 16:47:11 +02:00
Kenz Dale
e648a778db Enabled caching for map widget. 2012-08-17 11:51:50 +02:00
Laura Sebesta
e52d141e3e Improved bounding rect dimensioning. 2012-08-17 10:11:45 +02:00
Laura Sebesta
7e55b31ca1 Fixed bounding box size.
Conflicts:

	ground/openpilotgcs/src/libs/opmapcontrol/src/mapwidget/uavitem.h
2012-08-17 09:46:35 +02:00
Mike LaBranche
13e631a2e4 ConnectionManager: add connect/reconnect timer management into telemetryconnect/disconnect slots 2012-08-16 21:13:07 -07:00
David Ankers
ca7827e0cd Monkey work!! 2012-08-17 09:21:46 +10:00
PT_Dreamer
525dec1748 GCS-Added gradient to edit gadgets bar 2012-08-16 23:30:31 +01:00
dwobdar
92114bf952 Fixing white border in aircraft config screen. 2012-08-16 22:19:24 +02:00
PT_Dreamer
af61e983b8 Merge branch 'pt/CC3D_Release' of ssh://git.openpilot.org/OpenPilot into pt/CC3D_Release 2012-08-16 19:39:07 +01:00
PT_Dreamer
b91afc2c12 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into pt/CC3D_Release 2012-08-16 19:37:55 +01:00
Laura Sebesta
f23eabf469 Fixed comments to mention "instantiation" instead of "allocation". 2012-08-16 08:47:45 +02:00
Laura Sebesta
699b2f3030 Cleaned up variable names, fixed bug in saving whereby the a log file could be saved over if the extension were not "opl". 2012-08-16 08:37:26 +02:00
Laura Sebesta
69133c1427 Further optimized Matlab parsing. It now does most typecast as vectorized operations.
The upshot is an approximately 50% performance boost.
2012-08-16 00:13:19 +02:00
PT_Dreamer
57d4aaaf17 GCS-Handle reload for unbounded objects 2012-08-15 22:50:09 +01:00
PT_Dreamer
a78766c7b2 Merge branch 'os/CameraStab-use-ConfigTaskWidget' of ssh://git.openpilot.org/OpenPilot into CameraStab-use-ConfigTaskWidget 2012-08-15 12:52:51 +01:00
PT_Dreamer
93124bbfee GCS-Fixed reload operation, sorry Oleg 2012-08-15 12:37:00 +01:00
Oleg Semyonov
fd9f1491ba CameraStab UI: fix spacing and add comments according to OP coding style guidelines
More info:
http://wiki.openpilot.org/display/Doc/Coding+Style
http://qt-project.org/wiki/Qt_Coding_Style
2012-08-15 10:31:19 +03:00
PT_Dreamer
d3c5fcfa7e GCS-Handle reload operation config camera stab 2012-08-15 00:13:26 +01:00
PT_Dreamer
ae962f507b GCS-Couple of bug fixes and created a new defaultRequested signal 2012-08-14 23:55:53 +01:00
PT_Dreamer
2ddb0e63d2 GCS-Couple of bug fixes and created a new defaultRequested signal 2012-08-14 23:02:08 +01:00
Mike LaBranche
8c3488e220 TelemetryMonitorWidget: add op-131 support for connect/disconnect signals
from telemetrymonitor, slots and timers in connectionmanager;
2012-08-14 12:35:53 -07:00
PT_Dreamer
0f8974178a GCS-Fixes crash if autoLoadWidgets is called after addUAVObject 2012-08-14 18:12:07 +01:00
Oleg Semyonov
64e5ff8e6d CameraStab UI: rescan widget if changed during UAVObject update 2012-08-14 17:52:44 +03:00
Oleg Semyonov
c8e90a537e CameraStab UI: use ConfigTaskWidget API to take care of other widgets 2012-08-14 17:15:53 +03:00
Oleg Semyonov
a0977b405b CameraStab UI: use ConfigTaskWidget API with objrelation dynamic property
This supports most of widgets which are directly related to UAVObjects.
2012-08-14 17:12:55 +03:00
Dmytro Poplavskiy
69bd17c6a8 Welcome page: display the scroll decorator
To give a hint the news list is scrollable
2012-08-14 23:06:31 +10:00
Dmytro Poplavskiy
81d4fd3740 Updated welcome page to work better on small screen
if the buttons grid overlaps vertically with wizard buttons,
move it left to use only the space left to wizard buttons;

Hide the OpenPilot Logo when workspace buttons don't
fir the screen;

Limit the size of community panel on small screen
2012-08-14 22:54:08 +10:00
Dmytro Poplavskiy
31cb4b7ea5 Welcome page: added wizard buttons
Not connected to anything yet, may be necessary
to update the workspace names once new workspaces added.
2012-08-14 22:46:35 +10:00
PT_Dreamer
40da558131 GCS-Update the path to the stylesheets on Mac to. 2012-08-13 22:48:45 +01:00
James Cotton
e9a355077f Look for the default configurations in a platform dependent location,
unfortunately.
2012-08-13 22:42:17 +01:00
PT_Dreamer
1c344bb4fe Merge branch 'pt/CC3D_Release' of ssh://git.openpilot.org/OpenPilot into CC3D_Release 2012-08-13 22:28:25 +01:00
Chris Pember
dc5cec8c06 Merge branch 'pt/CC3D_Release' of ssh://git.openpilot.org/OpenPilot into pt/CC3D_Release 2012-08-12 22:09:04 -07:00
Chris Pember
b4da3b5e54 added a little padding for the scroll area in airframe form so in windows it doesnt get squashed...i hope. 2012-08-12 22:08:56 -07:00
James Cotton
edec288812 Update the config file so the mag scopes selection works 2012-08-13 10:34:55 +10:00
Laura Sebesta
62041f40ad Changed variable from static to class static. 2012-08-12 23:36:27 +02:00
James Cotton
63e490a922 Update the config file so the mag scopes selection works 2012-08-12 16:12:21 -05:00
Mike LaBranche
c414f80fd7 Merge branch 'pt/CC3D_Release' of ssh://gitolite@git.openpilot.org/OpenPilot.git into CC3D_Release 2012-08-12 08:40:43 -07:00
PT_Dreamer
1a22eef491 GCS-Several changes according to review comments 2012-08-11 23:36:00 +01:00
PT_Dreamer
f4bd4c3120 Merge branch 'pt/MapEnhancements' of ssh://git.openpilot.org/OpenPilot into pt/MapEnhancements 2012-08-11 22:03:09 +01:00
PT_Dreamer
619b4ffa8c GCS-Prevent the map from being dragged beyond the available imagery.
Previous way seemed broken, looked ugly and like a bug.
2012-08-11 19:58:14 +01:00
Chris Pember
180313031f Merge branch 'pt/CC3D_Release' of ssh://git.openpilot.org/OpenPilot into pt/CC3D_Release 2012-08-11 11:29:47 -07:00
Chris Pember
6e413d1779 locked the column headers in airframe yaw and txPID so they hopefully dont go all gigantic in windows 2012-08-11 11:29:38 -07:00
PT_Dreamer
9379eb73d7 GCS-Fix stylesheet not being saved. 2012-08-10 03:03:52 +01:00
PT_Dreamer
254f98aad5 GCS-Updated configuration file with the latest changes 2012-08-09 22:47:48 +01:00
PT_Dreamer
3df35b933c Merge branch 'pt/CC3D_Release' of ssh://git.openpilot.org/OpenPilot into pt/CC3D_Release 2012-08-09 22:42:35 +01:00
PT_Dreamer
b0e6566114 GCS- Handle loading of the configuration file. Stylesheets files
are now loaded from mainwindow instead of main.
2012-08-09 22:33:13 +01:00
PT_Dreamer
dae15702ed GCS-Delete previously used stylesheet and configuration files 2012-08-09 22:31:51 +01:00
PT_Dreamer
e2d7e824ed GCS-Created new wide and default stylesheets and configurations just as an example.
Currently they are the same.
2012-08-09 22:30:31 +01:00
PT_Dreamer
9da1372e54 GCS-Change the way the stylesheets are copied (was not working for me)
Also copy the default configuration xml files. These are now on
the shared folder together with the stylesheet instead of being
inside a resource file.
Stylesheets and configuration files are now copied from SRC/SHARED to
APP/SHARED
2012-08-09 22:25:34 +01:00
PT_Dreamer
e033004656 GCS-Added new dialog to let the user choose from a list of available
configurations uppon startup when no valid configuration is found
2012-08-09 22:22:09 +01:00
Dmytro Poplavskiy
93dd153fc4 Enabled text antialiasing for a number of widgets
Unlike QPainter::setRenderHints(),
QGraphicsView::setRenderHints() set the render hints  to flags passed as parameter,
so QPainter::TextAntialiasing flag is cleared.

changint it to setRenderHint or adding QPainter::TextAntialiasing
value fixes the AA text rendering.
2012-08-09 22:04:40 +10:00
David Ankers
5bf98a03c7 Align the new telem to the center, it's bugging me. 2012-08-09 18:12:56 +10:00
David Ankers
92a9a57bf7 Make options Window a better size, fixes a load of the cramped layout. 2012-08-09 15:42:00 +10:00
David Ankers
40e25ff8e2 Turn on sounds by default 2012-08-09 14:58:07 +10:00
Dmytro Poplavskiy
518358c8f7 Re-enabled the notify plugin with Qt 4.8
On all the platform except of Qt 4.8.0 on Mac,
this combination crashes.

Fixed in Qt 4.8.1, QTBUG-23128
2012-08-09 09:06:14 +10:00
Dmytro Poplavskiy
d358591726 Fixed possible notification plugin deadlock
Protecting with mutex stateChanged(Phonon::State)
and starting/stopping playback looks dangerous,
the media player may emit another state change leading to deadlock.

The mutex should not be necessary here
since all the slots are executed in the main thread.

Changing the objectUpdated(UAVObject*) connection type
to Qt::QueuedConnection is not strictly necessary,
signals between threads are queued by default,
it serves more the documentation purpose.
2012-08-09 09:05:59 +10:00
Dmytro Poplavskiy
f4ff84d41a Notify plugin cleanup
Removed a few unused SoundNotifyPlugin members
2012-08-09 09:05:39 +10:00
PT_Dreamer
821f954276 Merge branch 'pt/CC3D_Release' of ssh://git.openpilot.org/OpenPilot into pt/CC3D_Release 2012-08-08 23:32:07 +01:00
Mike LaBranche
0f35e5f776 Merge branch 'pt/CC3D_Release' of ssh://gitolite@git.openpilot.org/OpenPilot.git into CC3D_Release 2012-08-08 15:05:57 -07:00
James Cotton
7cca5696a2 Merge remote-tracking branch 'origin/pt/boardbased_ui_limits' into next 2012-08-08 14:11:24 -05:00
Laura Sebesta
fe6ea7e0e2 Fixed getUAVPosition to use position actual data correctly.
Refactored coordinate conversion names in order to be clearer, since
two identically named functions-- one in revo, one here-- performed
very different maths.
2012-08-08 20:58:13 +02:00
Kenz Dale
f3e1e768ad Refactored variable names to be more helpful. 2012-08-08 20:57:41 +02:00
Kenz Dale
6b3cb29ea1 Fixed maximum size for title bar in map widget. 2012-08-08 20:56:29 +02:00
James Cotton
06a6e367b0 Merge remote-tracking branch 'origin/hyper/OP-661' into next 2012-08-08 13:49:48 -05:00
Chris Pember
ee217ad17e fixed aircraft page, with different layout 2012-08-07 20:53:02 -07:00
Chris Pember
0d079f2059 fixed aircraft page, were some minor adjustments I wanted to make 2012-08-07 14:29:16 -07:00
PT_Dreamer
74cd57e8a0 GCS - IFDEFed everything pathplanner related. 2012-08-07 22:03:40 +01:00
Chris Pember
820162fa27 fixed aircraft page, specifically multirotor page so it works better 2012-08-07 13:53:13 -07:00
Chris Pember
36707aef67 fixed save area in all forms, shrunk down the output form upper groupbox a bit 2012-08-07 11:33:21 -07:00
Chris Pember
3fb6e35b7f Merge branch 'pt/CC3D_Release' of ssh://git.openpilot.org/OpenPilot into pt/CC3D_Release 2012-08-07 10:48:13 -07:00
PT_Dreamer
9dca82a6db GCS-Created new stylesheet rule for the config plugin list
Reverted increase of list width.
2012-08-07 12:25:04 +01:00
Chris Pember
f75d710bcd fixed save area in camerastab ui form to make skinny 2012-08-06 20:07:50 -07:00
PT_Dreamer
fc32ec8d8f Merge branch 'pt/CC3D_Release' of ssh://git.openpilot.org/OpenPilot into pt/CC3D_Release 2012-08-06 22:55:57 +01:00
PT_Dreamer
2963fd2658 GCS - Increased tabbed widget width on the config page. 2012-08-06 22:55:35 +01:00
James Cotton
7a214dc6cb AndroidGCS: Clean up some warnings in UAVO templates 2012-08-06 16:55:00 -05:00
James Cotton
a067c0b0de AndroidGCS: Make sure the rest of the UAVO IDs are working as positive long
values instead of ints.
2012-08-06 16:54:57 -05:00
James Cotton
fc7e9d2b2b AndroidGCS: Change the UAVO generation to suppress warnings 2012-08-06 16:54:57 -05:00
James Cotton
ae40f88600 AndroidGCS: Convert UAVObject IDs to longs from ints because they are meant to
be unsigned uint32 which is unsupported by java.
2012-08-06 16:54:57 -05:00
James Cotton
9960411ead Finish porting the meta data changes from GCS and update all the UAVOs 2012-08-06 16:54:55 -05:00
James Cotton
e1ba3d2e63 Update the UAVObjects to the version on next. At some point a make script
should generate these and copy from build/uavobjects-synth/java to this
directory automatically.

Also make sure java objects use CamelCase
2012-08-06 16:54:54 -05:00
James Cotton
6dd509ded3 Make the initial values for enums be the string. Make setValue accept
numerical or string constants for enums.  Only returns a string though.
2012-08-06 16:54:19 -05:00
James Cotton
f338625092 Removed various debugging outputs and exceptions for now (will add back in a
more principled manner later).  Also updated the auto generated code.
2012-08-06 16:54:19 -05:00
James Cotton
cc7eb0f261 Make object store with the minimal amount of space and deal with unsigned
values
2012-08-06 16:54:18 -05:00
James Cotton
9a4c158690 Java autogenerated code to be more compatible with gcs code 2012-08-06 16:54:18 -05:00
James Cotton
f0e4c10cfa Continuing to work on the java code to be more consistent with GCS code 2012-08-06 16:54:17 -05:00
James Cotton
1810fb61a0 Update the object template to be more consistent with ground code 2012-08-06 16:54:17 -05:00
PT_Dreamer
40415f606e Merge branch 'pt/CC3D_Release' of ssh://git.openpilot.org/OpenPilot into pt/CC3D_Release 2012-08-06 19:01:48 +01:00
Chris Pember
89a8b05422 fixed tab order, a little spacing tweak onadvanced page 2012-08-06 10:32:01 -07:00
Chris Pember
c600014f2f merged the weak leveling and axis lock to same group 2012-08-05 14:04:42 -07:00
Chris Pember
bcb23bb779 pre-spinner value align shift 2012-08-05 12:44:36 -07:00
Chris Pember
56dfed2e8b pre-spinner value align shift 2012-08-05 12:41:19 -07:00