Commit 98126ad1 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

curves → ndcurves

parent 08526a8b
Pipeline #13901 failed with stage
in 2 minutes and 31 seconds
from curves import bezier, polynomial
from numpy import matrix
from numpy.linalg import norm
from ndcurves import bezier, polynomial
def displayBezierCurve(r,curve,step=0.001,color=[0.85, 0.75, 0.15, 1.0],name=None,offset = None):
if name==None:
if name is None:
name="bezier_curve"
list = r.client.gui.getNodeList()
i=0
......
......@@ -16,10 +16,11 @@
# hpp-manipulation-corba. If not, see
# <http://www.gnu.org/licenses/>.
from numpy import array, matrix
from hpp.corbaserver.rbprm import Client as RbprmClient
from hpp.corbaserver.robot import Robot
from curves import bezier
from numpy import array, matrix
from ndcurves import bezier
# # Load and handle a RbprmFullbody robot for rbprm planning
......@@ -31,7 +32,7 @@ class FullBody(Robot):
def __init__(self, robotName = None, rootJointType = None, load = True, client = None, hppcorbaClient = None, clientRbprm=None):
Robot.__init__(self, robotName, rootJointType, False, client, hppcorbaClient)
self.tf_root = "base_link"
if clientRbprm == None:
if clientRbprm is None:
self.clientRbprm = RbprmClient()
else:
self.clientRbprm = clientRbprm
......
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