simTest.py
Go to the documentation of this file.
1 import time
2 import com.generalrobotix.ui.item.GrxSimulationItem as GrxSimulationItem
3 import syncExec
4 import java.lang.Runnable as Runnable
5 
6 class StartSim(Runnable):
7  def run(self):
8  sim.startSimulation(0)
9  return None
10 
11 class SetTime(Runnable):
12  def run(self):
13  sim.setDbl("totalTime", 5.0)
14  return None
15 
16 sim = uimanager.getSelectedItem(GrxSimulationItem, None)
18 
19 for i in range(3):
21  sim.waitStopSimulation()
22 
def run(self)
Definition: simTest.py:7
def run(self)
Definition: simTest.py:12
def Exec(r)
Definition: syncExec.py:3


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat Apr 13 2019 02:14:25