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
e93c0588
Commit
e93c0588
authored
Nov 06, 2013
by
Thomas Moulard
Browse files
Merge pull request #6 from damien-petit/addCameraOpPoint
fix missing matrixToTuple function for hrp2_10 close #5
parents
0c33ce83
4ba18c1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dynamic_graph/sot/hrp2_10/robot.py.in
View file @
e93c0588
...
...
@@ -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