[openrtm-commit:03134] r929 - trunk/OpenRTM-aist-Python/OpenRTM_aist
openrtm @ openrtm.org
openrtm @ openrtm.org
2018年 1月 24日 (水) 15:27:40 JST
Author: miyamoto
Date: 2018-01-24 15:27:40 +0900 (Wed, 24 Jan 2018)
New Revision: 929
Modified:
trunk/OpenRTM-aist-Python/OpenRTM_aist/CORBA_RTCUtil.py
Log:
[compat, bugfix, ->RELENG_1_2] fixed bug
Modified: trunk/OpenRTM-aist-Python/OpenRTM_aist/CORBA_RTCUtil.py
===================================================================
--- trunk/OpenRTM-aist-Python/OpenRTM_aist/CORBA_RTCUtil.py 2018-01-23 05:05:14 UTC (rev 928)
+++ trunk/OpenRTM-aist-Python/OpenRTM_aist/CORBA_RTCUtil.py 2018-01-24 06:27:40 UTC (rev 929)
@@ -338,7 +338,7 @@
def is_in_active(rtc, ec_id=0):
ret, state = get_state(rtc, ec_id)
if ret:
- if state[0] == RTC.ACTIVE_STATE:
+ if state == RTC.ACTIVE_STATE:
return True
return False
@@ -364,7 +364,7 @@
def is_in_error(rtc, ec_id=0):
ret, state = get_state(rtc, ec_id)
if ret:
- if state[0] == RTC.ERROR_STATE:
+ if state == RTC.ERROR_STATE:
return True
return False
More information about the openrtm-commit
mailing list