Unverified Commit 4da93bb2 authored by stonneau's avatar stonneau Committed by GitHub
Browse files

Merge pull request #25 from pFernbach/topic/issue24

fullbody.py : only import gepetto.blender.exportmotion inside the export method
parents 6e70b4fe 2bd83672
...@@ -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
from numpy import array, matrix from numpy import array, matrix
from hpp_spline import bezier from hpp_spline import bezier
...@@ -817,6 +816,7 @@ class FullBody (Robot): ...@@ -817,6 +816,7 @@ class FullBody (Robot):
# \param configurations list of configurations to save # \param configurations list of configurations to save
# \param filename outputfile where to export the motion # \param filename outputfile where to export the motion
def exportMotion(self, viewer, configurations, filename): def exportMotion(self, viewer, configurations, filename):
import hpp.gepetto.blender.exportmotion as em
em.exportStates(viewer, self.client.robot, configurations, filename) em.exportStates(viewer, self.client.robot, configurations, filename)
## Export motion to a format readable by the blender ## Export motion to a format readable by the blender
......
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