-
Notifications
You must be signed in to change notification settings - Fork 20
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
Teleport on agent done #121
Conversation
Do these pass the pytests? If so, and this is reviewed, I'd like to merge this sometime today for training agents |
position = consts::kPaddingPosition; | ||
velocity.linear.x = 0; | ||
velocity.linear.y = 0; | ||
velocity.linear.z = 0; | ||
velocity.angular = Vector3::zero(); |
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.
I don't understand why you zero-out velocities here.
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.
Doesn't seem to be necessary but also doesn't hurt?
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.
Yes. It's just to be explicit. In the future, when we remove the agentZeroVelSystem
, it would be useful to make sure velocities are zero.
As Title.
rebased on #126 to fix the position where they get teleported to.