From 2f3225abb14a5ea3deb56d336a3a03d0e0c4d613 Mon Sep 17 00:00:00 2001 From: Rik Bouwmeester Date: Tue, 16 Sep 2025 16:06:15 +0200 Subject: [PATCH] Include Qualisys SDK as optional dependency Add qtm-rt as optional [qualisys] dependency to help users discover the required package for the Qualisys mocap example. The installation effort is the same, but now it's clear which package is needed. Users with Qualisys systems can now install with: pip install cflib[qualisys] --- examples/mocap/qualisys_hl_commander.py | 3 +++ pyproject.toml | 1 + 2 files changed, 4 insertions(+) diff --git a/examples/mocap/qualisys_hl_commander.py b/examples/mocap/qualisys_hl_commander.py index 3470a5c00..d109a16ae 100644 --- a/examples/mocap/qualisys_hl_commander.py +++ b/examples/mocap/qualisys_hl_commander.py @@ -26,6 +26,9 @@ Set the uri to the radio settings of the Crazyflie and modify the rigid_body_name to match the name of the Crazyflie in QTM. + +Requires the qualisys optional dependency: + pip install cflib[qualisys] """ import asyncio import math diff --git a/pyproject.toml b/pyproject.toml index 6199bf298..b797bce96 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,6 +50,7 @@ Issues = "https://github.com/bitcraze/crazyflie-lib-python/issues" [project.optional-dependencies] dev = ["pre-commit"] +qualisys = ["qtm-rt>=3.0.2"] [tool.setuptools] include-package-data = true