Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-rbprm-corba
Commits
2bd83672
Commit
2bd83672
authored
Apr 11, 2019
by
Pierre Fernbach
Browse files
fullbody.py : only import gepetto.blender.exportmotion inside the export method
Solve #24
parent
6e70b4fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hpp/corbaserver/rbprm/rbprmfullbody.py
View file @
2bd83672
...
...
@@ -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
...
...
@@ -817,6 +816,7 @@ class FullBody (Robot):
# \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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment