Skip to content
This repository has been archived by the owner on Dec 22, 2024. It is now read-only.

Commit

Permalink
fullbody.py : only import gepetto.blender.exportmotion inside the exp…
Browse files Browse the repository at this point in the history
…ort method

Solve #24
  • Loading branch information
pFernbach committed Apr 11, 2019
1 parent 6e70b4f commit 2bd8367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hpp/corbaserver/rbprm/rbprmfullbody.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

from hpp.corbaserver.rbprm import Client as RbprmClient
from hpp.corbaserver.robot import Robot
import hpp.gepetto.blender.exportmotion as em
from numpy import array, matrix
from hpp_spline import bezier

Expand Down Expand Up @@ -817,6 +816,7 @@ def computeTargetTransform(self, limbName, configuration, p, n):
# \param configurations list of configurations to save
# \param filename outputfile where to export the motion
def exportMotion(self, viewer, configurations, filename):
import hpp.gepetto.blender.exportmotion as em
em.exportStates(viewer, self.client.robot, configurations, filename)

## Export motion to a format readable by the blender
Expand Down

0 comments on commit 2bd8367

Please sign in to comment.