diff --git a/python/examples/graz/clik_client.py b/python/examples/graz/clik_client.py index 925a570cdb8ed8c836a6aa56c72c029d82cabc13..c84889d0279a36ceb1448f4f8e1cda0d84b35b33 100644 --- a/python/examples/graz/clik_client.py +++ b/python/examples/graz/clik_client.py @@ -72,10 +72,10 @@ def controlLoopClikExternalGoal( #print(*T_goal.translation) print(*(T_w_e.translation), end=" ") print(*(pin.Quaternion(T_w_e.rotation).coeffs()), end=" ") - qd_cmd = np.clip(qd_cmd, -1 * self.max_qd, self.max_qd) + qd_cmd = np.clip(qd_cmd, -1 * robot.max_qd, robot.max_qd) J = pin.computeFrameJacobian(robot.model, robot.data, q, robot.ee_frame_id, pin.ReferenceFrame.WORLD) print(*(J @ qd_cmd), end=" ") - print(*(i * robot.dt)) + print(i * robot.dt) # NOTE: this one is in the base frame! (as it should be) # it is saved in robotmanager (because it's a private variable, # yes this is evil bla bla)