module PlaceOS::Driver::Interface::Camera

Overview

All cameras should expose limits:

Optional:

Included Modules

Defined in:

placeos-driver/interface/camera.cr

Instance Method Summary

Instance methods inherited from module PlaceOS::Driver::Interface::Zoomable

zoom(direction : ZoomDirection, index : Int32 | String = 0) zoom, zoom_to(position : Float64, auto_focus : Bool = true, index : Int32 | String = 0) zoom_to

Instance methods inherited from module PlaceOS::Driver::Interface::Moveable

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

Instance methods inherited from module PlaceOS::Driver::Interface::Stoppable

stop(index : Int32 | String = 0, emergency : Bool = false) stop

Instance Method Detail

abstract def joystick(pan_speed : Float64, tilt_speed : Float64, index : Int32 | String = 0) #

Most cameras support sending a move speed, the interface should expect a percentage


[View source]
def pan(direction : PanDirection, index : Int32 | String = 0) #

[View source]
abstract def recall(position : String, index : Int32 | String = 0) #

Most cameras support presets (either as a feature or via manual positioning)


[View source]
abstract def remove_position(name : String, index : Int32 | String = 0) #

[View source]
abstract def save_position(name : String, index : Int32 | String = 0) #

[View source]
def tilt(direction : TiltDirection, index : Int32 | String = 0) #

[View source]