Unverified Commit 17d12e7b authored by Guilhem Saurel's avatar Guilhem Saurel Committed by GitHub
Browse files

[exercises] update display only if we have a viewer, fix #53 (#140)

parent ce92624a
Pipeline #15606 passed with stage
in 13 minutes
......@@ -174,7 +174,8 @@ class TsidBiped:
self.viz.display(q)
def display(self, q):
self.viz.display(q)
if hasattr(self, 'viz'):
self.viz.display(q)
def integrate_dv(self, q, v, dv, dt):
v_mean = v + 0.5 * dt * dv
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment