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_reference_force_updater
00010 import unittest, rostest
00011
00012 class TestSampleRobotReferenceForceUpdater(unittest.TestCase):
00013 def test_demo (self):
00014 samplerobot_reference_force_updater.demo()
00015
00016
00017 if [s for s in sys.argv if "--gtest_output=xml:" in s] :
00018 rostest.run('hrpsys', 'samplerobot_reference_force_updater', TestSampleRobotReferenceForceUpdater, sys.argv)