Open rogueWookie opened 9 months ago
You'll notice in the output right at the top:
Ignoring Unknown: <PackageFile>
Ignoring Unknown: <Package>
Ignoring Unknown: <DataTypeSet>
Ignoring Unknown: <IntegerDataType>
Which means COSMOS doesn't know about those elements. Just for fun I added IntegerDataType
to the xtce_parser at the same level as IntegerParameterType
and IntegerArgumentType
. This allowed things to continue but then I got a bunch more Ignoring Unknown
statements. I'm afraid we just don't support these keywords.
If you can provide the XTCE file, or at least the keywords used in it we can work on adding support
If you can provide the XTCE file, or at least the keywords used in it we can work on adding support
I was able to download the cfe_sb.xml from the link he provided.
There's quite a few of them @ryanmelt but here they are.
Not sure these are relevant or not.
@rogueWookie please email us at support@openc3.com if you have a support contract and would like to prioritize implementing some of these. Otherwise you're more than welcome to edit our xtce_parser and submit a PR!
Hi ~
Environment
Issue
I'm using your XTCE converter on various NASA CFS XML files. It is my understanding that their XMLs (for example this one) conforms to the XTCE standard.
According to your docs XTCE support is built-in and I can either convert a XTCE XML to COSMOS format or use it directly in my
cmd_tlm/
folder (so long as I rename it to a.xtce
extension).I am receiving the same errors regardless of which option I take. The first option here is invoking the converter. The second option is copying the
cfe_sb.xml
file into mycmd_tlm/
folder (renaming it with a.xtce
extension) and then rebuilding my plugin.OPTION 1 (Using the converter)
OPTION 2 (Using the file directly)
I also tried other cFS files (e.g.
cFS/cfe/modules/time/eds/cfe_time.xml
) by typingopenc3.sh cli xtce_converter --import cfe_time.xml --output ./
but got the same exact error about unknown methodxtce_encodings=
. Really wanted to have someone reproduce the error first from the cFS community (see this discussion) but this feels more related to the xtce_parser than their XMLs. Afraid I don't have a support contract but wanted to kindly report this if it is indeed a bug.