module Cisco::CollaborationEndpoint::Cameras
Included Modules
- Cisco::CollaborationEndpoint::XAPI
- PlaceOS::Driver::Interface::Camera
Direct including types
Defined in:
cisco/collaboration_endpoint/cameras.crInstance Method Summary
- #camera_move(camera_id : Int32, pan : Interface::Camera::PanDirection | Nil = nil, pan_speed : Int32 | Nil = nil, tilt : Interface::Camera::TiltDirection | Nil = nil, tilt_speed : Int32 | Nil = nil, zoom : Interface::Zoomable::ZoomDirection | Nil = nil, zoom_speed : Int32 | Nil = nil, focus : FocusDirection | Nil = nil)
- #camera_position_reset(camera_id : Int32, axis : CameraAxis | Nil = nil)
- #camera_preset(preset_id : Int32)
- #camera_remove_preset(preset_id : Int32)
- #camera_store_preset(camera_id : Int32, preset_id : Int32, name : String | Nil = nil, take_snapshot : Bool | Nil = nil, default_position : Bool | Nil = nil)
-
#joystick(pan_speed : Float64, tilt_speed : Float64, index : Int32 | String = 0)
Most cameras support sending a move speed, the interface should expect a percentage
- #move(position : MoveablePosition, index : Int32 | String = 0)
-
#recall(position : String, index : Int32 | String = 0)
Most cameras support presets (either as a feature or via manual positioning)
- #remove_position(name : String, index : Int32 | String = 0)
- #save_position(name : String, index : Int32 | String = 0)
- #stop(index : Int32 | String = 0, emergency : Bool = false)
-
#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_to(position : Float64, auto_focus : Bool = true, index : Int32 | String = 0)
This a discrete level on most cameras
Class methods inherited from module Cisco::CollaborationEndpoint::XAPI
create_action(__action__ : ActionType, *args, hash_args : Hash(String, JSON::Any::Type) = {} of String => JSON::Any::Type, priority : Int32 | Nil = nil, **kwargs)
create_action,
parse(data : String)
parse,
tokenize(path : String)
tokenize,
value_convert(value : String, valuespace : String | Nil = nil)
value_convert,
xcommand(path : String, hash_args : Hash(String, JSON::Any::Type) = {} of String => JSON::Any::Type, **kwargs)
xcommand,
xconfiguration(path : String, setting : String, value : JSON::Any::Type)
xconfiguration,
xfeedback(action : FeedbackAction, path : String | Nil = nil)
xfeedback,
xstatus(path : String)
xstatus
Macros inherited from module Cisco::CollaborationEndpoint::XAPI
command(cmd_name, **params)
command
Instance Method Detail
def camera_move(camera_id : Int32, pan : Interface::Camera::PanDirection | Nil = nil, pan_speed : Int32 | Nil = nil, tilt : Interface::Camera::TiltDirection | Nil = nil, tilt_speed : Int32 | Nil = nil, zoom : Interface::Zoomable::ZoomDirection | Nil = nil, zoom_speed : Int32 | Nil = nil, focus : FocusDirection | Nil = nil)
#
def camera_store_preset(camera_id : Int32, preset_id : Int32, name : String | Nil = nil, take_snapshot : Bool | Nil = nil, default_position : Bool | Nil = nil)
#
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
Description copied from module PlaceOS::Driver::Interface::Zoomable
This a discrete level on most cameras