-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nasa/nos3#445] Move XTCE into Components
- Loading branch information
Showing
1 changed file
with
183 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,183 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xtce:SpaceSystem xmlns:xtce="http://www.omg.org/spec/XTCE/20180204" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="GENERIC_STAR_TRACKER" xsi:schemaLocation="http://www.omg.org/spec/XTCE/20180204 https://www.omg.org/spec/XTCE/20180204/SpaceSystem.xsd"> | ||
<xtce:SpaceSystem name="GENERIC_STAR_TRACKER_DATA_TLM"> | ||
<xtce:TelemetryMetaData> | ||
<xtce:ParameterTypeSet> | ||
<xtce:FloatParameterType name="STAR_TRACKER_Q0_Type" sizeInBits="64" shortDescription="generic_star_tracker data q0 component"> | ||
<xtce:FloatDataEncoding sizeInBits="64" encoding="IEEE754_1985" byteOrder="leastSignificantByteFirst"/> | ||
</xtce:FloatParameterType> | ||
<xtce:FloatParameterType name="STAR_TRACKER_Q1_Type" sizeInBits="64" shortDescription="generic_star_tracker data q1 component"> | ||
<xtce:FloatDataEncoding sizeInBits="64" encoding="IEEE754_1985" byteOrder="leastSignificantByteFirst"/> | ||
</xtce:FloatParameterType> | ||
<xtce:FloatParameterType name="STAR_TRACKER_Q2_Type" sizeInBits="64" shortDescription="generic_star_tracker data q2 component"> | ||
<xtce:FloatDataEncoding sizeInBits="64" encoding="IEEE754_1985" byteOrder="leastSignificantByteFirst"/> | ||
</xtce:FloatParameterType> | ||
<xtce:FloatParameterType name="STAR_TRACKER_Q3_Type" sizeInBits="64" shortDescription="generic_star_tracker data q3 component"> | ||
<xtce:FloatDataEncoding sizeInBits="64" encoding="IEEE754_1985" byteOrder="leastSignificantByteFirst"/> | ||
</xtce:FloatParameterType> | ||
<xtce:IntegerParameterType name="STAR_TRACKER_IS_VALID_Type" shortDescription="generic_star_tracker data is valid flag" signed="false"> | ||
<xtce:IntegerDataEncoding sizeInBits="8" encoding="unsigned"/> | ||
</xtce:IntegerParameterType> | ||
</xtce:ParameterTypeSet> | ||
<xtce:ParameterSet> | ||
<xtce:Parameter name="STAR_TRACKER_Q0" parameterTypeRef="STAR_TRACKER_Q0_Type"/> | ||
<xtce:Parameter name="STAR_TRACKER_Q1" parameterTypeRef="STAR_TRACKER_Q1_Type"/> | ||
<xtce:Parameter name="STAR_TRACKER_Q2" parameterTypeRef="STAR_TRACKER_Q2_Type"/> | ||
<xtce:Parameter name="STAR_TRACKER_Q3" parameterTypeRef="STAR_TRACKER_Q3_Type"/> | ||
<xtce:Parameter name="STAR_TRACKER_IS_VALID" parameterTypeRef="STAR_TRACKER_IS_VALID_Type"/> | ||
</xtce:ParameterSet> | ||
<xtce:ContainerSet> | ||
<xtce:SequenceContainer name="GENERIC_STAR_TRACKER_DATA_TLM" shortDescription="GENERIC_STAR_TRACKER_Device_tlm_t"> | ||
<xtce:EntryList> | ||
<xtce:ParameterRefEntry parameterRef="STAR_TRACKER_Q0"/> | ||
<xtce:ParameterRefEntry parameterRef="STAR_TRACKER_Q1"/> | ||
<xtce:ParameterRefEntry parameterRef="STAR_TRACKER_Q2"/> | ||
<xtce:ParameterRefEntry parameterRef="STAR_TRACKER_Q3"/> | ||
<xtce:ParameterRefEntry parameterRef="STAR_TRACKER_IS_VALID"/> | ||
</xtce:EntryList> | ||
<xtce:BaseContainer containerRef="/CCSDS/CCSDS_TM"> | ||
<xtce:RestrictionCriteria> | ||
<xtce:ComparisonList> | ||
<xtce:Comparison parameterRef="/CCSDS/CCSDS_STREAMID" value="2358"/> | ||
</xtce:ComparisonList> | ||
</xtce:RestrictionCriteria> | ||
</xtce:BaseContainer> | ||
</xtce:SequenceContainer> | ||
</xtce:ContainerSet> | ||
</xtce:TelemetryMetaData> | ||
</xtce:SpaceSystem> | ||
<xtce:SpaceSystem name="GENERIC_STAR_TRACKER_HK_TLM"> | ||
<xtce:TelemetryMetaData> | ||
<xtce:ParameterTypeSet> | ||
<xtce:IntegerParameterType name="CMD_ERR_COUNT_Type" shortDescription="Command Error Count" signed="false"> | ||
<xtce:IntegerDataEncoding sizeInBits="8" encoding="unsigned"/> | ||
</xtce:IntegerParameterType> | ||
<xtce:IntegerParameterType name="CMD_COUNT_Type" shortDescription="Command Count" signed="false"> | ||
<xtce:IntegerDataEncoding sizeInBits="8" encoding="unsigned"/> | ||
</xtce:IntegerParameterType> | ||
<xtce:IntegerParameterType name="DEVICE_ERR_COUNT_Type" shortDescription="Device Command Error Count" signed="false"> | ||
<xtce:IntegerDataEncoding sizeInBits="8" encoding="unsigned"/> | ||
</xtce:IntegerParameterType> | ||
<xtce:IntegerParameterType name="DEVICE_COUNT_Type" shortDescription="Device Command Count" signed="false"> | ||
<xtce:IntegerDataEncoding sizeInBits="8" encoding="unsigned"/> | ||
</xtce:IntegerParameterType> | ||
<xtce:EnumeratedParameterType name="DEVICE_ENABLED_Type" shortDescription="Device Enable Status"> | ||
<xtce:IntegerDataEncoding sizeInBits="8" encoding="unsigned"/> | ||
<xtce:EnumerationList> | ||
<xtce:Enumeration value="0" label="DISABLED"/> | ||
<xtce:Enumeration value="1" label="ENABLED"/> | ||
</xtce:EnumerationList> | ||
</xtce:EnumeratedParameterType> | ||
<xtce:IntegerParameterType name="DEVICE_COUNTER_Type" shortDescription="Reported Device Command Counter" signed="false"> | ||
<xtce:IntegerDataEncoding sizeInBits="32" encoding="unsigned" byteOrder="leastSignificantByteFirst"/> | ||
</xtce:IntegerParameterType> | ||
</xtce:ParameterTypeSet> | ||
<xtce:ParameterSet> | ||
<xtce:Parameter name="CMD_ERR_COUNT" parameterTypeRef="CMD_ERR_COUNT_Type"/> | ||
<xtce:Parameter name="CMD_COUNT" parameterTypeRef="CMD_COUNT_Type"/> | ||
<xtce:Parameter name="DEVICE_ERR_COUNT" parameterTypeRef="DEVICE_ERR_COUNT_Type"/> | ||
<xtce:Parameter name="DEVICE_COUNT" parameterTypeRef="DEVICE_COUNT_Type"/> | ||
<xtce:Parameter name="DEVICE_ENABLED" parameterTypeRef="DEVICE_ENABLED_Type"/> | ||
<xtce:Parameter name="DEVICE_COUNTER" parameterTypeRef="DEVICE_COUNTER_Type"/> | ||
</xtce:ParameterSet> | ||
<xtce:ContainerSet> | ||
<xtce:SequenceContainer name="GENERIC_STAR_TRACKER_HK_TLM" shortDescription="GENERIC_STAR_TRACKER_Hk_tlm_t"> | ||
<xtce:EntryList> | ||
<xtce:ParameterRefEntry parameterRef="CMD_ERR_COUNT"/> | ||
<xtce:ParameterRefEntry parameterRef="CMD_COUNT"/> | ||
<xtce:ParameterRefEntry parameterRef="DEVICE_ERR_COUNT"/> | ||
<xtce:ParameterRefEntry parameterRef="DEVICE_COUNT"/> | ||
<xtce:ParameterRefEntry parameterRef="DEVICE_ENABLED"/> | ||
<xtce:ParameterRefEntry parameterRef="DEVICE_COUNTER"/> | ||
</xtce:EntryList> | ||
<xtce:BaseContainer containerRef="/CCSDS/CCSDS_TM"> | ||
<xtce:RestrictionCriteria> | ||
<xtce:ComparisonList> | ||
<xtce:Comparison parameterRef="/CCSDS/CCSDS_STREAMID" value="2357"/> | ||
</xtce:ComparisonList> | ||
</xtce:RestrictionCriteria> | ||
</xtce:BaseContainer> | ||
</xtce:SequenceContainer> | ||
</xtce:ContainerSet> | ||
</xtce:TelemetryMetaData> | ||
</xtce:SpaceSystem> | ||
<xtce:SpaceSystem name="CMD"> | ||
<xtce:CommandMetaData> | ||
<xtce:ArgumentTypeSet/> | ||
<xtce:MetaCommandSet> | ||
<xtce:MetaCommand name="GENERIC_STAR_TRACKER_REQ_DATA"> | ||
<xtce:BaseMetaCommand metaCommandRef="/CCSDS/CCSDS_TC"> | ||
<xtce:ArgumentAssignmentList> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_STREAMID" argumentValue="6454"/> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_FC" argumentValue="1"/> | ||
</xtce:ArgumentAssignmentList> | ||
</xtce:BaseMetaCommand> | ||
<xtce:ArgumentList/> | ||
<xtce:CommandContainer name="GENERIC_STAR_TRACKER_GENERIC_STAR_TRACKER_REQ_DATA_CommandContainer"> | ||
<xtce:EntryList/> | ||
</xtce:CommandContainer> | ||
</xtce:MetaCommand> | ||
<xtce:MetaCommand name="GENERIC_STAR_TRACKER_REQ_HK"> | ||
<xtce:BaseMetaCommand metaCommandRef="/CCSDS/CCSDS_TC"> | ||
<xtce:ArgumentAssignmentList> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_STREAMID" argumentValue="6454"/> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_FC" argumentValue="0"/> | ||
</xtce:ArgumentAssignmentList> | ||
</xtce:BaseMetaCommand> | ||
<xtce:ArgumentList/> | ||
<xtce:CommandContainer name="GENERIC_STAR_TRACKER_GENERIC_STAR_TRACKER_REQ_HK_CommandContainer"> | ||
<xtce:EntryList/> | ||
</xtce:CommandContainer> | ||
</xtce:MetaCommand> | ||
<xtce:MetaCommand name="GENERIC_STAR_TRACKER_DISABLE_CC"> | ||
<xtce:BaseMetaCommand metaCommandRef="/CCSDS/CCSDS_TC"> | ||
<xtce:ArgumentAssignmentList> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_STREAMID" argumentValue="6453"/> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_FC" argumentValue="3"/> | ||
</xtce:ArgumentAssignmentList> | ||
</xtce:BaseMetaCommand> | ||
<xtce:ArgumentList/> | ||
<xtce:CommandContainer name="GENERIC_STAR_TRACKER_GENERIC_STAR_TRACKER_DISABLE_CC_CommandContainer"> | ||
<xtce:EntryList/> | ||
</xtce:CommandContainer> | ||
</xtce:MetaCommand> | ||
<xtce:MetaCommand name="GENERIC_STAR_TRACKER_ENABLE_CC"> | ||
<xtce:BaseMetaCommand metaCommandRef="/CCSDS/CCSDS_TC"> | ||
<xtce:ArgumentAssignmentList> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_STREAMID" argumentValue="6453"/> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_FC" argumentValue="2"/> | ||
</xtce:ArgumentAssignmentList> | ||
</xtce:BaseMetaCommand> | ||
<xtce:ArgumentList/> | ||
<xtce:CommandContainer name="GENERIC_STAR_TRACKER_GENERIC_STAR_TRACKER_ENABLE_CC_CommandContainer"> | ||
<xtce:EntryList/> | ||
</xtce:CommandContainer> | ||
</xtce:MetaCommand> | ||
<xtce:MetaCommand name="GENERIC_STAR_TRACKER_RST_COUNTERS_CC"> | ||
<xtce:BaseMetaCommand metaCommandRef="/CCSDS/CCSDS_TC"> | ||
<xtce:ArgumentAssignmentList> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_STREAMID" argumentValue="6453"/> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_FC" argumentValue="1"/> | ||
</xtce:ArgumentAssignmentList> | ||
</xtce:BaseMetaCommand> | ||
<xtce:ArgumentList/> | ||
<xtce:CommandContainer name="GENERIC_STAR_TRACKER_GENERIC_STAR_TRACKER_RST_COUNTERS_CC_CommandContainer"> | ||
<xtce:EntryList/> | ||
</xtce:CommandContainer> | ||
</xtce:MetaCommand> | ||
<xtce:MetaCommand name="GENERIC_STAR_TRACKER_NOOP_CC"> | ||
<xtce:BaseMetaCommand metaCommandRef="/CCSDS/CCSDS_TC"> | ||
<xtce:ArgumentAssignmentList> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_STREAMID" argumentValue="6453"/> | ||
<xtce:ArgumentAssignment argumentName="CCSDS_FC" argumentValue="0"/> | ||
</xtce:ArgumentAssignmentList> | ||
</xtce:BaseMetaCommand> | ||
<xtce:ArgumentList/> | ||
<xtce:CommandContainer name="GENERIC_STAR_TRACKER_GENERIC_STAR_TRACKER_NOOP_CC_CommandContainer"> | ||
<xtce:EntryList/> | ||
</xtce:CommandContainer> | ||
</xtce:MetaCommand> | ||
</xtce:MetaCommandSet> | ||
</xtce:CommandMetaData> | ||
</xtce:SpaceSystem> | ||
</xtce:SpaceSystem> |