We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed1b0c9 commit ff15a7dCopy full SHA for ff15a7d
rocketpy/motors/LiquidMotor.py
@@ -190,7 +190,7 @@ def centerOfMass(self, t):
190
+ self.cylinder.filled_centroid * cylinderMass
191
+ self.upperCap.filled_centroid * upperCapMass
192
) / (bottomCapMass + cylinderMass + upperCapMass)
193
-
+
194
return centerOfMass
195
196
def inertiaTensor(self, t):
@@ -219,7 +219,7 @@ def inertiaTensor(self, t):
219
220
# fluids considered inviscid so no shear resistance from torques in z axis
221
self.inertiaZ = 0
222
223
return self.inertiaI, self.inertiaZ
224
225
0 commit comments