Bug fix mode_1 (calculation of inertia by components)
Description
Corrected the calculation of the inertia by components.
Related Issue(s)
- Fixes #184 (closed)
Other Changes
Deleted unused function for landing mass.
Testing Instructions
- Check out this branch, chose mode_1 under inertia method in the config file and then run the weight_and_balance.py
- The module runs without error and inertias are calculated for the total masses. Changes can be seen when the mass is increasing or decreasing.
Developer Checklist
-
Code has been tested locally and/or in pipeline.
Additional Notes
As most of the components' inertias are missing, maybe it is better to take this mode completly out, as the calculated inertia results are not correct.