1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-14 21:23:52 +01:00
Commit Graph

30 Commits

Author SHA1 Message Date
edouard
ecb5c719d2 Get rid of yet more compile-time warnings.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2124 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-11-14 15:25:14 +00:00
edouard
f9c41caaf3 OP-137 Bargraph dials now also support multivalued fields.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1904 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-06 21:34:25 +00:00
edouard
7598973824 Removed useless debug output from the dials plugins, to make GCS less verbose.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1726 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-23 20:17:17 +00:00
cranphin
e4d317f40e GCS: Drop read support for binary plugin configuration. If you haven't converted your old ini yet, load it up once in a revision built from source before this change.
See also: http://forums.openpilot.org/topic/1850-existing-configuration-files-read-this-if-you-have-them/

Note: Reading binary layout (which gadgets are shown in each workspace and how they are split) still is available, since that was a later change. That'll get done somewhere in the future :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1720 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-22 19:57:02 +00:00
edouard
1cbd44f564 OP-151 Use PathChooser in all plugins, and update pathutils to behave consistently across platforms by always using "/" as its internal format. Should solve the issues we have been having with windows paths not being removed properly.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1618 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-14 16:58:40 +00:00
cranphin
f826ee0a20 Use QSettings key/properties instead of byte arrays for plugin configurations.
I've left in the reading of the byte arrays for now, so people can load their old config files, on the next save they'll be converted. This should be removed at some point in the not too far future though, since it's a lot of duplicate code in each plugin.

I've converted all the plugins, it's certainly possible I made a typo somewhere, I tried to test as much as I could, sorry if I broke something though :)


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1599 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-12 16:24:54 +00:00
edouard
beed9c8936 Solved (please confirm) modelview crashing on non-existing files
Made configuration portable for: dials, bargraph dials, pfd, modelview and system heatlh
THis means: if your config points to resources in the share directory, then the config will be portable


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1574 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-09 21:18:43 +00:00
edouard
93295154d6 Fix for Bargraph dial factor, enables up to 6 decimal digits instead of two.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1320 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-18 09:41:40 +00:00
edouard
963a2a920e Fixed a potential crash condition on linear dial gadget when source SVG is not found.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1251 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-09 17:41:55 +00:00
edouard
3335be3fd9 Use the "User Interface Colour" defined in the general settings as the background color of the
various dial widgets and PFD, make the GCS look and feel more coherent.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1130 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-17 22:47:42 +00:00
edouard
daf91a3abc Generic horizontal dials in the share directory, bargraph dial indicator fonts now automatically set their size, updates to corresponding dials artwork.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1128 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-17 22:11:04 +00:00
edouard
71c8354970 OP-60: do not segfault if linear dial artwork goes missing. Implement full configuration cloning for
both lineardial and dial plugins.



git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1113 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-16 12:07:20 +00:00
dankers
e7fc7b02d9 More Doxygen for the ground side of things, a bit of a cleanup to removed some now unused parts.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1112 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-16 10:33:27 +00:00
edouard
983588e134 Use qDebug for all debug output.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1055 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-10 07:15:37 +00:00
edouard
c5e540b1ff OP-60 : new options for linear dial: number of decimal places and factor (+ bug fixes)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1025 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-07-04 22:00:50 +00:00
edouard
b0cb1ef474 OP-60: Linear dial gadget can now display text values as icons. the "gps-status.svg" example shows this (connect it to PositionActual/Status). Also, update of the various SVG master files for cosmetic changes/improvements.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@937 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-29 15:00:23 +00:00
edouard
179fe28c08 OP-60 : further improvements to Linear Dial plugin. Almost all elements are now optional. New batch of default dials will follow which use these new capabilities.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@932 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-29 09:02:54 +00:00
edouard
a2667c3af2 OP-60 : overhaul of the linear dial gadget to make it more robust and more flexible: all elements inside the dial are now optional, so that we have a more flexible system.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@921 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-28 16:32:40 +00:00
edouard
bd58fa063d OP-60: linear dials now also stop their timer when the index has finished, slightly resulting in lower CPU usage. Also removed remaining testing code.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@869 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-23 09:04:36 +00:00
dankers
19bc523d3b Update dependencies for version 1.0.0 in pluginspec files.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@864 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-23 03:23:08 +00:00
dankers
61c7be7765 Some Doxygen fixes, remove auto generated headers from config plugin, remove emptyplugin from the build. Just janitor work.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@862 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-23 01:59:12 +00:00
dankers
e4b09f8f21 Initial check in of the sounds for the notify plugin.
Plus janitor work, update copyright information in some plugin spec files.  

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@796 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-17 14:19:38 +00:00
edouard
204f264a6e The bargraph dial can now select its font for each dial type.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@737 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-10 12:36:46 +00:00
edouard
6268ba26a1 Bargraph dial now displays field name and value in real time. It is also capable of displaying vertical as well as horizontal dials, a new vertical dial is included in the artwork directory as an example. The gadget automatically detects if the dial is vertical or horizontal.
TODO: make fonts look nicer - if anyone can recommend a font chooser ?

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@727 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-08 13:04:17 +00:00
dankers
fb9e8563b8 GCS Compile fix, other misc bits in my tree
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@718 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-05 17:26:13 +00:00
edouard
dbcfea244e Linear dial: now connects to objects and prints field name. I will add field value + unit later. Tests welcome on real HW. Need to also add a font chooser in the config. Use with dials-master-linear.svg
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@715 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-06-04 10:43:54 +00:00
edouard
2b6ffc8bb0 Fixed the small display bug in the linear dial. Display code is now OK, what is missing is: writing numeric value, connecting to input (either uavobject or other abstraction level)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@591 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-05 13:20:57 +00:00
edouard
19b6c70588 Configuration now works, much better way to display the zones - explanations to come in the wiki concerning dial design. Remaining display bug of index, will fix later.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@590 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-05 12:17:10 +00:00
ephy
35437220a2 GCS/Lineardial: Compile fix for Linux (case sensitive)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@588 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-05 10:05:24 +00:00
edouard
10215c96c3 New "bargraph" dial. Use with the recently uploaded linear dial SVG. Settings to not work at the moment, I'll add them later.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@585 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-04 23:09:39 +00:00