-
Notifications
You must be signed in to change notification settings - Fork 508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Franka blockstacking example #925
Added Franka blockstacking example #925
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall lgtm, minor nits:
- Very similarly to the prior PR involving
franka_example.py
, it would be nice to (1) isolate the output of argparse from the function itself, (2) avoid the double negativenot args.no_render
. - You could also import functions
display_grayscale
,display_rgb
relatively there, to avoid duplication. - Add a screenshot of this working.
Can this run, without rendering as a unit test for test_examples. See https://github.com/facebookresearch/habitat-lab/blob/main/test/test_examples.py for how to hook up the script. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall.
For this test to run on CI we need to host the panda_arm.urdf somewhere it can be downloaded publicly (assuming the license is amenable).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for adding this example, some comments about code clarity.
* added franka blockstacking example * pulled display util funcs out, cleaned arg parsing * updated block example * add franka blockstack to tests * download pointnav data in circleci * fix indentation in circleci config * download data after installing habitat-sim api * conda activate before habitat-sim * restore circleci config * use symlink data to habitat sim * add data path change * use cubeSolid handle * download panda arm urdf in ci tests * update circleci config to match main * use constants * use constants for range offset
* added franka blockstacking example * pulled display util funcs out, cleaned arg parsing * updated block example * add franka blockstack to tests * download pointnav data in circleci * fix indentation in circleci config * download data after installing habitat-sim api * conda activate before habitat-sim * restore circleci config * use symlink data to habitat sim * add data path change * use cubeSolid handle * download panda arm urdf in ci tests * update circleci config to match main * use constants * use constants for range offset
Motivation and Context
Creates a new franka blockstacking example using the static manipulator class.
T122948310
How Has This Been Tested
Running the example (with a display) succeeds in creating an environment with 6 blocks that can be manipulated
DISPLAY=:100 python examples/franka_blockstacking_example.py
Types of changes
Checklist