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
sot-hrp2
Commits
4ba18c1a
Commit
4ba18c1a
authored
Nov 07, 2013
by
Damien Petit
Browse files
fix add matrixToTuple function
parent
5f16e67b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dynamic_graph/sot/hrp2_10/robot.py.in
View file @
4ba18c1a
...
...
@@ -20,6 +20,14 @@ import numpy as np
from dynamic_graph.sot.hrp2.dynamic_hrp2_10 import DynamicHrp2_10
hrp2_10_pkgdatarootdir = "@HRP2_10_PKGDATAROOTDIR@/hrp2-10"
# Internal helper tool.
def matrixToTuple(M):
tmp = M.tolist()
res = []
for i in tmp:
res.append(tuple(i))
return tuple(res)
class Robot (Hrp2):
"""
This class instanciates LAAS Hrp2 robot
...
...
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