【发布时间】:2016-07-06 15:49:35
【问题描述】:
我在 python 中遇到了这个错误,我不明白在下面显示的指定行 756 中找到索引的位置:
Traceback (most recent call last):
File "EMMMOIScenario.py", line 22, in <module>
TheEMMSim.DVThrusterDynObject.ThrusterData[i].MaxThrust=0 #sets the ith thruster (in the square bracket) to zero
File "/Users/emanalawadhi/Desktop/MBRSCWork/TASKSWork/SSDD/EMX/ADCS/Simulator/EMMArchive/EMMData/EMMModules/../../Basilisk/modules/thruster_dynamics.py", line 756, in __getitem__
return _thruster_dynamics.ThrusterConfigVector___getitem__(self, *args)
IndexError: index out of range
【问题讨论】:
-
您需要显示代码的相关部分