Returns an observation to the agent.
(self, physics)
| 399 | _find_non_contacting_height(physics, orientation) |
| 400 | |
| 401 | def get_observation(self, physics): |
| 402 | """Returns an observation to the agent.""" |
| 403 | obs = _common_observations(physics) |
| 404 | obs['origin'] = physics.origin() |
| 405 | obs['rangefinder'] = physics.rangefinder() |
| 406 | return obs |
| 407 | |
| 408 | def get_reward(self, physics): |
| 409 | """Returns a reward to the agent.""" |
nothing calls this directly
no test coverage detected