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 consistant 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.

Discussion

Discussion can be found on the gitlab issue for this YEP.

Copyright

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


built 2021-03-24 00:24:38                                      CC0: no copyright