CameraSetPosBlockCommand
Extends: ESCCameraBaseCommand < ESCBaseCommand < Resource
Description
camera_set_pos_block time x y
Moves the camera to the given absolute position over a time period. Blocks until the command completes.
Make sure the coordinates are reachable if camera limits have been configured.
Parameters
time: Number of seconds the transition should take
x: Target X coordinate
“y*: Target Y coordinate
For more details see: https://docs.escoria-framework.org/camera
@ESC
Method Descriptions
configure
func configure() -> ESCCommandArgumentDescriptor
Return the descriptor of the arguments of this command
validate
func validate(arguments: Array)
Validate whether the given arguments match the command descriptor
run
func run(command_params: Array) -> var
Run the command
interrupt
func interrupt()
Function called when the command is interrupted.