(self, W: np.ndarray, x_ref: np.ndarray)
| 70 | |
| 71 | class 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) |