Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gepetto-demos
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
Guilhem Saurel
gepetto-demos
Commits
276da11b
Commit
276da11b
authored
5 years ago
by
Guilhem Saurel
Browse files
Options
Downloads
Patches
Plain Diff
croccodyl
parent
b61f1676
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
README.md
+4
-0
4 additions, 0 deletions
README.md
croccodyl/README.md
+27
-0
27 additions, 0 deletions
croccodyl/README.md
croccodyl/crocoddyl.py
+21
-0
21 additions, 0 deletions
croccodyl/crocoddyl.py
robots/README.md
+3
-3
3 additions, 3 deletions
robots/README.md
with
55 additions
and
3 deletions
README.md
+
4
−
0
View file @
276da11b
...
...
@@ -11,3 +11,7 @@ Run examples available on the hpp-benchmark package.
## RBPRM
Run examples available on the hpp-rbprm-corba package.
## Crocoddyl
Run examples available on the croccodyl package.
This diff is collapsed.
Click to expand it.
croccodyl/README.md
0 → 100644
+
27
−
0
View file @
276da11b
## Crocoddyl
Run examples available on the crocoddyl package.
## Dependencies
-
[
pinocchio
](
https://github.com/stack-of-tasks/pinocchio
)
-
[
gepetto-viewer-corba
](
https://github.com/gepetto/gepetto-viewer-corba
)
-
[
example-robot-data
](
https://github.com/gepetto/example-robot-data
)
-
[
croccodyl
](
https://github.com/loco-3d/crocoddyl
)
```
py=27
qt=4
sudo apt install -qqy robotpkg-py${py}-qt${qt}-gepetto-viewer-corba robotpkg-py${py}-crocoddyl robotpkg-example-robot-data
```
## Available options
Look at
`./crocoddyl.py -h`
to see the list of available scenarii.
## Run
```
gepetto-gui &
./crocoddyl.py
```
This diff is collapsed.
Click to expand it.
croccodyl/crocoddyl.py
0 → 100755
+
21
−
0
View file @
276da11b
#!/usr/bin/env python2
from
argparse
import
ArgumentParser
from
pathlib
import
Path
from
subprocess
import
Popen
SCENARII
=
[
'
bipedal_walking_from_foot_traj
'
,
'
jump
'
,
'
quadrupedal_walking_balancing
'
,
'
salto
'
,
'
talos_arm
'
,
'
walk
'
]
parser
=
ArgumentParser
()
parser
.
add_argument
(
'
scenario
'
,
nargs
=
'
?
'
,
default
=
SCENARII
[
0
],
choices
=
SCENARII
)
parser
.
add_argument
(
'
--crocoddyl
'
,
default
=
'
/local/users/gsaurel/loco-3d/crocoddyl
'
,
help
=
'
TODO: these files should be installed
'
)
def
main
(
crocoddyl
,
scenario
):
script
=
Path
(
crocoddyl
)
/
'
examples
'
/
(
scenario
+
'
.py
'
)
Popen
([
'
python2
'
,
str
(
script
),
'
disp
'
],
cwd
=
crocoddyl
)
if
__name__
==
'
__main__
'
:
main
(
**
vars
(
parser
.
parse_args
()))
This diff is collapsed.
Click to expand it.
robots/README.md
+
3
−
3
View file @
276da11b
...
...
@@ -4,9 +4,9 @@ Load a robot in a viewer, and put it in a standard posture.
## Dependencies
-
[
pinocchio
](
../../..
/stack-of-tasks/pinocchio
)
-
[
gepetto-viewer-corba
](
../../..
/gepetto/gepetto-viewer-corba
)
-
[
example-robot-data
](
../../..
/gepetto/example-robot-data
)
-
[
pinocchio
](
https://github.com
/stack-of-tasks/pinocchio
)
-
[
gepetto-viewer-corba
](
https://github.com
/gepetto/gepetto-viewer-corba
)
-
[
example-robot-data
](
https://github.com
/gepetto/example-robot-data
)
```
py=27
...
...
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