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
Humanoid Path Planner
talos-rbprm
Commits
5b00f829
Commit
5b00f829
authored
Sep 15, 2020
by
Guilhem Saurel
Browse files
use model from example-robot-data
parent
55f8c354
Changes
2
Show whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
5b00f829
...
@@ -13,6 +13,8 @@ INCLUDE(cmake/python.cmake)
...
@@ -13,6 +13,8 @@ INCLUDE(cmake/python.cmake)
COMPUTE_PROJECT_ARGS
(
PROJECT_ARGS LANGUAGES CXX
)
COMPUTE_PROJECT_ARGS
(
PROJECT_ARGS LANGUAGES CXX
)
PROJECT
(
${
PROJECT_NAME
}
${
PROJECT_ARGS
}
)
PROJECT
(
${
PROJECT_NAME
}
${
PROJECT_ARGS
}
)
ADD_PROJECT_DEPENDENCY
(
example-robot-data REQUIRED
)
FINDPYTHON
()
FINDPYTHON
()
ADD_LIBRARY
(
${
PROJECT_NAME
}
INTERFACE
)
ADD_LIBRARY
(
${
PROJECT_NAME
}
INTERFACE
)
...
...
talos_rbprm/talos.py
View file @
5b00f829
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
# Author: Pierre Fernbach
# Author: Pierre Fernbach
import
numpy
as
np
import
numpy
as
np
from
hpp.corbaserver.rbprm.rbprmfullbody
import
FullBody
as
Parent
from
hpp.corbaserver.rbprm.rbprmfullbody
import
FullBody
as
Parent
from
pinocchio
import
SE3
from
pinocchio
import
SE3
...
@@ -10,8 +11,8 @@ from pinocchio import SE3
...
@@ -10,8 +11,8 @@ from pinocchio import SE3
class
Robot
(
Parent
):
class
Robot
(
Parent
):
# Information to retrieve urdf and srdf files.
# Information to retrieve urdf and srdf files.
name
=
"talos"
name
=
"talos"
packageName
=
"talos_data"
packageName
=
"
example-robot-data/robots/
talos_data"
meshPackageName
=
"talos_data"
meshPackageName
=
"
example-robot-data/robots/
talos_data"
rootJointType
=
"freeflyer"
rootJointType
=
"freeflyer"
urdfName
=
"talos"
urdfName
=
"talos"
urdfSuffix
=
"_reduced"
urdfSuffix
=
"_reduced"
...
...
Write
Preview
Supports
Markdown
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