Documentation for driver/AerialVehicle.kt

interface AerialVehicle : Vehicle

The interface of drivers for aerial vehicles

This interface defines the common functionality shared by all aerial vehicles.

since

1.0.0

author

IFS Institute for Software

fun takeOff(altitude: Altitude) : Command<*>

Instruct the vehicle to take-off into the specified altitude

Since

1.0.0

fun land() : Command<*>

Instruct the vehicle to land

Since

1.0.0

fun changeAltitude(altitude: Altitude) : Command<*>

Instruct the vehicle to change its altitude to the given value

Since

1.0.0

fun returnToLaunch() : Command<*>

Instruct the vehicle to return to its launch position

Since

1.0.0

data class Altitude

This class represents altitudes for aerial vehicles.

Since

1.0.0

Author

IFS Institute for Software

fun constructor(meters: Double)

Main constructor