예제 #1
0
def 
if __name__=='__main__':
    aicontrol = AIControl() 
    count=5
    while not rospy.is_shutdown() and not self.aicontrol.isFail(count):
        aicontrol.stop()
        count-=1
    rospy.sleep(5)
        
예제 #2
0
파일: stop.py 프로젝트: ppipee/ros_homework
#!/usr/bin/python2

from aicontrol import AIControl as aicontrol
import rospy

global AIControl

if __name__=='__main__':
    aicontrol = AIControl()
    count=5
    while not rospy.is_shutdown():
        aicontrol.stop()
        count-=1
    rospy.sleep(5)