Skip to content

Camera detection excludes Hybrid cameras in Pose2Sim.calibration() #232

Description

@tds-thomas-trinoma

Your OS

Windows

Your Python version

3.13

What is your library version?

0.10.49

Your problem

Hi,

When using a Qualisys system that includes a Miqus Hybrid camera, the calibration step (Pose2Sim.Calibration()) fails. The if condition only checks for "video" and "none", so Hybrid cameras aren't recognized, leading to an empty Calib_qualisys.toml file.

Location
Code line 144 in Pose2Sim.Calibration() : if any(model in tag.attrib.get('model', '').lower() for model in ["video", "none"]):

Fix
Solved with : if any(model in tag.attrib.get('model', '').lower() for model in ["video", "hybrid", "none"]):.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions