4 this is example file for HRP4-C robot 6 $ roslaunch hrpsys hrp4c.launch 7 $ rosrun hrpsys hrp4c-motion.py 9 If you does not have hrp4c robot model, download the data first 10 $ rosrun hrpsys hrp4c_model_download.sh 15 sys.path.append(imp.find_module(
'hrpsys')[1])
16 sys.path.append(os.path.dirname(os.path.abspath(__file__))+
'/../share/hrpsys/samples/HRP4C/')
23 HRP4C.loadPattern(os.path.dirname(os.path.abspath(__file__))+
'/../share/hrpsys/samples/HRP4C/data/hear')
24 HRP4C.loadPattern(os.path.dirname(os.path.abspath(__file__))+
'/../share/hrpsys/samples/HRP4C/data/bow')
25 HRP4C.loadPattern(os.path.dirname(os.path.abspath(__file__))+
'/../share/hrpsys/samples/HRP4C/data/roate_waist')
26 HRP4C.loadPattern(os.path.dirname(os.path.abspath(__file__))+
'/../share/hrpsys/samples/HRP4C/data/warmup_r')
27 HRP4C.loadPattern(os.path.dirname(os.path.abspath(__file__))+
'/../share/hrpsys/samples/HRP4C/data/warmup_y')
28 HRP4C.loadPattern(os.path.dirname(os.path.abspath(__file__))+
'/../share/hrpsys/samples/HRP4C/data/walk2m')
def loadPattern(basename, tm=1.0)