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

24 Commits

Author SHA1 Message Date
Stefan Karlsson
e066056236 LP-275 Fix deprecated GCS UAVO setters 2016-04-03 20:16:07 +02:00
Stefan Karlsson
371b658afc LP-251 Fix incorrect null check 2016-03-06 12:48:20 +01:00
Laurent Lalanne
220eb033d9 LP-230 UAVObject generator : Add enum count. Thanks @filnet 2016-02-22 20:26:54 +01:00
Philippe Renon
6b39fc0800 uncrustify 2016-01-04 21:41:45 +01:00
Philippe Renon
6e1224dd38 LP-183 introduce an underscore between property name and element name when concatenating digits if not 2015-12-21 21:50:55 +01:00
Philippe Renon
cefcacbbcf Merged in filnet/librepilot (pull request #141)
LP-183 fix GCS regression caused by UAVObject generator changes
2015-12-20 20:44:06 +01:00
Philippe Renon
0137460d0b LP-183 promote int8 and uint8 to their 16 bits equivalents
applies only to new Qml friendly properties
int16 will be silently cast to and from int8 !!!
2015-12-20 16:53:00 +01:00
Rafael Bachmann
605374f492 uncrustify 2015-12-19 13:52:25 +01:00
Philippe Renon
0017ce2acf LP-183 generated UAV objects are now more Qt and Qml friendly
use lower camel case for properties and getters
introduce better enums and expose them to Qml
backward compatibilty is preserved for now
2015-12-02 08:52:37 +01:00
James Duley
c14cacb043 LP-1 rebranding: move ground/{openpilotgcs => gcs}
and associated pro file.

Change-Id: Icc200217f2db27635c7aa2e5b182f9b273925647
2015-08-02 19:20:02 +01:00
James Duley
5a2806c3c0 OP-1853 Ground build tidy: Remove hardcoded prefix from uavobjgenerator output 2015-05-13 12:47:27 +01:00
Richard von Lehe
69fae1b977 Fix misspelling in function name 2015-03-28 23:27:07 -05:00
Fredrik Arvidsson
ef15064b26 OP-1538 Added description to fields in the UAVObject description files.
Descriptions can be added to fields either as attributes or child nodes.
Descriptions are not mandatory at this stage.
The description shows up when hovering over objects and fields in the UAVObject browser.

Added example descriptions to a few fields in the UAVO descriptor files.
2014-10-11 16:12:58 +02:00
Corvus Corax
2f2cff3dc6 uncrustification 2013-12-07 15:25:15 +01:00
Dmytro Poplavskiy
bac42e92c4 GCS UAVO generator: generate properties for composed fields
Expose field elements as FieldName_Element properties.
it's more convenient if only certain element is used
and much easier to use from the qml side
2013-11-13 16:30:02 +01:00
Sexy Pony
900f643bbd Reformat source code with 'make uncrustify_all' run twice. NO CODE CHANGES 2013-05-19 17:37:30 +03:00
Oleg Semyonov
0394a3511c Rename template files to *.template to screen from uncrustify processing 2013-04-30 16:54:27 +02:00
James Cotton
7c65bcc5ac Merge remote-tracking branch 'origin/pt/gcs_uavobj_widget_framework' into next 2012-02-14 14:24:23 -06:00
Dmytro Poplavskiy
aead288304 Generate properties for UAVDataObject fields.
Also changed UAVObject::requestUpdate() and UAVObject::update() to be slots.

This makes possible to use objects directly from QML.
2012-02-05 13:58:17 +10:00
zedamota
427acee559 Added support for objects value limits on the GCS to the GCS and generator. 2012-02-03 20:29:28 +00:00
osnwt
61d8c23a51 OP-301 Allow some special characters in uavobject enum options.
Now they can include special chars like '.' (dot), '-' (dash), '/' (slash), ' ' (space). All such chars will be removed from autogenerated identifiers ("S.Bus" -> SBUS), but kept intact in text strings (to be displayed by the GCS).

This will not change any existing object IDs.


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2592 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-26 00:22:54 +00:00
stac
7195862d77 build: Move openpilotgcs into its own subdirectory
This will allow us to build a parent project for
qt-creator that sits above both openpilotgcs and
uavobjgenerator so that we can build both projects
at the same time.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2528 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:40:26 +00:00
stac
5e6d87b2db UAVObjects-xml: Move UAVObject definitions outside of gcs dir
The UAVObject definition (.xml) files are used by both the
GCS build as well as the flight software builds.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2526 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:38:43 +00:00
stac
205e09a8d1 uavobjgenerator: Move generator out of the gcs subdir
The UAVObject generator is intended to be a standalone tool.
As such, it doesn't belong under the openpilotgcs directory.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2525 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:38:37 +00:00