Skip to content

backend/hardware-controller: ISO isn't saved correctly in the metadata #524

@ethanjli

Description

@ethanjli

Describe the bug
The Python hardware controller saves the camera's image gain (multiplied by 100) as the acq_camera_iso metadata value (resulting in a number like 346 as the ISO which is propagated into EcoTaxa object metadata), instead of saving the ISO setting the user had set in the GUI.

Expected behavior
The acq_camera_iso metadata field's value should correspond exactly to the ISO setting the user had set in the GUI, rounded to the nearest integer.

Additional context
This bug was probably introduced by PlanktoScope/device-backend#48 and integrated into the OS by #467 for prerelease in v2024.0.0-beta.2. I noticed this bug while @fabienlombard was screensharing an EcoTaxa project and looking at the metadata of an object.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions