simTest1.py
Go to the documentation of this file.
00001 #
00002 # test script for Simulator component
00003 # 
00004 # start hrpsys-viewer and SimulatorComp before running this script
00005 #
00006 import rtm
00007 import commands
00008 
00009 openhrp_dir = commands.getoutput("pkg-config --variable=prefix openhrp3.1")
00010 project = "file://"+openhrp_dir+"/share/OpenHRP-3.1/sample/project/Sample.xml"
00011 sim = rtm.findRTC("Simulator0")
00012 print "sim:",sim
00013 sim.setProperty("project", project)
00014 sim.setProperty("useOLV", "1")
00015 sim.start()


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Wed May 15 2019 05:02:19