Skip to content

Commit

Permalink
Revise Fw/Dp
Browse files Browse the repository at this point in the history
Fix mistake in built-in Python autocoder types
  • Loading branch information
bocchino committed Jan 25, 2024
1 parent 5892397 commit 161859a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ def _get_args_sum_string(self, obj):
"bool",
"FwBuffSizeType",
"FwChanIdType",
"FwDpBuffSizeType",
"FwDpIdType",
"FwDpPriorityType",
"FwEnumStoreType",
"FwEventIdType",
"FwIndexType",
Expand Down
2 changes: 1 addition & 1 deletion Autocoders/Python/src/fprime_ac/utils/TypesList.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
port_types_list = [
"FwBuffSizeType",
"FwChanIdType",
"FwDpBuffSizeType",
"FwDpIdType",
"FwDpPriorityType",
"FwEnumStoreType",
"FwEventIdType",
"FwIndexType",
Expand Down
6 changes: 3 additions & 3 deletions Fw/Dp/docs/sdd.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ For more information on data products and records, see the
## 2. Configuration

The following types and constants are configurable via the file
[`config/DpCfg.hpp`](../../../config/DpCfg.hpp):
[`config/DpCfg.fpp`](../../../config/DpCfg.fpp):

| Name | Kind | Description |
| ---- | ---- | ---- |
| `Fw::DpCfg::ProcType` | Type | The enumeration type that defines the bit mask for selecting a type of processing. The processing is applied to a container before writing it to disk. |
| `Fw::DpCfg::CONTAINER_DATA_SIZE` | Constant | The size of the user-configurable data in the container packet header. |
| `Fw::DpCfg::CONTAINER_USER_DATA_SIZE` | Constant | The size of the user-configurable data in the container packet header. |

## 3. FPP Types

Expand Down Expand Up @@ -67,7 +67,7 @@ The data product header has the following format.
|----------|---------|---------------|-----------|
|`PacketDescriptor`|`FwPacketDescriptorType`|`sizeof(FwPacketDescriptorType)`|The F Prime packet descriptor [`FW_PACKET_DP`](../../../Fw/Com/ComPacket.hpp)|
|`Id`|`FwDpIdType`|`sizeof(FwDpIdType)`|The container ID. This is a system-global ID (component-local ID + component base ID)|
|`Priority`|`FwDpPriorityType`|`sizeof(FwDpPriorityType)`|The container default priority|
|`Priority`|`FwDpPriorityType`|`sizeof(FwDpPriorityType)`|The container priority|
|`TimeTag`|`Fw::Time`|`Fw::Time::SERIALIZED_SIZE`|The time tag associated with the container|
|`ProcTypes`|`Fw::DpCfg::ProcType::SerialType`|`sizeof(Fw::DpCfg::ProcType::SerialType)`|The processing types, represented as a bit mask|
|`UserData`|`Header::UserData`|`DpCfg::CONTAINER_USER_DATA_SIZE`|User-configurable data|
Expand Down
2 changes: 1 addition & 1 deletion docs/Design/data-products.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ A container specification consists of a name, an optional
identifier, and an optional default priority.
The default priority is the priority to use if no
other priority is specified for the container
during ground operations.
during operations.
Example syntax:
```
product container C1
Expand Down

0 comments on commit 161859a

Please sign in to comment.