(self, physics)
return obs
Returns an observation of the (bounded) physics state.
Returns an observation of the (bounded) physics state.
Returns an observation of the ( bounded ) physics state .
def get_observation(self, physics):
    """Returns an observation of the (bounded) physics state."""
    obs = collections.OrderedDict()
    obs['position'] = physics.bounded_position()
    obs['velocity'] = physics.velocity()
    return obs
def get_observation ( self , physics ) : obs = collections . OrderedDict ( ) obs [ 'position' ] = physics . bounded_position ( ) obs [ 'velocity' ] = physics . velocity ( ) return obs