Skip to content
Snippets Groups Projects

landing_gear_design: - bug fix of maximum nose gear position error

Merged Andi requested to merge feature/landing_gear_design_fixes into develop
5 files
+ 19
14
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -87,10 +87,8 @@ def estimate_positions(dict_ac_exchange, dict_mod_config, landing_gear_descripti
not ('main_gear_x_position' in landing_gear_positions):
_, landing_gear_position_value = \
next(reversed(list(dict_ac_exchange['landing_gear_positions_in_x_direction'].items())), (None, None))
_, wing_reference_point_value = \
next(reversed(list(dict_ac_exchange['wing_section_position_in_x'].items())), (None, None))
_, wing_chord_length_value = \
next(reversed(list(dict_ac_exchange['wing_chord_length_on_section'].items())), (None, None))
wing_reference_point_value = next(iter(dict_ac_exchange['wing_section_position_in_x'].values()))
wing_chord_length_value = next(iter(dict_ac_exchange['wing_chord_length_on_section'].values()))
# Check if the main gear position and the wing center reference point
# and the o most aft CoG position in x direction are None.
# -> if true: -> Check which kind of fuselage type is selected and set type specific start values.
Loading