FlexRayFrameID

class mtf.mtf_types.FlexRayFrameID
__init__(frame_id: int | str)
property SlotId
property Repetition
property Base_Cycle
property Current_Cycle
property flexray_frame_ids
is_matched(fr_msg_id: int)

Checks if the received frame_id with current cycle matches the given frame_id

Parameters:

fr_msg_id (int): The frame ID to be checked.

Returns:

bool: True if the frame ID is matched in the current cycle, False otherwise.

Example:

FlexRayFrameID(“284.0.4”).is_matched(17179869468) # returns True