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

Customize environments #38

Open
kzorina opened this issue Jul 22, 2022 · 1 comment
Open

Customize environments #38

kzorina opened this issue Jul 22, 2022 · 1 comment

Comments

@kzorina
Copy link

kzorina commented Jul 22, 2022

Hello!

I am trying to modify the code to be able to compare it to other planning approaches. I would be glad if you could provide some guidance. The first task I would like to solve is moving objects in 3D, f.e. if I have some initial pose and some goal pose. Can you please advise how to modify the code to solve this problem with custom objects (created as blocks of a certain size or constructed from meshes) in some custom environment (table with a certain size, the certain pose of the robot)? Maybe you can point me to some files/functions that I would need to update in order to customize the environment. Thank you very much n advance!

@kzorina
Copy link
Author

kzorina commented Jul 25, 2022

I managed to modify one of the environments with custom objects. I will leave notes on what I did here:

  • added new .urdf in load_world() function from run.py and set their poses
  • modified body_names in load_world() function
  • added my objects to predicates in the domain.pddl

I am still not sure about how to switch to another robot, though... Do I understand correctly that I would need to change URDF and also update all the functions imported from examples.pybullet.utils.pybullet_tools.kuka_primitives to work with a new robot?

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