Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
anymal-rbprm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Humanoid Path Planner
anymal-rbprm
Commits
83664dcc
Unverified
Commit
83664dcc
authored
2 years ago
by
Guilhem Saurel
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #8 from ori-drs/topic/fix-build-in-catkin-env
Fix build in catkin environment
parents
b9d64b03
fd650d92
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
anymal_rbprm/__init__.py
+6
-0
6 additions, 0 deletions
anymal_rbprm/__init__.py
anymal_rbprm/anymal.py
+2
-8
2 additions, 8 deletions
anymal_rbprm/anymal.py
package.xml
+10
-3
10 additions, 3 deletions
package.xml
with
19 additions
and
12 deletions
CMakeLists.txt
+
1
−
1
View file @
83664dcc
...
@@ -7,7 +7,7 @@ SET(CUSTOM_HEADER_DIR "hpp/anymal-rbprm")
...
@@ -7,7 +7,7 @@ SET(CUSTOM_HEADER_DIR "hpp/anymal-rbprm")
SET
(
CXX_DISABLE_WERROR true
)
SET
(
CXX_DISABLE_WERROR true
)
SET
(
PROJECT_USE_CMAKE_EXPORT TRUE
)
SET
(
PROJECT_USE_CMAKE_EXPORT TRUE
)
INCLUDE
(
cmake/
hpp
.cmake
)
INCLUDE
(
cmake/
base
.cmake
)
INCLUDE
(
cmake/python.cmake
)
INCLUDE
(
cmake/python.cmake
)
COMPUTE_PROJECT_ARGS
(
PROJECT_ARGS LANGUAGES CXX
)
COMPUTE_PROJECT_ARGS
(
PROJECT_ARGS LANGUAGES CXX
)
...
...
This diff is collapsed.
Click to expand it.
anymal_rbprm/__init__.py
+
6
−
0
View file @
83664dcc
from
pathlib
import
Path
def
prefix
():
"""
$prefix/lib/pythonX.Y/site-packages/$module/__init__.py: extract prefix from module
"""
return
Path
(
__file__
).
parent
.
parent
.
parent
.
parent
.
parent
This diff is collapsed.
Click to expand it.
anymal_rbprm/anymal.py
+
2
−
8
View file @
83664dcc
...
@@ -19,12 +19,6 @@
...
@@ -19,12 +19,6 @@
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
import
numpy
as
np
import
numpy
as
np
from
pathlib
import
Path
def
prefix
(
module
):
"""
$prefix/lib/pythonX.Y/site-packages/$module/__init__.py: extract prefix from module
"""
return
Path
(
module
.
__file__
).
parent
.
parent
.
parent
.
parent
.
parent
class
Robot
(
Parent
):
class
Robot
(
Parent
):
...
@@ -131,9 +125,9 @@ class Robot(Parent):
...
@@ -131,9 +125,9 @@ class Robot(Parent):
legy
=
0.02
legy
=
0.02
import
anymal_rbprm
import
anymal_rbprm
kinematic_constraints_path
=
str
(
kinematic_constraints_path
=
str
(
prefix
(
anymal_rbprm
)
/
"
share/anymal-rbprm/com_inequalities/feet_quasi_flat/anymal_
"
)
anymal_rbprm
.
prefix
(
)
/
"
share/anymal-rbprm/com_inequalities/feet_quasi_flat/anymal_
"
)
relative_feet_constraints_path
=
str
(
relative_feet_constraints_path
=
str
(
prefix
(
anymal_rbprm
)
/
"
share/anymal-rbprm/relative_effector_positions/anymal_
"
)
anymal_rbprm
.
prefix
(
)
/
"
share/anymal-rbprm/relative_effector_positions/anymal_
"
)
minDist
=
0.2
minDist
=
0.2
...
...
This diff is collapsed.
Click to expand it.
package.xml
+
10
−
3
View file @
83664dcc
<?xml version='1.0'?>
<?xml version='1.0'?>
<package
format=
'
2
'
>
<package
format=
'
3
'
>
<name>
anymal
-
rbprm
</name>
<name>
anymal
_
rbprm
</name>
<version>
4.12.0
</version>
<version>
4.12.0
</version>
<description>
Database for anymal robot using hpp-rbprm
</description>
<description>
Database for anymal robot using hpp-rbprm
</description>
...
@@ -10,5 +10,12 @@
...
@@ -10,5 +10,12 @@
<author>
Pierre Fernbach
</author>
<author>
Pierre Fernbach
</author>
<author>
Steve Tonneau
</author>
<author>
Steve Tonneau
</author>
<buildtool_depend>
catkin
</buildtool_depend>
<!-- The following tags are recommended by REP-136 -->
<exec_depend
condition=
"$ROS_VERSION == 1"
>
catkin
</exec_depend>
<buildtool_depend>
cmake
</buildtool_depend>
<depend
condition=
"$ROS_PYTHON_VERSION == 2"
>
python
</depend>
<depend
condition=
"$ROS_PYTHON_VERSION == 3"
>
python3
</depend>
<export>
<build_type>
cmake
</build_type>
</export>
</package>
</package>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment