File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,10 @@ def from_rocket_model(cls, rocket: RocketView) -> Self:
45
45
center_of_mass_without_motor = rocket .center_of_mass_without_motor ,
46
46
coordinate_system_orientation = rocket .coordinate_system_orientation .value .lower (),
47
47
)
48
+ rocketpy_rocket .add_motor (
49
+ MotorService .from_motor_model (rocket .motor ).motor ,
50
+ rocket .motor_position ,
51
+ )
48
52
49
53
# RailButtons
50
54
if rocket .rail_buttons :
@@ -53,10 +57,6 @@ def from_rocket_model(cls, rocket: RocketView) -> Self:
53
57
lower_button_position = rocket .rail_buttons .lower_button_position ,
54
58
angular_position = rocket .rail_buttons .angular_position ,
55
59
)
56
- rocketpy_rocket .add_motor (
57
- MotorService .from_motor_model (rocket .motor ).motor ,
58
- rocket .motor_position ,
59
- )
60
60
61
61
# NoseCone
62
62
if rocket .nose :
You can’t perform that action at this time.
0 commit comments