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

21 Commits

Author SHA1 Message Date
vassilis
6799f75aeb GCS/UAVObjectGenerator: Calculate and report number of bytes used by the object fields.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2276 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-23 16:01:31 +00:00
dschin
06c42702f9 UAVObjects:
Add code to generate matlab code to convert GCS logfile to a matlab .mat file

Run OPLogConvert.m to convert log file
Then run OPPlots.m as an example of plots

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2228 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-13 03:03:24 +00:00
les
141f6e43fb UAVObectGenerator: Added support for multiple defaults
Arrays can now have one default for all elements:
elements="4" defaultvalue="1"
or a default for each element:
elements="4" defaultvalue="1,2,3,4"


git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1883 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-05 12:40:42 +00:00
stac
679f59f19d uavobjectparser: fix alignment of field init in generated code
Change from spaces to <TAB> to match the formatting in
the template.  No functional changes, just whitespace.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1451 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-29 01:46:09 +00:00
peabody124
a8df6e2c4d OP-128 Flight Documentation: Added description to all the UAVObject (now mandatory) and changed the parser to populate this information into the autogenerated files. Also added a function to test if an object is read only for flight.
Since there are a lot of autogenerated changes the important ones are:

  flight/OpenPilot/UAVObjects/inc/uavobjecttemplate.h - added description and define to make the ObjectReadOnly query
  flight/OpenPilot/UAVObjects/uavobjecttemplate.c

  flight/OpenPilot/UAVObjects/uavobjectmanager.c - added the UAVObjReadOnly query

  ground/src/libs/uavobjgenerator/uavobjectparser.cpp - added parsing of description field

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1425 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-27 00:15:42 +00:00
ephy
4536782428 GCS: Cleanup to allow -pedantic compile flag and changes to reduce the noise that it generates.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1243 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-08-08 06:45:16 +00:00
vassilis
713c76bc6e OP-48 GCS/UAVObjects Update object generator to support the new access mode metadata fields. XML object definitions also updated, see r643 for more details.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@644 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-20 01:01:01 +00:00
vassilis
41d60a00fa GCS/ObjectGenerator Implement field initialization for arrays
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@627 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-15 21:28:22 +00:00
stac
e05f4cf068 uavobjects: Added support for generating python classes
The uavobjectgenerator can now generate python classes for each
UAVObject definition.  This is useful for writing simple test
applications in python that can exercise the UAVObject handling
code on the embedded boards.

This is a work in progress so the structure of the generated
classes is likely to change.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@623 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-14 04:32:30 +00:00
vassilis
23ed286883 GCS/UAVObjects: Merged all UAVObjectFields into a single class using a QVariant for the data, updated UAVObjectBrowser and fixed a bug with array fields, added isNumeric() and isText() functions to UAVObjectField
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@598 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-05-07 01:49:38 +00:00
vassilis
ce4aa6efc6 GCS/UAVObjectGenerator Added support for default field values (used to initialize settings with defaults)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@557 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-28 01:50:53 +00:00
vassilis
4d59a46ae4 GCS/UAVObjectGenerator Generate more information for each field
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@552 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-27 01:50:45 +00:00
vassilis
22251f195d GCS\ObjectGenerator (more) Minor changes on the way named arrays are implemented
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@537 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-22 00:56:11 +00:00
vassilis
56f88a6a79 GCS\ObjectGenerator Minor change on the way named arrays are implemented
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@536 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-22 00:44:14 +00:00
vassilis
8622b7323d GCS/UAVObjectGenerator Added support for named arrays (i.e. each array element can have a name - needed for alarms), updated object browser to display names instead of just array index.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@532 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-21 02:50:51 +00:00
vassilis
ad9227d7a4 GCS/UAVObjectBrowser: Implemented settings save/load actions and created the SettingsPersistence object
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@469 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-10 05:09:56 +00:00
vassilis
5bf7b07437 GCS/UAVObjects: Removed templates from UAVObjectFieldPrimitives and implemented as regular classes
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@434 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-07 03:11:13 +00:00
vassilis
89749b06e4 GCS/UAVObjectGenerator Fix bug with enumeration types
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@424 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-04 20:32:59 +00:00
vassilis
47ac2d4528 OP-54: GCS/ObjectGenerator: Added support for new field types on the UAVObjectGenerator
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@417 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-04-01 02:01:37 +00:00
vassilis
df573fdad5 GCS/UAVObjectGenerator: Added support for settings objects
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@406 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-28 22:19:32 +00:00
vassilis
20378f7b6b First release of the UAVObject generator application
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@397 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-27 03:22:43 +00:00