AircraftAutopilot#
-
class AircraftAutopilot#
The Aircraft Autopilot window, which holds a heading, altitude, vertical speed, roll and speed.
-
bool enabled()#
-
void set_enabled(bool value)#
Whether the module is enabled.
- Game Scenes:
Flight
-
bool altitude_hold_enabled()#
-
void set_altitude_hold_enabled(bool value)#
Whether the autopilot holds the altitude.
- Game Scenes:
Flight
-
double altitude_target()#
-
void set_altitude_target(double value)#
The target altitude, in meters.
- Game Scenes:
Flight
-
double bank_angle()#
-
void set_bank_angle(double value)#
The bank angle of a turn, in degrees.
- Game Scenes:
Flight
-
bool heading_hold_enabled()#
-
void set_heading_hold_enabled(bool value)#
Whether the autopilot holds the heading.
- Game Scenes:
Flight
-
double heading_target()#
-
void set_heading_target(double value)#
The target heading, in degrees.
- Game Scenes:
Flight
-
bool roll_hold_enabled()#
-
void set_roll_hold_enabled(bool value)#
Whether the autopilot holds the roll.
- Game Scenes:
Flight
-
double roll_target()#
-
void set_roll_target(double value)#
The target roll, in degrees.
- Game Scenes:
Flight
-
bool speed_hold_enabled()#
-
void set_speed_hold_enabled(bool value)#
Whether the autopilot holds the speed.
- Game Scenes:
Flight
-
double speed_target()#
-
void set_speed_target(double value)#
The target speed, in \(\mathrm{m/s}\).
- Game Scenes:
Flight
-
bool vert_speed_hold_enabled()#
-
void set_vert_speed_hold_enabled(bool value)#
Whether the autopilot holds the vertical speed.
- Game Scenes:
Flight
-
double vert_speed_target()#
-
void set_vert_speed_target(double value)#
The target vertical speed, in \(\mathrm{m/s}\).
- Game Scenes:
Flight
-
double acc_kd()#
-
void set_acc_kd(double value)#
The derivative gain of the speed controller.
- Game Scenes:
Flight
-
double acc_ki()#
-
void set_acc_ki(double value)#
The integral gain of the speed controller.
- Game Scenes:
Flight
-
double acc_kp()#
-
void set_acc_kp(double value)#
The proportional gain of the speed controller.
- Game Scenes:
Flight
-
double pit_kd()#
-
void set_pit_kd(double value)#
The derivative gain of the pitch controller.
- Game Scenes:
Flight
-
double pit_ki()#
-
void set_pit_ki(double value)#
The integral gain of the pitch controller.
- Game Scenes:
Flight
-
double pit_kp()#
-
void set_pit_kp(double value)#
The proportional gain of the pitch controller.
- Game Scenes:
Flight
-
double rol_kd()#
-
void set_rol_kd(double value)#
The derivative gain of the roll controller.
- Game Scenes:
Flight
-
double rol_ki()#
-
void set_rol_ki(double value)#
The integral gain of the roll controller.
- Game Scenes:
Flight
-
double rol_kp()#
-
void set_rol_kp(double value)#
The proportional gain of the roll controller.
- Game Scenes:
Flight
-
double yaw_kd()#
-
void set_yaw_kd(double value)#
The derivative gain of the yaw controller.
- Game Scenes:
Flight
-
double yaw_ki()#
-
void set_yaw_ki(double value)#
The integral gain of the yaw controller.
- Game Scenes:
Flight
-
double yaw_kp()#
-
void set_yaw_kp(double value)#
The proportional gain of the yaw controller.
- Game Scenes:
Flight
-
double pitch_down_limit()#
-
void set_pitch_down_limit(double value)#
The largest pitch down, in degrees.
- Game Scenes:
Flight
-
double pitch_up_limit()#
-
void set_pitch_up_limit(double value)#
The largest pitch up, in degrees.
- Game Scenes:
Flight
-
double roll_limit()#
-
void set_roll_limit(double value)#
The largest roll, in degrees.
- Game Scenes:
Flight
-
double yaw_limit()#
-
void set_yaw_limit(double value)#
The largest yaw, in degrees.
- Game Scenes:
Flight
-
bool enabled()#