RBS
 
Loading...
Searching...
No Matches
ZCU_Front.can File Reference

ZCU_Front의 메인 CAPL 스크립트 More...

Functions

 on_start ()
 시뮬레이션 시작 시 호출되는 이벤트 핸들러
 
 on_stopMeasurement ()
 시뮬레이션 중지 시 호출되는 이벤트 핸들러
 
 on_timer_timerMainTask ()
 메인 태스크 타이머 이벤트 핸들러
 
 on_message_L001_EPAS_Data ()
 EPAS 데이터 메시지 수신 이벤트 핸들러
 
 on_message_L002_ADAS_Sensor ()
 ADAS 센서 데이터 메시지 수신 이벤트 핸들러
 
 on_key_f ()
 키보드 'f' 키 입력 이벤트 핸들러
 
 on_key_s ()
 키보드 's' 키 입력 이벤트 핸들러
 

Detailed Description

ZCU_Front의 메인 CAPL 스크립트

Function Documentation

◆ on_key_f()

on_key_f ( )

키보드 'f' 키 입력 이벤트 핸들러

Note
수동으로 EPAS 통신 폴트를 주입하여 테스트
Here is the call graph for this function:

◆ on_key_s()

on_key_s ( )

키보드 's' 키 입력 이벤트 핸들러

Note
현재 ZCU_Front의 모든 주요 상태 정보를 콘솔에 출력
Here is the call graph for this function:

◆ on_message_L001_EPAS_Data()

on_message_L001_EPAS_Data ( )

EPAS 데이터 메시지 수신 이벤트 핸들러

Note
EPAS로부터 조향 데이터를 수신하고 통신 상태 및 센서 유효성 검증
Here is the call graph for this function:

◆ on_message_L002_ADAS_Sensor()

on_message_L002_ADAS_Sensor ( )

ADAS 센서 데이터 메시지 수신 이벤트 핸들러

Note
ADAS로부터 센서 데이터를 수신하고 통신 상태 및 센서 유효성 검증
Here is the call graph for this function:

◆ on_start()

on_start ( )

시뮬레이션 시작 시 호출되는 이벤트 핸들러

Note
전역 변수 초기화, 보안 부팅, 자체 테스트 수행 및 주기적 타이머 설정
Here is the call graph for this function:

◆ on_stopMeasurement()

on_stopMeasurement ( )

시뮬레이션 중지 시 호출되는 이벤트 핸들러

Note
시스템 종료 작업을 수행
Here is the call graph for this function:

◆ on_timer_timerMainTask()

on_timer_timerMainTask ( )

메인 태스크 타이머 이벤트 핸들러

Note
시스템 상태에 따라 다양한 주기로 작업을 예약하고 실행
  • 10ms: 브레이크 페달 메시지 전송
  • 20ms: 차량 동역학 메시지 전송
  • 50ms: 워치독 검사
  • 100ms: 진단, 통신 모니터링, 상태 업데이트
Here is the call graph for this function: