Commit a9e56d84 authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

fix bezier constructor in rbprmFullbody.py

parent 0728023d
......@@ -988,7 +988,7 @@ class FullBody(Robot):
wp = curvesWp[cid]
if len(wp[0]) == 1: # length is provided :
waypoints = matrix(wp[1:]).transpose()
curve = bezier(waypoints, wp[0][0])
curve = bezier(waypoints, 0., wp[0][0])
else:
waypoints = matrix(wp).transpose()
curve = bezier(waypoints)
......@@ -1000,7 +1000,7 @@ class FullBody(Robot):
path = self.clientRbprm.rbprm.getPathAsBezier(pathId)
t = path[0][0]
wps = matrix(path[1:]).transpose()
curve = bezier(wps, t)
curve = bezier(wps, 0., t)
return curve
# # return the contacts variation between two states
......
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