Go to the documentation of this file.00001
00002
00003 import imp, sys, os, time
00004
00005
00006 from subprocess import check_output
00007 sys.path.append(os.path.join(check_output(['pkg-config', 'hrpsys-base', '--variable=prefix']).rstrip(),'share/hrpsys/samples/SampleRobot/'))
00008
00009 import samplerobot_emergency_stopper
00010 import unittest, rostest
00011
00012 class TestSampleRobotEmergencyStopper(unittest.TestCase):
00013 def test_demo (self):
00014 samplerobot_emergency_stopper.demo()
00015
00016
00017 if [s for s in sys.argv if "--gtest_output=xml:" in s] :
00018 rostest.run('hrpsys', 'samplerobot_emergency_stopper', TestSampleRobotEmergencyStopper, sys.argv)
00019
00020
00021
00022
00023
00024