You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone, I have a question about the intagrated example 'Formation Reconfiguration'. If I try to simulate the same example but with three spacecraft that are 16U, I got this error
ERROR: received NAN rVec or vVec values.
Traceback (most recent call last):
File "/home/stage_code/Formation_Reconf_simu.py", line 371, in
run(
File "/home/stage_code/Formation_Reconf_simu.py", line 329, in run
oed[i, 0] = (oe3_tmp.a - oe_tmp.a)/oe_tmp.a
AttributeError: 'NoneType' object has no attribute 'a'
the change that I ve made starting from the example are about inerzia matrix and mass of the spacecrafts as following
h=0.60 #m
l=0.30 #m
p=0.30 #m
a11=l^2 + p^2
a22=h^2+p^2
a33=h^2+l^2
scObject.hub.mHub = 40.0 # kg - spacecraft mass
I=[(40/12)*a11,0,0,
0,(40/12)*a22,0,
0,0,(40/12)*a33]
Does anyone have an idea what this error might be due to?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone, I have a question about the intagrated example 'Formation Reconfiguration'. If I try to simulate the same example but with three spacecraft that are 16U, I got this error
ERROR: received NAN rVec or vVec values.
Traceback (most recent call last):
File "/home/stage_code/Formation_Reconf_simu.py", line 371, in
run(
File "/home/stage_code/Formation_Reconf_simu.py", line 329, in run
oed[i, 0] = (oe3_tmp.a - oe_tmp.a)/oe_tmp.a
AttributeError: 'NoneType' object has no attribute 'a'
the change that I ve made starting from the example are about inerzia matrix and mass of the spacecrafts as following
h=0.60 #m
l=0.30 #m
p=0.30 #m
a11=l^2 + p^2
a22=h^2+p^2
a33=h^2+l^2
scObject.hub.mHub = 40.0 # kg - spacecraft mass
I=[(40/12)*a11,0,0,
0,(40/12)*a22,0,
0,0,(40/12)*a33]
Does anyone have an idea what this error might be due to?
Beta Was this translation helpful? Give feedback.
All reactions