Skip to content
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

PyBullet/Drake Visualizer of the Worlds #17

Open
vacancy opened this issue Apr 12, 2022 · 0 comments
Open

PyBullet/Drake Visualizer of the Worlds #17

vacancy opened this issue Apr 12, 2022 · 0 comments

Comments

@vacancy
Copy link
Collaborator

vacancy commented Apr 12, 2022

This issue tracks the development of a world visualizer of LISDF files. Yang has crafted a minimalist visualizer in her kitchen-worlds Maybe we can build on top of that?

There is one more thing that we can potentially do, which is to implement an official parser/loader for simulators. I am thinking of something like this:

import lisdf.simulators.pybullet as lisdf_bullet

lisdf, domain, problem, bullet_world = lisdf_bullet.load('kitchen.lisdf', 'domain.pddl', 'problem.pddl')

The last return value, bullet_world should contain information about the index of each model defined in kitchen.lisdf. For example, it should support functionalities such as:

bullet_world.get_link_by_name('pr2::left-gripper')  # returns 17 (i.e., the internal pybullet id for this link).

In the meanwhile, I think we want to keep this tool very simple and plain and light-weight. So users can borrow some code from us/built on top of our code to define their own data structures for storing these things.

I imagine this can be a handy tool for users. Some TODOs are:

[] support loading multiple objects
[] support GUI settings (currently just the camera pose)
[] support lisdf/State settings
[] support PDDL/State settings, which overrides the definitions in lisdf
[] support the "group" feature

Creating this issue to track the development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant