18 lines
530 B
Python
18 lines
530 B
Python
import ctypes
|
|
from pymsc.lib1553.messages.tracked_target import TrackedTarget01
|
|
|
|
|
|
class MsgB5Payload(ctypes.Structure):
|
|
"""Message B5: Tracked Target Message.
|
|
|
|
This message uses the `TrackedTarget01` layout for the first target block.
|
|
Remaining words (if any) are kept as uint16 placeholders to reach 32 words.
|
|
"""
|
|
_pack_ = 1
|
|
_fields_ = [
|
|
("tracked_target_01", TrackedTarget01),
|
|
] + [(f"word_{i:02d}", ctypes.c_uint16) for i in range(1, 33)]
|
|
|
|
def __init__(self):
|
|
super().__init__()
|