(self, physics)
return obs
Returns an observation of pole orientation and angular velocities.
Returns an observation of pole orientation and angular velocities.
Returns an observation of pole orientation and angular velocities .
def get_observation(self, physics):
    """Returns an observation of pole orientation and angular velocities."""
    obs = collections.OrderedDict()
    obs['orientations'] = physics.orientations()
    obs['velocity'] = physics.velocity()
    return obs
def get_observation ( self , physics ) : obs = collections . OrderedDict ( ) obs [ 'orientations' ] = physics . orientations ( ) obs [ 'velocity' ] = physics . velocity ( ) return obs