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
f7829c9b
Commit
f7829c9b
authored
6 years ago
by
Pierre Fernbach
Browse files
Options
Downloads
Patches
Plain Diff
[script] minor changes in display tools
parent
76ccd4c6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
script/tools/displayCOntact.py
+12
-12
12 additions, 12 deletions
script/tools/displayCOntact.py
script/tools/display_tools.py
+1
-1
1 addition, 1 deletion
script/tools/display_tools.py
with
13 additions
and
13 deletions
script/tools/displayCOntact.py
+
12
−
12
View file @
f7829c9b
...
...
@@ -5,24 +5,24 @@ q2 = [[1.41929 , 0.56273 , 0.3167],[0.633238 , 0.498175 , 0.252145],[1.41049 , -
color
=
r
.
color
.
black
color
=
v
.
color
.
black
for
i
in
range
(
0
,
len
(
q
)):
r
.
client
.
gui
.
addSphere
(
"
s
"
+
str
(
i
),
0.03
,
color
)
r
.
client
.
gui
.
applyConfiguration
(
"
s
"
+
str
(
i
),
q
[
i
]
+
[
1
,
0
,
0
,
0
])
r
.
client
.
gui
.
setVisibility
(
"
s
"
+
str
(
i
),
"
ALWAYS_ON_TOP
"
)
r
.
client
.
gui
.
addToGroup
(
"
s
"
+
str
(
i
),
r
.
sceneName
)
v
.
client
.
gui
.
addSphere
(
"
s
"
+
str
(
i
),
0.03
,
color
)
v
.
client
.
gui
.
applyConfiguration
(
"
s
"
+
str
(
i
),
q
[
i
]
+
[
1
,
0
,
0
,
0
])
v
.
client
.
gui
.
setVisibility
(
"
s
"
+
str
(
i
),
"
ALWAYS_ON_TOP
"
)
v
.
client
.
gui
.
addToGroup
(
"
s
"
+
str
(
i
),
v
.
sceneName
)
r
.
client
.
gui
.
refresh
()
v
.
client
.
gui
.
refresh
()
color
=
r
.
color
.
red
color
=
v
.
color
.
red
for
i
in
range
(
0
,
len
(
q2
)):
r
.
client
.
gui
.
addSphere
(
"
sc
"
+
str
(
i
),
0.01
,
color
)
r
.
client
.
gui
.
applyConfiguration
(
"
sc
"
+
str
(
i
),
q2
[
i
]
+
[
1
,
0
,
0
,
0
])
r
.
client
.
gui
.
addToGroup
(
"
sc
"
+
str
(
i
),
r
.
sceneName
)
r
.
client
.
gui
.
setVisibility
(
"
sc
"
+
str
(
i
),
"
ALWAYS_ON_TOP
"
)
v
.
client
.
gui
.
addSphere
(
"
sc
"
+
str
(
i
),
0.01
,
color
)
v
.
client
.
gui
.
applyConfiguration
(
"
sc
"
+
str
(
i
),
q2
[
i
]
+
[
1
,
0
,
0
,
0
])
v
.
client
.
gui
.
addToGroup
(
"
sc
"
+
str
(
i
),
v
.
sceneName
)
v
.
client
.
gui
.
setVisibility
(
"
sc
"
+
str
(
i
),
"
ALWAYS_ON_TOP
"
)
r
.
client
.
gui
.
refresh
()
v
.
client
.
gui
.
refresh
()
...
...
This diff is collapsed.
Click to expand it.
script/tools/display_tools.py
+
1
−
1
View file @
f7829c9b
...
...
@@ -13,6 +13,6 @@ def moveSphere(name,r,pos):
r
.
client
.
gui
.
refresh
()
def
displayContactSequence
(
r
,
configs
,
pause
=
1.
):
for
i
in
range
(
0
,
len
(
configs
)
-
1
):
for
i
in
range
(
0
,
len
(
configs
)):
r
(
configs
[
i
])
time
.
sleep
(
pause
)
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