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

24 Commits

Author SHA1 Message Date
Laurent Lalanne
220eb033d9 LP-230 UAVObject generator : Add enum count. Thanks @filnet 2016-02-22 20:26:54 +01:00
Richard von Lehe
8e236c9954 OP-1740 UAVO_GetSetFunctionsTakeEnum - getting started 2015-03-25 08:03:35 -05:00
m_thread
3dd9503454 OP-1538 Changed the way splitter state is changed.
Fixed some formatting colors.
2014-10-14 09:51:02 +02: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
Alessio Morale
13f1f3f23a OP-1212 Add "priority" attribute to uavojects that grant them higher priority when sent with telemetry 2014-02-04 21:03:42 +01:00
Philippe Renon
d989894ad4 [OP-835] Qt 5.1.0 - migrated uavobjgenerator/uavobjectparser.cpp 2013-09-15 23:37:21 +02: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
5bb6b56b4a OP-772: Normalize line endings 2013-04-05 23:46:56 +03:00
Richard Flay (Hyper)
53e2db3b24 Added a backwards-compatible way to specify UAVO field element names and options as lists of child elements of the field element. Added the ability to specify that a field is a clone of another field, just with a different name 2012-09-08 14:41:55 +09:30
Fredrik Arvidsson
32abd2e32f Merge branch 'next' into thread/OP-642 2012-06-30 16:51:19 +02:00
Corvus Corax
2dcc28cea3 uavobjectgenerator: for consistency with flight and gcs code, change order of update modes. This is a cosmetic change, it does ot change the generated code since update modes are always identified by string, not numerically. 2012-06-29 10:33:33 +02:00
Fredrik Arvidsson
b73cde1787 OP-642 Changed from using an xml element for category to have it defined
as an attribute on the uav object definition. This attribute is
optional. If absent no category (empty string) is assigned to the uav
object type.
Added category attribute to a small selection of uavo definition files
to test parsing.
2012-06-20 22:23:06 +02:00
Fredrik Arvidsson
3c754af484 OP-642 Added <category> element which is a string in uavo object type definition to be used in uavo browser to categorise uavo:s visually into subtrees. Category value is assigned in generated code and accessible via getter method. OP-644 Fixed option for uavo browser to enable disable hilights for objects which values wasn't really changed to indicate stream activity in uavo object tree. 2012-06-20 21:26:18 +02:00
James Cotton
3155324384 Merge branch 'next' into cc3d
Conflicts:
	Makefile
	ground/openpilotgcs/src/plugins/config/configahrswidget.cpp
	shared/uavobjectdefinition/ahrscalibration.xml
	shared/uavobjectdefinition/ahrssettings.xml
	shared/uavobjectdefinition/attituderaw.xml
2012-05-03 16:31:49 -05:00
Brian Webb
eb6f175af4 Fixed metadata settings in object browswer, and removed update mode never from all uavobjects that used it (changed to manual). 2012-04-21 11:59:14 -07:00
James Cotton
f20e5da9ed Merge branch 'next' into revolution
Conflicts:
	ground/openpilotgcs/src/plugins/config/config.pro
	ground/openpilotgcs/src/plugins/config/configrevowidget.h
	ground/openpilotgcs/src/plugins/scope/scopegadgetwidget.cpp
2012-03-03 11:41:41 -06: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
James Cotton
33a12d829e Merge branch 'next' into revolution
Conflicts:
	flight/PiOS/Common/pios_flashfs_objlist.c
2011-12-11 22:55:54 -06:00
LM
30b6ae90f3 Added UAVObject sorting to make UAVObj structs align to word-boundaries. Else copying to / from UAVObjects will fail on Cortex M4 with an alignment error, since the proper alignment is not visible to the compiler in a line like this: float* data = UAVObj.Roll; data[2] = yaw; 2011-11-22 23:48:11 -08:00
James Cotton
3e2558bec6 Patch from PH which orders fields by size - important for using the M4 FPU 2011-11-14 09:49:50 -06:00
James Cotton
2ab57910ce Make object IDs depend on the names of any enums so if field names change then
bad settings won't be picked up.
2011-07-15 11:08:47 -05:00
James Cotton
e02aa1b818 OP-152: Make the zeroing of LSB of has occur after hash is computed so that the
LSB of individual field values still influences the hash

Note: This update changes ALL object IDs.  A new GCS is required to match the
firmware.
2011-06-04 18:36:44 -05:00
peabody124
39588fef39 UAVParser: Support comments in objects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2934 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-03-02 01:25:40 +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