get_control_mode()
기능
현재 제어 모드를 리턴합니다.
리턴
값 | 설명 |
---|---|
int | 제어모드 3 : Position control mode 4 : Torque control mode |
예외
예외 | 설명 |
---|---|
DR_Error (DR_ERROR_RUNTIME) | C Extension 모듈 에러 발생 시 |
예제
mode = get_control_mode()
현재 제어 모드를 리턴합니다.
값 | 설명 |
---|---|
int | 제어모드 3 : Position control mode 4 : Torque control mode |
예외 | 설명 |
---|---|
DR_Error (DR_ERROR_RUNTIME) | C Extension 모듈 에러 발생 시 |
mode = get_control_mode()