Skip to content

VisionCompensationGroup

Bases: CommandGroupBase

This command group contains functions for working with x,y and z compensation.

You are not meant to instantiate this class directly. Access it via the compensation attribute of the vision attribute of the SentioProber class.

enable(comp, enable)

Enable or disable compensation for a given subsystem.

Wraps Sentios "vis:compensation:enable" command.

Parameters:

Name Type Description Default
comp CompensationMode

The compensation to enable or disable.

required
enable bool

True to enable, False to disable.

required

Returns:

Type Description
str

XY-Mode: State of the XY compensation.

str

Z-Mode: State of the Z compensation.

start_execute(type, mode)

Start the execution of a compensation.

Wraps Sentios "vis:compensation:start_execute" remote command.

Parameters:

Name Type Description Default
type CompensationType

The type of compensation to execute.

required
mode CompensationMode

The mode of compensation to execute.

required

Returns:

Type Description
Response

A Response object.

handler: python options: members: VisionCompensationGroup