class Aver::Cam520Pro
- Aver::Cam520Pro
- PlaceOS::Driver
- Reference
- Object
Included Modules
- PlaceOS::Driver::Interface::Camera
- PlaceOS::Driver::Interface::Powerable
Defined in:
aver/cam520_pro.crClass Method Summary
Macro Summary
Instance Method Summary
- #connected
- #disconnected
-
#joystick(pan_speed : Float64, tilt_speed : Float64, index : Int32 | String = 0)
Most cameras support sending a move speed, the interface should expect a percentage
- #keep_alive
-
#move(position : MoveablePosition, index : Int32 | String = 0)
moves at 50% of max speed
- #on_load
- #on_update
- #pan?
- #pan_direct(position : Int32)
- #pan_pos : Int32
-
#power(state : Bool)
dummy interface as no power command, camera is always on
-
#recall(position : String, index : Int32 | String = 0)
Most cameras support presets (either as a feature or via manual positioning)
- #received(data, task) : Nil
- #remove_position(name : String, index : Int32 | String = 0)
- #save_position(name : String, index : Int32 | String = 0)
- #stop(index : Int32 | String = 0, emergency : Bool = false)
- #tilt?
- #tilt_direct(position : Int32)
- #tilt_pos : Int32
-
#zoom(direction : ZoomDirection, index : Int32 | String = 0)
As zoom is typically discreet we manually implement the analogue version Simple enough to overwrite this as required
- #zoom?
- #zoom_native(position : Int32)
- #zoom_pos : Int32
-
#zoom_to(position : Float64, auto_focus : Bool = true, index : Int32 | String = 0)
Zooms to an absolute position
Class Method Detail
Macro Detail
Instance Method Detail
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
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)
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
Zooms to an absolute position