AircraftAutopilot#

class MechJeb.AircraftAutopilot#

The Aircraft Autopilot window, which holds a heading, altitude, vertical speed, roll and speed.

enabled: boolean#

Whether the module is enabled.

Attribute:

Can be read or written

altitude_hold_enabled: boolean#

Whether the autopilot holds the altitude.

Attribute:

Can be read or written

altitude_target: number#

The target altitude, in meters.

Attribute:

Can be read or written

bank_angle: number#

The bank angle of a turn, in degrees.

Attribute:

Can be read or written

heading_hold_enabled: boolean#

Whether the autopilot holds the heading.

Attribute:

Can be read or written

heading_target: number#

The target heading, in degrees.

Attribute:

Can be read or written

roll_hold_enabled: boolean#

Whether the autopilot holds the roll.

Attribute:

Can be read or written

roll_target: number#

The target roll, in degrees.

Attribute:

Can be read or written

speed_hold_enabled: boolean#

Whether the autopilot holds the speed.

Attribute:

Can be read or written

speed_target: number#

The target speed, in \(\mathrm{m/s}\).

Attribute:

Can be read or written

vert_speed_hold_enabled: boolean#

Whether the autopilot holds the vertical speed.

Attribute:

Can be read or written

vert_speed_target: number#

The target vertical speed, in \(\mathrm{m/s}\).

Attribute:

Can be read or written

acc_kd: number#

The derivative gain of the speed controller.

Attribute:

Can be read or written

acc_ki: number#

The integral gain of the speed controller.

Attribute:

Can be read or written

acc_kp: number#

The proportional gain of the speed controller.

Attribute:

Can be read or written

pit_kd: number#

The derivative gain of the pitch controller.

Attribute:

Can be read or written

pit_ki: number#

The integral gain of the pitch controller.

Attribute:

Can be read or written

pit_kp: number#

The proportional gain of the pitch controller.

Attribute:

Can be read or written

rol_kd: number#

The derivative gain of the roll controller.

Attribute:

Can be read or written

rol_ki: number#

The integral gain of the roll controller.

Attribute:

Can be read or written

rol_kp: number#

The proportional gain of the roll controller.

Attribute:

Can be read or written

yaw_kd: number#

The derivative gain of the yaw controller.

Attribute:

Can be read or written

yaw_ki: number#

The integral gain of the yaw controller.

Attribute:

Can be read or written

yaw_kp: number#

The proportional gain of the yaw controller.

Attribute:

Can be read or written

pitch_down_limit: number#

The largest pitch down, in degrees.

Attribute:

Can be read or written

pitch_up_limit: number#

The largest pitch up, in degrees.

Attribute:

Can be read or written

roll_limit: number#

The largest roll, in degrees.

Attribute:

Can be read or written

yaw_limit: number#

The largest yaw, in degrees.

Attribute:

Can be read or written