Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hpp-rbprm-corba
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
Show more breadcrumbs
Jason Chemin
hpp-rbprm-corba
Commits
a1a42c09
Commit
a1a42c09
authored
7 years ago
by
Pierre Fernbach
Browse files
Options
Downloads
Patches
Plain Diff
remove dependancie to reachability package
parent
834cdcaa
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
script/dynamic/darpa_hrp2_path.py
+4
-3
4 additions, 3 deletions
script/dynamic/darpa_hrp2_path.py
with
4 additions
and
3 deletions
script/dynamic/darpa_hrp2_path.py
+
4
−
3
View file @
a1a42c09
...
@@ -6,7 +6,8 @@ from hpp.gepetto import Viewer
...
@@ -6,7 +6,8 @@ from hpp.gepetto import Viewer
import
time
import
time
import
math
import
math
import
omniORB.any
import
omniORB.any
from
planning.configs.darpa
import
*
from
hpp.corbaserver
import
Client
from
hpp.corbaserver
import
Client
from
hpp.corbaserver.robot
import
Robot
as
Parent
from
hpp.corbaserver.robot
import
Robot
as
Parent
...
@@ -27,7 +28,7 @@ class Robot (Parent):
...
@@ -27,7 +28,7 @@ class Robot (Parent):
self
.
load
=
load
self
.
load
=
load
MU
=
0.5
rootJointType
=
'
freeflyer
'
rootJointType
=
'
freeflyer
'
packageName
=
'
hpp-rbprm-corba
'
packageName
=
'
hpp-rbprm-corba
'
meshPackageName
=
'
hpp-rbprm-corba
'
meshPackageName
=
'
hpp-rbprm-corba
'
...
@@ -82,7 +83,7 @@ r = Viewer (ps,displayArrows = True)
...
@@ -82,7 +83,7 @@ r = Viewer (ps,displayArrows = True)
from
hpp.corbaserver.affordance.affordance
import
AffordanceTool
from
hpp.corbaserver.affordance.affordance
import
AffordanceTool
afftool
=
AffordanceTool
()
afftool
=
AffordanceTool
()
afftool
.
setAffordanceConfig
(
'
Support
'
,
[
0.5
,
0.03
,
0.005
])
afftool
.
setAffordanceConfig
(
'
Support
'
,
[
0.5
,
0.03
,
0.005
])
afftool
.
loadObstacleModel
(
packageName
,
ENV_NAME
,
ENV_PREFIX
,
r
,
reduceSizes
=
[
0.14
,
0
])
afftool
.
loadObstacleModel
(
packageName
,
"
darpa_no_mid
"
,
"
planning
"
,
r
,
reduceSizes
=
[
0.14
,
0
])
#r.loadObstacleModel (packageName, "ground", "planning")
#r.loadObstacleModel (packageName, "ground", "planning")
afftool
.
visualiseAffordances
(
'
Support
'
,
r
,
[
0.25
,
0.5
,
0.5
])
afftool
.
visualiseAffordances
(
'
Support
'
,
r
,
[
0.25
,
0.5
,
0.5
])
r
.
addLandmark
(
r
.
sceneName
,
1
)
r
.
addLandmark
(
r
.
sceneName
,
1
)
...
...
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