Skip to content
Snippets Groups Projects
Commit f34d56a5 authored by Pep Martí Saumell's avatar Pep Martí Saumell
Browse files

acrobot-ready

parent b9527b5a
No related branches found
No related tags found
No related merge requests found
Pipeline #4418 failed
......@@ -14,7 +14,7 @@ class ActuationModelDoublePendulum:
def calc(self, data, x, u):
S = np.zeros([self.nv,self.nu])
S[1] = 1
data.a = np.dot(S,u)
data.a[:] = np.dot(S,u)
return data.a
def calcDiff(self, data, x, u, recalc=True):
......
source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment