4 this is example file for Sample6dofRobot robot 6 $ roslaunch hrpsys sample6dofrobot.launch 7 $ rosrun hrpsys sample6dofrobot-kalman-filter.py 15 imp.find_module(
'hrpsys')
16 sys.path.append(imp.find_module(
'hrpsys')[1])
19 roslib.load_manifest(
'hrpsys')
21 sys.path.append(os.path.dirname(os.path.abspath(__file__))+
'/../share/hrpsys/samples/Sample6dofRobot/')
23 import sample6dofrobot_kalman_filter
25 if __name__ ==
'__main__':
26 sample6dofrobot_kalman_filter.demo()
29 if [s
for s
in sys.argv
if "--gtest_output=xml:" in s] :
30 import unittest, rostest
31 rostest.run(
'hrpsys',
'sample6dofrobot_kalman_filter', unittest.TestCase, sys.argv)