Commit 29a96a75 authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

add 'displayContactSequence' method in display_tools

parent 79eb524f
import time
def createSphere(name,r,size=0.01,color=[0,0,0,1]):
r.client.gui.addSphere(name,size,color)
......@@ -10,3 +12,7 @@ def moveSphere(name,r,pos):
r.client.gui.applyConfiguration(name,q)
r.client.gui.refresh()
def displayContactSequence(r,configs,pause=1.):
for i in range(0,len(configs)-1):
r(configs[i])
time.sleep(pause)
Supports Markdown
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