기능
로봇 제어기의 최근 알람 로그를 읽어오는 함수입니다.
리턴
|
값 |
설명 |
|---|---|
|
level |
로그 메시지 레벨 0 : Info 1 : Warning 2 : Alarm |
|
group |
로그 메시지 그룹 |
|
index |
알람 로그 번호 |
|
param |
알람 로그 파라미터 |
예제
Bash
#...
index = get_last_alarm().index
print(str(index))
#...