RCAIDE.Library.Mission.Segments.Climb.Constant_Throttle_Constant_Speed.unpack_body_angle#

unpack_body_angle(segment)[source]#

Unpacks and sets the proper value for body angle

Parameters:

segment (Segment) – The mission segment being analyzed

Notes

This function handles the initialization of the body angle for a climb segment with constant throttle and constant speed.

Required Segment Components

segment:
state:
unknowns:
body_anglearray

Aircraft body angle [rad]

conditions:
frames:
body:
transform_to_inertialarray

Rotation matrix from body to inertial frame

Returns:

Updates segment conditions directly: - conditions.frames.body.transform_to_inertial

Return type:

None