Skip to content
Snippets Groups Projects
Commit 8b4cd89d authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

rbprmbuilder : only try to import blender script when needed

parent b1d39ed9
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
from hpp.corbaserver.rbprm import Client as RbprmClient from hpp.corbaserver.rbprm import Client as RbprmClient
from hpp.corbaserver.robot import Robot from hpp.corbaserver.robot import Robot
import hpp.gepetto.blender.exportmotion as em
## Load and handle a RbprmDevice robot for rbprm planning ## Load and handle a RbprmDevice robot for rbprm planning
# #
...@@ -94,6 +93,7 @@ class Builder (Robot): ...@@ -94,6 +93,7 @@ class Builder (Robot):
# \param pathId if of the considered path # \param pathId if of the considered path
# \param filename name of the output file where to save the output # \param filename name of the output file where to save the output
def exportPath (self, viewer, problem, pathId, stepsize, filename): def exportPath (self, viewer, problem, pathId, stepsize, filename):
import hpp.gepetto.blender.exportmotion as em
em.exportPath(viewer, self.client.robot, problem, pathId, stepsize, filename) em.exportPath(viewer, self.client.robot, problem, pathId, stepsize, filename)
## set a reference position of the end effector for the given ROM ## set a reference position of the end effector for the given ROM
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment