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

Method __init__

tests/python/example_problem.py:72–75  ·  view source on GitHub ↗
(self, W: np.ndarray, x_ref: np.ndarray)

Source from the content-addressed store, hash-verified

70
71class MyQuadCost(aligator.CostAbstract):
72 def __init__(self, W: np.ndarray, x_ref: np.ndarray):
73 self.x_ref = x_ref
74 self.W = W
75 super().__init__(space, nu)
76
77 def __getinitargs__(self):
78 return (self.W, self.x_ref)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected