(self, physics)
return obs
Returns an observation to the agent.
Returns an observation to the agent.
Returns an observation to the agent .
def get_observation(self, physics):
    """Returns an observation to the agent."""
    obs = _common_observations(physics)
    obs['origin'] = physics.origin()
    obs['rangefinder'] = physics.rangefinder()
    return obs
def get_observation ( self , physics ) : obs = _common_observations ( physics ) obs [ 'origin' ] = physics . origin ( ) obs [ 'rangefinder' ] = physics . rangefinder ( ) return obs