Commit 4ba18c1a authored by Damien Petit's avatar Damien Petit
Browse files

fix add matrixToTuple function

parent 5f16e67b
......@@ -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
......
Markdown is supported
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