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

How to save and set the simulator state? #33

Closed
yannbouteiller opened this issue Aug 14, 2019 · 1 comment
Closed

How to save and set the simulator state? #33

yannbouteiller opened this issue Aug 14, 2019 · 1 comment

Comments

@yannbouteiller
Copy link

yannbouteiller commented Aug 14, 2019

Hello,

I don't think this is actually possible right now because the closest things I find in the API are getMultirotorState(), getVehiclePose() and setVehiclePose() (I don't think these two last ones allow to save and set kinematics), but it would be useful for some Reinforcement Learning approaches if we could save a previous state and set it back.

Regards,
Yann.

@madratman
Copy link
Contributor

Unfortunately, we didn't have the bandwidth to add this feature, as evident. The discounted rewards should nudge your policy to not end up in states which lead to a crash / collision. Or, approaches like Hindsight Experience Replay could be leveraged

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