Documentation for driver/Platform.kt¶
-
interfacePlatform¶
The interface of drivers for a given ‘Platform’
Generally, a platform is some sort of unmanned vehicle, be it drones, submarines, rovers, etc. Each platform provides a number of commands and queries that can be performed by the platform. Additionally, a platform may be coupled to a payload, which allows for payload specific tasks that can be performed. Payloads are accessed through payload drivers, an the attached payloads can be queried through the platform itself.
This interface specifies the minimal subset of commands and queries shared by all supported platforms.
- since
1.0.0
- author
IFS Institute for Software
-
valcurrentPosition: GPSPosition?¶ Access the current position of the vehicle
The returned position shall be null if no position has yet been determined
- Since
1.0.0
-
valpayloads: List<Payload>¶ Get the payload attached to the vehicle
- Since
1.2.0
-
valexecution: Execution¶ Get the mission execution strategy for the specific platform implementation
- Since
1.0.0
-