i read the code from model Walking_Bill.ttm:
Code: Select all
nominalVelocity = sim.getScriptSimulationParameter(sim.handle_self,'walkingSpeed')
thanks
Jian
Code: Select all
nominalVelocity = sim.getScriptSimulationParameter(sim.handle_self,'walkingSpeed')
Code: Select all
time_1 = sim.getSimulationTime()
step_time = sim.getSimulationTimeStep()
jp=time_1/step_time