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

Class DefaultPolicy

sandbox/simulation_utils.py:30–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29
30class DefaultPolicy(Policy):
31 def __init__(self, model: pin.Model):
32 self.actuation = None
33
34 def act(
35 self, simulator: simple.Simulator, q: np.ndarray, v: np.ndarray, dt
36 ) -> np.ndarray:
37 return np.zeros(simulator.model.nv)
38
39
40class FreeFloatingRobotDampingPolicy(Policy):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected