medley56 / space_packet_parser

A CCSDS telemetry packet decoding library based on the XTCE packet format description standard.
https://space-packet-parser.readthedocs.io
Other
21 stars 6 forks source link

Improve the XtcePacketDefinition API #99

Open medley56 opened 1 month ago

medley56 commented 1 month ago

Context

The packet definition object represents the XTCE document but not all attributes are currently exposed. Users should be able to access all of the packet definition information via the packet definition properties.

Implementation Plan

greglucas commented 1 month ago

Along a similar vein with working on this API: Is there a way to "know" the root container? Right now we have the user pass the root_container_name into the packet generator. I'm wondering if this means there can be multiple "roots"? Alternatively are we able to just detect that automatically for a user and start with the sequence container that is the root we found. Another option would be to have the root_container_name be passed to the XtcePacketDefinition constructor instead of the packet generator.