class Panasonic::Camera::HESeries

Included Modules

Defined in:

panasonic/camera/he_series.cr

Constant Summary

MOVEMENT_STOPPED = 50
ZOOM_MAX = 4095
ZOOM_MIN = 1365
ZOOM_RANGE = (ZOOM_MAX - ZOOM_MIN).to_f

Class Method Summary

Instance Method Summary

Class Method Detail

def self.driver_interface : String #

Instance Method Detail

def do_poll #

[View source]
def installation(position : Installation) #

[View source]
def installation? #

[View source]
def joystick(pan_speed : Float64, tilt_speed : Float64, index : Int32 | String = 0) #
Description copied from module PlaceOS::Driver::Interface::Camera

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


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

[View source]
def on_load #

[View source]
def on_update #

[View source]
def pantilt(pan : Int32, tilt : Int32) #

[View source]
def pantilt? #

[View source]
def power(state : Bool) #

[View source]
def power? #

[View source]
def recall(position : String, index : Int32 | String = 0) #
Description copied from module PlaceOS::Driver::Interface::Camera

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


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

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

[View source]
def stop(index : Int32 | String = 0, emergency : Bool = false) #

[View source]
def zoom(direction : ZoomDirection, index : Int32 | String = 0) #
Description copied from module PlaceOS::Driver::Interface::Zoomable

As zoom is typically discreet we manually implement the analogue version Simple enough to overwrite this as required


[View source]
def zoom? #

[View source]
def zoom_to(position : Float64, auto_focus : Bool = true, index : Int32 | String = 0) #
Description copied from module PlaceOS::Driver::Interface::Zoomable

This a discrete level on most cameras


[View source]