Objects

class objects.aircraft.Aircraft(name: str, position, speed, acceleration, radius: float = 1)[source]

The Aircraft object

Provide methods for simulation aircraft object Contains only logic methods without visualisation

get_trajectory() list[source]

Return all trajectory of aircraft

Returns:

list[glm.vec3]

make_maneuver(maneuver: M)[source]

Append maneuver to aircraft

Parameters:

maneuver – Maneuver to perform

update(dt: float = 1.0) None[source]

Update the status of aircraft

Parameters:

dt – time delta

class objects.maneuvers.CenterFold(duration: int, obj: Aircraft)[source]

Class for centerfold maneouver

do()[source]

The method of performing the maneuver

finish()[source]

Performs the completion of the maneuver

prepare()[source]

The method of performing the maneuver

class objects.maneuvers.ChangeHeight(duration: int, obj: Aircraft, new_height: int)[source]

Class for change height maneouver

finish()[source]

Performs the completion of the maneuver

prepare()[source]

The method of performing the maneuver

class objects.maneuvers.ChangeSpeed(duration: int, obj: Aircraft, new_speed)[source]

Class for change speed maneouver

finish()[source]

Performs the completion of the maneuver

prepare()[source]

The method of performing the maneuver

class objects.maneuvers.Maneuver(duration: int, obj: Aircraft)[source]

Maneuver base class

Provide logic of maneuver simulation

do()[source]

The method of performing the maneuver

finish()[source]

Performs the completion of the maneuver

prepare()[source]

The method of performing the maneuver

class objects.tracked.Tracked(tracking_start_time: int)[source]

Class Tracked

Realisation of tracked object

add_position(position)[source]

Add point to object trajectory

property tracked_time
update_time(new_time)[source]

Update time of tracked object