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

Method __init__

sandbox/simulation_utils.py:55–57  ·  view source on GitHub ↗
(self, model: pin.Model, damping_factor: float)

Source from the content-addressed store, hash-verified

53
54class RobotArmDampingPolicy(Policy):
55 def __init__(self, model: pin.Model, damping_factor: float):
56 self.actuation = np.eye(model.nv)
57 self.damping_factor = damping_factor
58
59 def act(
60 self, simulator: simple.Simulator, q: np.ndarray, v: np.ndarray, dt

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected