FGGroundReactions

class jsbsim.FGGroundReactions

Manages ground reactions modeling.

Maintains a list of landing gear and ground contact points, all instances of FGLGear. Sums their forces and moments so that these may be provided to FGPropagate. Parses the <ground_reactions> section of the aircraft configuration file.

Configuration File Format of <ground_reactions> Section:

<ground_reactions>
    <contact>
       ... {see FGLGear for specifics of this format}
    </contact>
    ... {more contacts}
</ground_reactions>
get_gear_unit(gear: int) FGLGear

Gets a gear instance.

Parameters:

gear – index of gear instance

Returns:

a pointer to the FGLGear instance of the gear unit requested

get_num_gear_units() int

Gets the number of gears.

Returns:

the number of gears of the aircraft.