trick/trick_sims/SIM_ball_L3/RUN_control/input.py

11 lines
395 B
Python
Raw Normal View History

2015-02-26 15:02:31 +00:00
execfile("Modified_data/data_record.dr")
ball2.state.input.mass = trick.sim_services.attach_units("kg" , 10.0)
ball2.state.input.speed = trick.sim_services.attach_units("m/s" , 3.5)
ball2.state.input.elevation = trick.sim_services.attach_units("d" , 30.0) ;
ball2.state.input.position[0] = trick.sim_services.attach_units("m" , [5.0 , 5.0])
trick.sim_services.exec_set_terminate_time(300.0)