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

13 Commits

Author SHA1 Message Date
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