-
Notifications
You must be signed in to change notification settings - Fork 419
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
[esp/agent] rename lookLeft/Right to turnLeft/Right #269
Conversation
lookLeft is not correct. We are actually turn the agent body. Since only SimulatorWithAgents is using this it should only affect WebGL. Fixed a bunch of places where Agent.h was included but not used in order to confirm that only WebGL was affected.
Looks like more things need to be changed: https://github.com/facebookresearch/habitat-sim/search?q=lookLeft&unscoped_q=lookLeft. |
Those are fine. The difference between a lookLeft and turnLeft isn't the implementation, its whether or not it operates on the agent's body or on the sensors. |
All the ones that are relevant should now be addressed. |
I agree. That's why I'm making this change. In the cases I've addressed with this change, we were moving the agents body and calling it lookLeft. |
To handle look, we should make the sensor a separate node (that is a child of the agent node) in the scene graph if that is not the case already. |
Yep, that is exactly how it is done :) |
Yeah, we made this change on the python side, but never put it into cpp |
…#269) lookLeft is not correct. We are actually turn the agent body. Since only SimulatorWithAgents is using this it should only affect WebGL. Fixed a bunch of places where Agent.h was included but not used in order to confirm that only WebGL was affected.
lookLeft is not correct. We are actually turning the agent body.
Since only SimulatorWithAgents is using this it should only
affect WebGL. Fixed a bunch of places where Agent.h was included
but not used in order to confirm that only WebGL was affected.
Motivation and Context
I want to clean up and rationalize actions in Agent.h before adding lookUp and lookDown.
How Has This Been Tested
Verified that turning still works in WebGL demo.
Types of changes
Checklist