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

32 Commits

Author SHA1 Message Date
sambas
fb8273459f Normalize line endings 2013-04-07 09:49:13 +03:00
Alessio Morale
60eb36ab36 OP-799 removed Waypoint import export from uavsettingsimportexportfactory.cpp as it is handled by pathActionEditor 2013-01-11 01:11:06 +01:00
James Cotton
51683ffb65 Merge branch 'next' into revo
Conflicts:
	ground/openpilotgcs/src/plugins/config/input.ui
	ground/openpilotgcs/src/plugins/opmap/opmapgadgetwidget.h
	ground/openpilotgcs/src/plugins/plugins.pro
2012-09-15 16:31:30 -05:00
PT_Dreamer
bb66dc9535 GCS- Made the importexport dialog close when GCS closes. 2012-07-30 14:53:57 +01:00
PT_Dreamer
dc4254d7d8 GCS-Several UI fixes according to beta testers reports. 2012-07-28 15:04:55 +01:00
James Cotton
983153d87b Waypoint importing now works 2012-06-05 18:06:43 -05:00
James Cotton
4550eafa02 Add the ability to export waypoints to an xml file 2012-06-05 17:38:01 -05:00
Laura Sebesta
79940287dc Import UAV objects config gadget UI upgrades. Fixed table selectability, and progress bar. 2012-04-20 08:56:51 -04:00
Laura Sebesta
ac76628c84 Moved "Help" and "Export UAV Data..." to HELP menu. 2012-04-19 11:54:43 -04:00
Oleg Semyonov
873ff617ab Improve UAVObjects export and import file formats
Changed file format to be able to save settings and data together.
Old settings files still can be imported. Data export will also contain
settings, so we always have the system settings with the system state.

Sample file:

<!DOCTYPE UAVObjects>
<uavobjects>
    <version>
        ...
    </version>
    <data>
        <object id="0xC409985A" name="AccessoryDesired">
            <field values="0" name="AccessoryVal"/>
        </object>
        ...
    </data>
    <settings>
        <object id="0xF2875746" name="ActuatorSettings">
        ...
    </settings>
</uavobjects>
2012-01-15 18:37:57 +02:00
Oleg Semyonov
421cf89544 Fix device info struct fields and variable names, better version info messages
- fixed deviceDescriptorStruct field names
  (gitTag->gitHash, buildDate->gitDate, description->gitTag);

- fixed variable names
  (onBoardDescrition->onBoardDescription, LoadedDescrition->LoadedDescription);

- version info in exported UAV files looks now like this:

<version>
    <hardware revision="1" serial="51ff6b064883545366621987" type="4"/>
    <firmware tag="master" date="20120104 17:51" hash="14ee6e4f"/>
    <gcs tag="os/features/version-info" date="20120115 12:57" hash="236fae56"/>
</version>
2012-01-15 18:37:42 +02:00
naiiawah
6dc121fda6 Updated fix to preserve assert behavior by adding a check routine that
is called before trying to add an item.
2011-12-06 22:20:46 -07:00
naiiawah
3303313908 Fixes for OP-595:
Changed the UAV import of saved settings to not pull in invalid enum
values. Will warn on the dialog that an element of the UAVObject was
invalid and turn off the "save" checkbox. Also will send a qDebug output
showing the UAVObject name and the invalid enum value.
2011-11-25 16:12:38 -07:00
zedamota
ad13cee7a1 Added the basis for GCS and FW version mismatch warning. 2011-11-13 16:05:36 +00:00
zedamota
797bb38081 mixer bug fix.
Also added a new debug plugin witch shows the debug messages normally not available on release builds
2011-09-25 19:30:32 +01:00
zedamota
352620e0ed Mixer bug while import fix (try to) 2011-09-23 13:48:27 +01:00
zedamota
c7cf52be39 Added embedded and gcs version info to exported uavobjects file. 2011-07-27 19:39:08 +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
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
b6326b855d OP-369 Implement help button and keyboard shortcuts as requested. 2011-06-07 07:01:58 +02: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
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
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
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
osnwt
a4fe867c1d GCS: UAV Settings Export: added support for *.ini files.
INI file format is to be used for compact export to publish on forums, etc.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2866 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 20:27:36 +00:00
osnwt
bd665790c2 GCS: UAV Settings Export: added support for simple *.xml files.
UAV Settings files (*.uav) now include option lists for enum fields.
Simple XML files (*.xml) contain only subset of fields (name and values).

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2865 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 20:27:19 +00:00
osnwt
606cc46ea1 GCS: New UAVObjectField::getTypeAsString() function is used for UAV Settings Export.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2864 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-23 20:27:05 +00:00
osnwt
ceea6085b4 GCS: Remove ambiguity in UAV/GCS Settings Import/Export menu commands, add support for translation.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2792 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-14 10:15:56 +00:00
osnwt
eec4959391 UAVSettings Import/Export plugin (import is not implemented yet).
This plugin registers itself in the GCS File menu and allows to save the settings database (all UAVObjects which have settings flag set) into an XML file. No import function is implemented yet, but the XML is human-readable and can be used to enter values by hand.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2781 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-13 20:11:41 +00:00