(self)
return motor_angles
Gets the eight motor angles at the current moment, mapped to [-pi, pi].

    Returns:
      Motor angles, mapped to [-pi, pi].
Gets the eight motor angles at the current moment, mapped to [-pi, pi].
Gets the eight motor angles at the current moment mapped to [ - pi pi ] .
def GetTrueMotorAngles(self):
    """Gets the eight motor angles at the current moment, mapped to [-pi, pi].

    Returns:
      Motor angles, mapped to [-pi, pi].
    """
    motor_angles = [state[0] for state in self._joint_states]
    motor_angles = np.multiply(
        np.asarray(motor_angles) - np.asarray(self._motor_offset),
        self._motor_direction)
    return motor_angles
def GetTrueMotorAngles ( self ) : motor_angles = [ state [ 0 ] for state in self . _joint_states ] motor_angles = np . multiply ( np . asarray ( motor_angles ) - np . asarray ( self . _motor_offset ) , self . _motor_direction ) return motor_angles