cyclonedds-python
cyclonedds-python copied to clipboard
IDLC not generating usable modules when types are defined in parent files
When running IDLC on the C2INAV IDL (C2INAV) after minor changes and provision of common files from OARIS an apparently successful conversion occurs. However, when attempting to import the generated module a NameError occurs due to missing type definitions.
Certain files, e.g. org__omg__c4i__Domain_Model__Navigation_Domain__Attitude__Offset_Report.idl, use types defined in their parent modules and appear to need relative import statements, e.g. from .._org__omg__c4i__Domain_Model__Navigation_Domain__Attitude import offset_report_key_type_kind
, added to function correctly.