@@ -19,6 +19,10 @@ def __init__(self, name, vessel, frame_body, orientation, delta_v, t_perform):
1919 self .frame_body = frame_body
2020 self .orientation = orientation
2121 self .orientation_input = orientation
22+
23+ if type (self .orientation_input ) != str and type (self .orientation_input ) != list :
24+ self .orientation_input = orientation .tolist ()
25+
2226 self .delta_v = delta_v
2327 self .t_perform = t_perform
2428 self .done = False
@@ -91,6 +95,10 @@ def __init__(self, name, vessel, frame_body, orientation, accel, t_start, durati
9195 self .frame_body = frame_body
9296 self .orientation = orientation
9397 self .orientation_input = orientation
98+
99+ if type (self .orientation_input ) != str and type (self .orientation_input ) != list :
100+ self .orientation_input = orientation .tolist ()
101+
94102 self .accel = accel
95103 self .duration = duration
96104 self .t_start = t_start
@@ -195,6 +203,10 @@ def __init__(self, name, vessel, frame_body, orientation, thrust, mass_init, mas
195203 self .frame_body = frame_body
196204 self .orientation = orientation
197205 self .orientation_input = orientation
206+
207+ if type (self .orientation_input ) != str and type (self .orientation_input ) != list :
208+ self .orientation_input = orientation .tolist ()
209+
198210 self .thrust = thrust
199211 self .mass_init = mass_init
200212 self .mass_flow = mass_flow
0 commit comments