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

Function addFloor

tests/python/test_simulator_instance.py:284–288  ·  view source on GitHub ↗
(geom_model: pin.GeometryModel)

Source from the content-addressed store, hash-verified

282
283
284def addFloor(geom_model: pin.GeometryModel):
285 floor_collision_shape = Halfspace(0, 0, 1, 0)
286 M = pin.SE3.Identity()
287 floor_collision_object = pin.GeometryObject("floor", 0, 0, M, floor_collision_shape)
288 geom_model.addGeometryObject(floor_collision_object)
289
290
291def test_manipulator_limits():

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected