Skip to content
Discussion options

You must be logged in to vote

You can provide the moon characteristics to JSBSim using the <planet> XML element (values based on NASA's Moon Fact Sheet):

<planet>
  <semimajor_axis unit="KM">1738.1</semimajor_axis>
  <semiminor_axis unit="KM">1736.0</semiminor_axis>
  <rotation_rate unit="RAD/SEC">2.66167E-6</rotation_rate>
  <GM unit="M3/SEC2">4.9E12</GM>
  <J2>2.027E-4</J2>
</planet>

Regarding the Moon atmosphere (or rather the lack of), your best option is to not provide any aerodynamics data. For that, just specify an empty <aerodynamics> section:

<aerodynamics/>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aarondewindt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants