OutputControl

data class OutputControl(val onStateConfiguration: CalibrationParameters.OutputControl.OutputState, val onPwmDutyCycle: Double, val offStateConfiguration: CalibrationParameters.OutputControl.OutputState, val offPwmDutyCycle: Double, val pwmPeriod: Int) : CalibrationParameters

Represents calibration parameters for SensorModel.OUTPUT_CONTROL that controls outputs.

Constructors

Link copied to clipboard
constructor(onStateConfiguration: CalibrationParameters.OutputControl.OutputState, onPwmDutyCycle: Double, offStateConfiguration: CalibrationParameters.OutputControl.OutputState, offPwmDutyCycle: Double, pwmPeriod: Int)

Properties

Link copied to clipboard

The PWM duty cycle when the output is turned off in %. Range 0.0 : 100.0

Link copied to clipboard

The output state configuration when the output is turned off.

Link copied to clipboard

The PWM duty cycle when the output is turned on in %. Range 0.0 : 100.0

Link copied to clipboard

The output state configuration when the output is turned on.

Link copied to clipboard

The PWM period in ms. Range 1 : 480000 This parameter applies to all instances of output control. Changing this parameter scales all PWM across all channels.