Merge pull request #56 from Dev-KATECH/Workspace

20241206_rc모듈 전원 on_off 가정 상황 고려 수정
This commit is contained in:
S2-CHICKEN 2024-12-06 17:55:46 +09:00 committed by GitHub
commit aeed97b1db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10081 additions and 10082 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -11,7 +11,7 @@ void No_signal_RC(void){
if(GV_Operation_Mode == 1 ){ if(GV_Operation_Mode == 1 ){
if(GV_RC_VCU_counter1_CHECK != GV_RC_VCU_ARC){ if(GV_RC_VCU_counter1_CHECK != GV_RC_VCU_ARC){
GV_RC_VCU_counter1_CHECK = GV_RC_VCU_ARC; GV_RC_VCU_counter1_CHECK = GV_RC_VCU_ARC;
GV_RC_ALV_FLAG= 0;
}else{ // 200ms가 지낫는데도 둘다 같은 값이면 -> 신호가 안들어오고 있음 -> 이머전시 스탑 (기존 정상치라면 20 증가 해야함) }else{ // 200ms가 지낫는데도 둘다 같은 값이면 -> 신호가 안들어오고 있음 -> 이머전시 스탑 (기존 정상치라면 20 증가 해야함)
// GV_Operation_Mode = 2 ; // GV_Operation_Mode = 2 ;
GV_RC_ALV_FLAG= 1; GV_RC_ALV_FLAG= 1;
@ -19,6 +19,7 @@ void No_signal_RC(void){
}else if(GV_Operation_Mode == 2){ }else if(GV_Operation_Mode == 2){
// 이머전시 모드 푸는 법 - rc 모듈 이머전시 토글 // 이머전시 모드 푸는 법 - rc 모듈 이머전시 토글
// 얼라이브 카운트로 이머전시 발동 시 - 이머전시 버튼 두번 누르면 됨
if(GV_RC_Emergency_Stop == 1){ if(GV_RC_Emergency_Stop == 1){
GV_RC_ALV_FLAG= 0; GV_RC_ALV_FLAG= 0;