Skip to content

Trapezoid Param ignored when depth is >= 7.0 #77

@tbjoern

Description

@tbjoern

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

  1. Connect to a probe via solum
  2. Call setParam(Param.ImageDepth, 6.0), then setParam(Param.Trapezoid, 0.0) - the image shape is rectangular (as expected)
  3. Call setParam(Param.ImageDepth, 7.0), then setParam(Param.Trapezoid, 0.0) - the image shape is trapezoid (even though the setting is disabled)
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions