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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Humanoid Path Planner
hpp-rbprm-corba
Commits
3df2ac33
Commit
3df2ac33
authored
5 years ago
by
Pierre Fernbach
Browse files
Options
Downloads
Patches
Plain Diff
[script] moveEffector correctly write configs in infos.log file
parent
14071915
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
script/scenarios/memmo/talos_moveEffector_flat.py
+4
-2
4 additions, 2 deletions
script/scenarios/memmo/talos_moveEffector_flat.py
with
4 additions
and
2 deletions
script/scenarios/memmo/talos_moveEffector_flat.py
+
4
−
2
View file @
3df2ac33
...
@@ -12,7 +12,7 @@ statusFilename = "infos.log"
...
@@ -12,7 +12,7 @@ statusFilename = "infos.log"
fullBody
=
Robot
()
fullBody
=
Robot
()
# Set the bounds for the root
# Set the bounds for the root
fullBody
.
setJointBounds
(
"
root_joint
"
,
[
-
0.3
,
0.3
,
-
0.3
,
0.3
,
0.9
,
1.0
5
])
fullBody
.
setJointBounds
(
"
root_joint
"
,
[
-
0.3
,
0.3
,
-
0.3
,
0.3
,
1.01
,
1.0
3
])
## reduce bounds on joints along x, to put conservative condition on the contact generation for sideway steps
## reduce bounds on joints along x, to put conservative condition on the contact generation for sideway steps
joint6L_bounds_prev
=
fullBody
.
getJointBounds
(
'
leg_left_6_joint
'
)
joint6L_bounds_prev
=
fullBody
.
getJointBounds
(
'
leg_left_6_joint
'
)
joint2L_bounds_prev
=
fullBody
.
getJointBounds
(
'
leg_left_2_joint
'
)
joint2L_bounds_prev
=
fullBody
.
getJointBounds
(
'
leg_left_2_joint
'
)
...
@@ -108,7 +108,9 @@ else:
...
@@ -108,7 +108,9 @@ else:
print
"
Contact generation failed.
"
print
"
Contact generation failed.
"
f
=
open
(
statusFilename
,
"
a
"
)
f
=
open
(
statusFilename
,
"
w
"
)
f
.
write
(
"
q_init=
"
+
str
(
s0
.
q
())
+
"
\n
"
)
f
.
write
(
"
q_goal=
"
+
str
(
s1
.
q
())
+
"
\n
"
)
f
.
write
(
"
cg_success:
"
+
str
(
cg_success
)
+
"
\n
"
)
f
.
write
(
"
cg_success:
"
+
str
(
cg_success
)
+
"
\n
"
)
f
.
write
(
"
cg_reach_goal:
"
+
str
(
cg_reach_goal
)
+
"
\n
"
)
f
.
write
(
"
cg_reach_goal:
"
+
str
(
cg_reach_goal
)
+
"
\n
"
)
f
.
close
()
f
.
close
()
...
...
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