Skip to content
GitLab
Menu
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
9aeb4e3e
Commit
9aeb4e3e
authored
Mar 06, 2019
by
Guilhem Saurel
Browse files
[Tests] we test the files in the current repository, not the ones that are installed
parent
bf359cd6
Changes
1
Hide whitespace changes
Inline
Side-by-side
unittest/unittest_utils.py
View file @
9aeb4e3e
...
...
@@ -26,7 +26,7 @@ def readParamsFromSrdf(robot, SRDF_PATH, verbose):
return
def
loadTalosArm
(
modelPath
=
'
/opt/openrobots/share/example-robot-data
'
):
def
loadTalosArm
(
modelPath
=
'
../..
'
):
URDF_FILENAME
=
"talos_left_arm.urdf"
URDF_SUBPATH
=
"/talos_data/robots/"
+
URDF_FILENAME
SRDF_FILENAME
=
"talos.srdf"
...
...
@@ -39,7 +39,7 @@ def loadTalosArm(modelPath='/opt/openrobots/share/example-robot-data'):
return
robot
def
loadTalos
(
modelPath
=
'
/opt/openrobots/share/example-robot-data
'
):
def
loadTalos
(
modelPath
=
'
../..
'
):
URDF_FILENAME
=
"talos_reduced.urdf"
SRDF_FILENAME
=
"talos.srdf"
SRDF_SUBPATH
=
"/talos_data/srdf/"
+
SRDF_FILENAME
...
...
@@ -53,7 +53,7 @@ def loadTalos(modelPath='/opt/openrobots/share/example-robot-data'):
return
robot
def
loadHyQ
(
modelPath
=
'
/opt/openrobots/share/example-robot-data
'
):
def
loadHyQ
(
modelPath
=
'
../..
'
):
URDF_FILENAME
=
"hyq_no_sensors.urdf"
URDF_SUBPATH
=
"/hyq_description/robots/"
+
URDF_FILENAME
robot
=
RobotWrapper
.
BuildFromURDF
(
modelPath
+
URDF_SUBPATH
,
[
modelPath
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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