LP-599 Extend cloneof attribute functionality in uavobject xml

#514 Open
Repository
librepilot
Branch
next

Bitbucket cannot automatically merge this request.

The commits that make up this pull request have been removed.

Bitbucket cannot automatically merge this request due to conflicts.

Review the conflicts on the Overview tab. You can then either decline the request or merge it manually on your local system using the following commands:

git checkout next
git remote add mindnever/librepilot https://bitbucket.org/mindnever/librepilot.git
git fetch mindnever/librepilot
git merge --no-ff -m 'Merged in mindnever/librepilot/LP-599_Extend_cloneof_attribute_functionality_in_uavobject_xml (pull request #514)' remotes/mindnever/librepilot/LP-599_Extend_cloneof_attribute_functionality_in_uavobject_xml
Author
  1. Vladimir Zidar
Reviewers
Description
  • Allow "cloneof" attribute to reference other objects.
  • Allow some other attributes to override cloned values (options, limits, defaultvalue).
  • Make cloned fields as typedef's of parent types in flight & ground (c, c++) uavobjgenerators.

Comments (2)

    1. Vladimir Zidar author

      No, they should not be. It was my intention to make this as a non intrusive feature. It would be however nice to verify those generators if possible.

      The the data structures are extended only with extras that are needed for C & C++ typedef/class stuff, and cloneof already had most of the things I needed.