module PlaceOS::Driver::Interface::Moveable

Overview

Expects status of the movable object to be defined as position{index} = Open / Close / Up / Down etc i.e. self[:position0] = MoveablePosition::Open (optional) self[moving0] = true / false

Direct including types

Defined in:

placeos-driver/interface/moveable.cr

Instance Method Summary

Instance Method Detail

abstract def move(position : MoveablePosition, index : Int32 | String = 0) #

[View source]