For this requirements create a¨Piketec TPT test: SR2.1: Upon recognition of a stop sign…
- User
For this requirements create a¨Piketec TPT test:
SR2.1: Upon recognition of a stop sign (Variable: Stop_Sign_Detected), the system shall transmit a CAN message (CAN_STOP_SIGN) to the vehicle's control system to initiate slowing or stopping. SR2.2: Upon recognition of a yield sign (Variable: Yield_Sign_Detected), the system shall transmit a CAN message (CAN_YIELD_SIGN) to the vehicle's control system to initiate appropriate action.
Use this format for your answer, take it as an example. Use exactly the same 2 Testlets at the beginning of the test. The pass a sign testlet only if you need to pass a traffic sign. Use the word Set and Compare. Use Waits where needed and use comments. Add the requirement text as comment at the beginning of the test.
// Turn ON TSM Testlet /Preconditions: /F Status ON Testlet /Preconditions: /Nav active Testlet /Preconditions: /Pass a sign Wait 2*@ // Pass the sign Set set_signName to 2 Set set_TrackOutImage to 1 Set set_Status to 4 Wait @ // Check if TSM detected sign correctly Compare get_Main2 == 24 // 24= 50 km/h Wait 5
Signal enums you need: SignName: { stop = 11 yield = 22 50 = 33 60 = 44 70 = 55 } Main2: { stop = 1 yield = 2 50 = 3 60 = 4 70 = 5 } Status: { invisible = 0 visible = 1 unknown = 2 passed = 3 } TrackOutImage is a counter when the sign is out of the FOV Only report signs to Main2 when sign is passed
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.