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
ea86adb0
Commit
ea86adb0
authored
3 years ago
by
Wolfgang Merkt
Browse files
Options
Downloads
Patches
Plain Diff
Enable prefix resolution without needing to install HPP-Corba
parent
ccfcc99e
Loading
Loading
No related merge requests found
Checking pipeline status
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
anymal_rbprm/__init__.py
+5
-0
5 additions, 0 deletions
anymal_rbprm/__init__.py
anymal_rbprm/anymal.py
+2
-8
2 additions, 8 deletions
anymal_rbprm/anymal.py
with
7 additions
and
8 deletions
anymal_rbprm/__init__.py
+
5
−
0
View file @
ea86adb0
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 @
ea86adb0
...
...
@@ -19,12 +19,6 @@
from
hpp.corbaserver.rbprm.rbprmfullbody
import
FullBody
as
Parent
from
pinocchio
import
SE3
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
):
...
...
@@ -131,9 +125,9 @@ class Robot(Parent):
legy
=
0.02
import
anymal_rbprm
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
(
prefix
(
anymal_rbprm
)
/
"
share/anymal-rbprm/relative_effector_positions/anymal_
"
)
anymal_rbprm
.
prefix
(
)
/
"
share/anymal-rbprm/relative_effector_positions/anymal_
"
)
minDist
=
0.2
...
...
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