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
Gepetto
example-robot-data
Commits
075e068f
Commit
075e068f
authored
Feb 03, 2020
by
Carlos Mastalli
Browse files
[bugfix] Compatibility with numpy matrix too
parent
6931e4a3
Pipeline
#8211
passed with stage
in 17 minutes and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
python/example_robot_data/robots_loader.py
View file @
075e068f
...
...
@@ -154,7 +154,7 @@ def loadTalosLegs():
robot
.
visual_data
=
pinocchio
.
GeometryData
(
g2
)
# Load SRDF file
robot
.
q0
=
np
.
array
(
np
.
resize
(
robot
.
q0
,
robot
.
model
.
nq
)).
T
robot
.
q0
=
robot
.
q0
[:
robot
.
model
.
nq
]
readParamsFromSrdf
(
robot
,
modelPath
+
SRDF_SUBPATH
,
False
)
assert
((
m2
.
armature
[:
6
]
==
0.
).
all
())
...
...
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