4 this is example file for PA10 robot 6 $ roslaunch hrpsys pa10.launch 7 $ rosrun hrpsys pa10-jointangle.py 15 imp.find_module(
'hrpsys')
16 sys.path.append(imp.find_module(
'hrpsys')[1])
20 sys.path.append(rp.get_path(
'hrpsys')+
'/lib/python2.7/dist-packages/hrpsys')
21 sys.path.append(rp.get_path(
'openrtm_aist_python')+
'/lib/python2.7/dist-packages')
23 sys.path.append(os.path.dirname(os.path.abspath(__file__))+
'/../samples/PA10/')
32 if [s
for s
in sys.argv
if "--gtest_output=xml:" in s] :
33 import unittest, rostest
34 rostest.run(
'hrpsys',
'pa10_sample', unittest.TestCase, sys.argv)