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

Goals do not induce a done state from the environment step function #141

Open
Capsar opened this issue Dec 20, 2022 · 1 comment
Open

Goals do not induce a done state from the environment step function #141

Capsar opened this issue Dec 20, 2022 · 1 comment

Comments

@Capsar
Copy link

Capsar commented Dec 20, 2022

Hi,

How can we use the goals to end the environment?
I have a robot that is able to move into the goal region with epsilon given.
However, the environment does not terminate / the done boolean does not seem to update.

Furthermore, how can we define more complex goals, for instance where a manipulator has to be in a specific state.
Now it only seems to accept x,y,z coordinates.
Is there some documentation on how to define the goal / multiple goals?

Kind regards,
Caspar

@maxspahn
Copy link
Owner

maxspahn commented Jan 4, 2023

Hi,

That is a correct observation. In order to be able to terminate, it is necessary to have access to a forward kinematics function, which is hard to have. The other option is to check the state of the specified link directly in bullet.

You can on the other hand specify joint space goals using StaticJointSpaceSubGoal. Multiple goals can be compose as GoalComposition.

Let me know, if you need further help on that.

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

2 participants