Skip to content

Commit

Permalink
Debug some more
Browse files Browse the repository at this point in the history
  • Loading branch information
dzalkind committed Oct 26, 2023
1 parent c45d95a commit 591d927
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ROSCO_toolbox/linear/lin_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,15 @@ def feedback(sys1, sys2, sign=-1):
C2 = sys2.C
D2 = sys2.D

print('Starting to Debug here')
print('Starting to Debug here')
print('Starting to Debug here')
print(f'F = {F}')
print(f'np.eye(sys1.inputs) = {np.eye(sys1.inputs)}')
print(f'D2 = {D2}')
print(f'D1 = {D1}')
print(f'np.dot(D2, D1) = {np.dot(D2, D1)}')

F = np.eye(sys1.inputs) - sign * np.dot(D2, D1)
print(F)
if np.linalg.matrix_rank(F) != sys1.inputs:
Expand Down

0 comments on commit 591d927

Please sign in to comment.