Home Location
The home location subprotocols allow the GCS to read and update the home location of the UAV.
Home Location Read
The home location read subprotocol allows the GCS to read the home location in the UAV, either initiated by the Operator or when a connection is established.
Messages
HOME_LOCATION_READ_REQUESTHOME_LOCATION_READ_REQUEST_ACK
Sequence
sequenceDiagram
participant GCS
participant UAV
loop n
GCS->>UAV: HOME_LOCATION_READ_REQUEST
GCS->>GCS: Start timeout
alt success
UAV-->>GCS: HOME_LOCATION_READ_REQUEST_ACK
else failure
GCS->>GCS: Timeout expires
end
end
- If the GCS wants to read the stored home location from the UAV, it sends a
HOME_LOCATION_READ_REQUESTmessage to the UAV. - The GCS starts a timeout of a fixed duration.
- If the UAV responds with a
HOME_LOCATION_READ_REQUEST_ACKmessage (includes the home location position), then the operation is considered successful. - If the timeout expires before the UAV can send a response, the GCS retries the operation upto
ntimes before the operation is considered a failure, the error is reported and the UAV continues operations.
Notes
- If the UAV does not receive the
HOME_LOCATION_READ_REQUESTmessage/ does not respond, the operation is considered a failure by the GCS and reported. Operations can be stopped by the Pilot before a catastrophic failure occurs.
Home Location Write
The home location write microservice allows the GCS to update the home location in the UAV.
Messages
HOME_LOCATION_WRITE_REQUESTHOME_LOCATION_WRITE_REQUEST_ACK
Sequence
sequenceDiagram
participant GCS
participant UAV
loop n
GCS->>UAV: HOME_LOCATION_WRITE_REQUEST
GCS->>GCS: Start timeout
alt success
UAV-->>GCS: HOME_LOCATION_WRITE_REQUEST_ACK
else failure
GCS->>GCS: Timeout expired
end
end
- If the GCS wants to update the stored home location in the UAV, it sends a
HOME_LOCATION_WRITE_REQUESTmessage to the UAV. - The GCS starts a timeout of a fixed duration.
- If the UAV responds with a
HOME_LOCATION_WRITE_REQUESTmessage (includes the home location position), then the operation is considered successful. - If the timeout expires before the UAV can send a response, the GCS retries the operation upto
ntimes before the operation is considered a failure, the error is reported and the UAV continues operations.
Notes
- If the UAV does not receive the
HOME_LOCATION_WRITE_REQUESTmessage/does not respond, the operation is considered a failure by the GCS and reported. Operations can be stopped by the Pilot before a catastrophic failure occurs.