MCPcopy Create free account
hub / github.com/Simple-Robotics/Simple / test_init_empty

Function test_init_empty

tests/python/test_simulator_instance.py:128–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126
127
128def test_init_empty():
129 model = pin.Model()
130 geom_model = pin.GeometryModel()
131 data = model.createData()
132 geom_data = geom_model.createData()
133 sim = simple.Simulator(model, data, geom_model, geom_data)
134 q = pin.neutral(model)
135 v = np.zeros(model.nv)
136 tau = np.zeros(model.nv)
137 dt = 1e-3
138 sim.step(q, v, tau, dt)
139 assert True
140
141
142def test_step():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected