LP-599 Extend cloneof attribute functionality in uavobject xml

#514 Merged at 230d770
Repository
librepilot
Branch
next
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.