yaq-yeps/304


has-turret

YEP:304
Title:has-turret
Authors:Blaise Thompson
Status:accepted
Tags:trait
Post-History:2020-04-22, 2020-07-14, 2021-03-17

Abstract

This YEP defines the has-turret trait.

This trait has been accepted. See built documentation at at yaq.fyi.

Table of Contents

Motivation

Certain positional hardware has an additional turret. This trait ensures consistent interfaces for such hardware across the yaq ecosystem.

Proposal

Turret position is represented using a string identifier. Daemons should return busy while turret position is changing.

state: turret

type: string or null

message: get_turret

response: string or null

Get current turret identifier.

message: get_turret_options

response: list of string

Get current turret identifier options.

message: set_turret

parameter: turret: string

Set the turret to a given identifier.

Copyright

This document is placed in the public domain or under the CC0-1.0-Universal license, whichever is more permissive.


built 2023-10-10 23:52:42                                      CC0: no copyright