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
Stack Of Tasks
sot-talos
Commits
c684fdaa
Commit
c684fdaa
authored
Jul 04, 2017
by
Olivier Stasse
Browse files
Fix installation path for tests scripts
Uses talos-data instead of talos_description to find urdf file.
parent
b06bc6d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
c684fdaa
...
...
@@ -78,7 +78,7 @@ IF(TALOS_DATA_FOUND)
INSTALL
(
FILES
${
PROJECT_BINARY_DIR
}
/tests/
${
py_filename
}
.py
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/
${
PROJECT_NAME
}
/tests
${
CMAKE_INSTALL_PREFIX
}
/
share/
${
PROJECT_NAME
}
/tests
)
ENDFOREACH
(
py_filename
)
ENDIF
(
TALOS_DATA_FOUND
)
...
...
src/dynamic_graph/sot/talos/talos.py
View file @
c684fdaa
...
...
@@ -81,8 +81,8 @@ class Talos(AbstractHumanoidRobot):
from
rospkg
import
RosPack
rospack
=
RosPack
()
urdfPath
=
rospack
.
get_path
(
'talos_d
escription
'
)
+
"/robots/talos_reduced.urdf"
urdfDir
=
[
rospack
.
get_path
(
'talos_d
escription
'
)
+
"/../"
]
urdfPath
=
rospack
.
get_path
(
'talos_d
ata
'
)
+
"/robots/talos_reduced.urdf"
urdfDir
=
[
rospack
.
get_path
(
'talos_d
ata
'
)
+
"/../"
]
# Create a wrapper to access the dynamic model provided through an urdf file.
from
pinocchio.robot_wrapper
import
RobotWrapper
...
...
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