When I tried to run InvertedPendulum.py, I was encountered with the problem
self._m = self._B.shape[1]
AttributeError: 'list' object has no attribute 'shape'
then I changed this sentence into
self._n = len(self._A)#self._A.shape[0]
self._m = len(self._B[0])#self._B.shape[1]
then here came another problem:
File "D:\codes/py_codes/PyDiffGame-master/src\PyDiffGame\PyDiffGame.py", line 466, in __get_are_P_f
P_f_i = are_solver(self._A, B_i, Q_i, R_ii)
File "D:\Software\anaconda\lib\site-packages\scipy\linalg_solvers.py", line 444, in solve_continuous_are
a, b, q, r, e, s, m, n, r_or_c, gen_are = _are_validate_args(
File "D:\Software\anaconda\lib\site-packages\scipy\linalg_solvers.py", line 797, in _are_validate_args
m, n = b.shape
ValueError: too many values to unpack (expected 2)
Could you please tell me how to solve these problems? Thanks for you.