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 b988283 commit 542aba2Copy full SHA for 542aba2
rocketpy/motors/LiquidMotor.py
@@ -45,7 +45,7 @@ def evaluateCenterOfMass(self):
45
tank = tankElement.get("tank")
46
tankPosition = tankElement.get("position")
47
totalMass += tank.mass
48
- massBalance += tank.mass * (tankPosition - tank.centerOfMass)
+ massBalance += tank.mass * (tankPosition + tank.centerOfMass)
49
50
return massBalance / totalMass
51
0 commit comments