Describe the bug
Disabling the Trapezoid param does not work when the probe depth is >= 7.0
The specification of the Trapezoid param does not mention which depths are supported, but I'd expect it to take effect for all possible depths.
I first noticed this bug on Solum 12.0.0. The previous versions did always produce rectangular images, regardless of depth.
To Reproduce
- Connect to a probe via solum
- Call
setParam(Param.ImageDepth, 6.0), then setParam(Param.Trapezoid, 0.0) - the image shape is rectangular (as expected)
- Call
setParam(Param.ImageDepth, 7.0), then setParam(Param.Trapezoid, 0.0) - the image shape is trapezoid (even though the setting is disabled)
- Call
getParam(Param.Trapezoid) { Log.d("Solum", "$it") }, The log prints 0.0, the setting is disabled, but the image shape is still trapezoid.
Environment:
- SDK variant: Android SDK
- Development platform: Linux, Android Studio 2024.2.2
- SDK version:
solum-12.0.0-android.arm64-v8a.aar, firmware version 12.0.0-639+db3f907814_12.0.0-639+db3f907814
- Clarius App version: N/A
Describe the bug
Disabling the
Trapezoidparam does not work when the probe depth is >= 7.0The specification of the
Trapezoidparam does not mention which depths are supported, but I'd expect it to take effect for all possible depths.I first noticed this bug on Solum
12.0.0. The previous versions did always produce rectangular images, regardless of depth.To Reproduce
setParam(Param.ImageDepth, 6.0), thensetParam(Param.Trapezoid, 0.0)- the image shape is rectangular (as expected)setParam(Param.ImageDepth, 7.0), thensetParam(Param.Trapezoid, 0.0)- the image shape is trapezoid (even though the setting is disabled)getParam(Param.Trapezoid) { Log.d("Solum", "$it") }, The log prints0.0, the setting is disabled, but the image shape is still trapezoid.Environment:
solum-12.0.0-android.arm64-v8a.aar, firmware version12.0.0-639+db3f907814_12.0.0-639+db3f907814