A.R.G.U.S 2.1.0
Adaptive Real-Time Guardian for Unsafe Situations
Loading...
Searching...
No Matches
Public Attributes | List of all members
SafetyResult Struct Reference

Output of VisionProcessor::process() for each camera frame. More...

#include <Types.hpp>

Public Attributes

SafetyState state
 The safety decision made for this frame.
 
std::chrono::steady_clock::time_point timestamp
 The time at which this result was produced (end of processing).
 
std::chrono::microseconds processing_time
 How long VisionProcessor took to process this frame.
 

Detailed Description

Contains the safety decision and timing information for latency measurement and logging. Processing time is measured inside VisionProcessor and included here to support latency budget analysis.

Definition at line 51 of file Types.hpp.

Member Data Documentation

◆ processing_time

std::chrono::microseconds SafetyResult::processing_time

Measured as: time_point at exit minus time_point at entry of process(). Used to verify the pipeline stays within its latency budget (target: under 20 ms at 30 FPS to leave headroom for FSM and interlock).

Definition at line 76 of file Types.hpp.

Referenced by AppController::runLiveMarkerTest().

◆ state

SafetyState SafetyResult::state

Evaluated by GuardianStateMachine to determine whether to transition to FROZEN_UNSAFE or remain in SAFE_MONITORING.

Definition at line 59 of file Types.hpp.

Referenced by AppController::runLiveMarkerTest().

◆ timestamp

std::chrono::steady_clock::time_point SafetyResult::timestamp

Set inside VisionProcessor::process() at each return point so that processing_time can be computed accurately.

Definition at line 67 of file Types.hpp.

Referenced by AppController::runLiveMarkerTest().


The documentation for this struct was generated from the following file: