Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
multicontact-locomotion-planning
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
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
loco-3d
multicontact-locomotion-planning
Commits
d30bd45f
Commit
d30bd45f
authored
6 years ago
by
Pierre Fernbach
Browse files
Options
Downloads
Patches
Plain Diff
[main] adapt to changes in wb script
parent
bf044662
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
scripts/run_locomote.py
+2
-2
2 additions, 2 deletions
scripts/run_locomote.py
with
2 additions
and
2 deletions
scripts/run_locomote.py
+
2
−
2
View file @
d30bd45f
...
@@ -65,9 +65,9 @@ if cfg.DISPLAY_COM_TRAJ:
...
@@ -65,9 +65,9 @@ if cfg.DISPLAY_COM_TRAJ:
import
hpp_wholebody_motion.wholebody.tsid_invdyn
as
wb
import
hpp_wholebody_motion.wholebody.tsid_invdyn
as
wb
if
cfg
.
USE_CROC_COM
:
if
cfg
.
USE_CROC_COM
:
assert
cfg
.
USE_CROC_INIT_GUESS
,
"
You must generate CROC initial guess if you want to use it as reference for the COM
"
assert
cfg
.
USE_CROC_INIT_GUESS
,
"
You must generate CROC initial guess if you want to use it as reference for the COM
"
q_t
=
wb
.
generateWholeBodyMotion
(
cs_initGuess
,
v
,
cp
.
fullBody
)
q_t
,
v_t
,
a_t
=
wb
.
generateWholeBodyMotion
(
cs_initGuess
,
v
,
cp
.
fullBody
)
else
:
else
:
q_t
=
wb
.
generateWholeBodyMotion
(
cs_com
,
v
,
cp
.
fullBody
)
q_t
,
v_t
,
a_t
=
wb
.
generateWholeBodyMotion
(
cs_com
,
v
,
cp
.
fullBody
)
if
cfg
.
DISPLAY_WB_MOTION
:
if
cfg
.
DISPLAY_WB_MOTION
:
raw_input
(
"
Press Enter to display the whole body motion ...
"
)
raw_input
(
"
Press Enter to display the whole body motion ...
"
)
...
...
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