C++ SDK version history
Review the features, fixes and improvements, compatibility changes, and internal refactors of each official Qnbot C++ SDK release.
v2.0.0
Glove 2.0.0 pairs with Core 2.0.0 and adds Helix magnetic-inertial glove support, moving the SDK from 1.x to 2.x. It also unifies bone-configuration creation and export APIs, adds standalone capture quality checking across supported platforms, aligns the eight-gesture mcp90_pip90 prompt, adds EMF millisecond accessors, and improves wireless Receiver recovery and direct serial pose handoff.
Features
- Added Helix magnetic-inertial glove support, moving the SDK from 1.x to 2.x. Helix uses the existing Glove entry points:
pose()reads hand and independent wrist (payload.hand/payload.wrist),imu()reads per-sensor IMU and magnetometer (payload.imus/payload.magnetometer), anddevice.emf()reads raw EMF I/Q paired with hand pose. - Unified bone configuration entry around
create_bone_config()usingCaptureInteractionModefor default terminal interaction or app-owned sessions, and addedexport_bone_config()for saved single-hand YAML backups. Measurement install replaces the saved operator and hand profile by default, while export denies overwriting existing files by default. - Added standalone capture quality checking across all desktop targets via
device.create_capture_quality_session()andcreate_capture_quality_session()withstandard/hmp_mx/helixmodel selection andskip_stage()manual retention, along with updated built-in Skeleton gesture evaluation. - Aligned the
mcp90_pip90eight-gesture capture prompt to bend the four fingers at MCP and PIP toward the palm while keeping DIPs near straight and the thumb relaxed, with unified bilingual guidance across all eight gestures. - Added fractional device-clock millisecond accessors
ref(),error(), andb_error()onGloveHelixEmfTime; retained existing_usfields and_ms()aliases as deprecated.
Fixes & improvements
- Confirmed per-source wireless Receiver stream cleanup after serial I/O loss and added peer recovery retries after explicit
BUSYresponses to restore Pose and IMU streams. - Direct serial pose frames now use typed handoff to reduce host-side forwarding overhead.
Compatibility
- Removed
prepare_bone_config_terminal(),create_bone_config_session(), andimport_bone_config(). Migrate tocreate_bone_config(),export_bone_config(), and saved-directory file restoration. Pass the explicit denyBoneConfigOverwritePolicyto preserve existing-file rejection. - C++ compatibility feature revision increments to
feature_revision4; rebuild applications with matching Glove 2.0.0 and Core 2.0.0 headers, wrapper libraries, and native libraries. See Migration for breaking changes and upgrade steps.
v1.9.0
Glove 1.9.0 pairs with Core 1.9.0, expands glove connectivity and typed measurements, supports complete calibration-file reuse, adds pressure estimates for the Tactile ENF Positioning Glove (VetraGlove HMP-MX), and improves runtime stability and Debug recording performance.
Features
- Connect Helix through the existing Glove discovery, configuration and read entry points. Read hand, independent wrist, per-sensor IMU and magnetometer data through
pose()andimu(). - Added
device.export_calibration()to export the complete calibration file used by the current target, including algorithm configuration, bone configuration and calibration result. Replay it in another application withTargetAlgorithm.calibration_key. - Added kPa estimates in the same order as the 460 HMP-MX raw readings. Estimates use an average palm curve, with raw values 107–255 sharing an approximately 40.01 kPa software ceiling. Point-specific variation, force conversion and the physical sensor range require separate evaluation.
- Added
device.emf()for raw EMF I/Q signed integral matrices acquired in pairs with hand pose, correlated by source, session and pair sequence.
Fixes & improvements
- Merged duplicate HMP-MX discovery records to improve device selection and connection stability. Invalidated Helix observations and queued deliveries at stop, disconnection, reconnection and startup rollback.
- Preserved missing values, invalid states and independent hand/wrist freshness. Complete calibration export is bound to the current device cycle and a target that has successfully produced output.
- Batched Debug recording to reduce per-record write overhead during capture and calibration.
Compatibility
pose()now exposespayload.hand/payload.wrist, andimu()exposespayload.imus/payload.magnetometer. Update readers for optional components and actual sensor units. Python/Java hand side uses theSideenum.- Rebuild C++ applications and bridges with Core/Glove headers, wrapper libraries and native libraries from the same delivery. See Migration for field replacements and calibration reuse.
v1.8.1
Glove 1.8.1 pairs with Core 1.8.1. The Tactile ENF Positioning Glove (VetraGlove HMP-MX) uses the standard glove serial connection, adds a separate pressure channel, and reads wireless IMU with matching firmware.
Features
- Tactile ENF Positioning Glove models VetraGlove HMP-MX-L / HMP-MX-R use the standard serial connection for pose, IMU and calibrated skeleton output. The separate
pressure()channel returns 460 raw readings from 0 to 255. - Read wireless IMU through the existing
imu()channel when the glove and Receiver firmware provide same-hand combined frames.
Fixes & improvements
- Full reuse of unchanged capture data preserves matching calibration. Choose pending stages from the current plan and finish every required stage before calibration.
Compatibility
- Wireless IMU and capture/calibration upgrades retain the existing interfaces. See Migration.
v1.7.0
Glove SDK 1.7.0 upgrades 1.6.0 with unified wired and wireless connections, independent personal bone measurement and import APIs, and a fixed eight-gesture capture pool reusable by compatible algorithms. It ships with Core 1.7.0 and can be paired with Exo SDK 1.3.0 for Exo + Glove integrations.
Features
- Unified wired and wireless configuration through
GloveConfig. The SDK identifies the transport from the hardware without a separate wireless-mode setting. Opposite hands on one Receiver can share a port and the underlying connection. - Added independent bone-profile workflows. Python and C++ provide
prepare_bone_config_terminal(),create_bone_config_session(), andimport_bone_config()for phone QR measurement, custom UI integration, and existing profile imports without creating anSdkor connecting a glove. - Unified hand capture into eight required gestures: fingers together, fingers spread, MCP bend, natural fist, and four thumb-to-finger pinches. Each stage requires 30 frames and cannot be skipped. Compatible algorithms reuse the complete pool while each target computes its own calibration.
capture_status()andstart_capture()accept explicit emptypackage_idsto capture with only the included Skeleton, without an external algorithm package.- Wireless discovery results now include glove device information.
GloveDeviceInfoaddstransport_typeto distinguish wired and wireless gloves. - Enhanced Debug subscription-delivery timing traces to investigate callback processing, queue waits, and Python async delivery latency.
- On normal Debug session completion,
summary.jsonadds a log-file inventory with write status, record counts, file sizes, and errors.
Fixes & improvements
- When a configured wireless glove is confirmed offline during SDK creation, the SDK warns and omits it from that instance along with targets depending only on it; other valid devices remain available.
- Improved bone-profile saving and interruption handling. A successfully saved local file remains valid after an interruption or unconfirmed remote cleanup. Existing files are not overwritten by default.
- Fixed coordination between background execution and closing. When another thread is waiting in
join(), closing requests stop and waits for execution to finish, avoiding missing-worker errors or premature resource release. - Added diagnostics for subscription callback and decoding failures. Python logs exceptions; C++ reports errors with subscription, channel, and device context. Failures remain isolated and subsequent data continues to be delivered.
- Improved records of Debug file-write failures and missing files to help determine whether logs are complete.
Compatibility
GloveReceiverConfighas been removed and the old configuration is no longer accepted. Declare oneGloveConfigper wireless glove; use automatic discovery normally and specify a port only when selecting a fixed device.- Gloves sharing one Receiver port must have opposite sides. Duplicate declarations for the same side or an ordinary wired port still fail.
- After upgrading, complete the new eight-gesture capture plan once. Existing capture files can be retained but do not replace the new complete pool; subsequent runs reuse compatible results.
- Applications constructing or parsing
GloveDeviceInfomust handle the newtransport_typefield. - After preparing or importing a bone profile, recreate the
Sdkwith the same wearer identifier and hand side. Existing instances do not reload files automatically. - Use matched Core and Glove components in Python and C++; do not mix bindings, headers, or runtime libraries from different versions.
- Android delivery now uses independent components with Maven coordinates
com.qnbot:qnbot-sdk-core,com.qnbot:qnbot-sdk-glove, andcom.qnbot:qnbot-sdk-exo. Applications using the oldqnbot-sdk-android-*coordinates or aggregate delivery must update dependencies and replace all matched components together.
v1.6.0
Glove SDK 1.6.0 upgrades 1.5.0 with Receiver wireless-glove support and improvements to discovery, haptics, time synchronization, capture and calibration reuse, and subscription delivery timing. Core and Glove both ship as 1.6.0 and can be paired with Exo SDK 1.2.0 to access Exo and glove devices from the same Sdk instance.
Features
- Added Receiver wireless-glove access. Explicitly configure a Receiver and one or two gloves with
GloveReceiverConfig, includingdevices,connection,enabled, and an optionalname. DiscoveredGloveadds the requiredtransport_typefield of typeGloveTransportType:serialidentifies a wired glove,receiver_usba Receiver USB entry, andreceiver_peera wireless glove.- Receiver wireless gloves support the existing
haptics.set()andhaptics.clear()APIs with the same calls as wired gloves. GloveHaptics.strengthsaccepts integers from 0..127 for both wired and wireless gloves. Existing 0..100 values remain valid without conversion.CompositeExoGloveConfigadds an optionalnameto distinguish composite device groups. Member names remain independent and do not inherit the group name.- Added public C++ and Python examples for wireless receiver discovery, pose reads, skeleton reads, and retargeting.
Fixes & improvements
- Expanded
sync_time()coverage. Newly generated state timestamps and theirsource_time,CaptureResult.created_at, andCalibrationResult.created_atuse the synchronized time reference. Previously saved results retain their original times. - Fixed unnecessary recalibration after fully reusing existing capture data. Existing compatible calibration is retained when recapture is not forced and capture requirements and samples are unchanged.
- Canceling an unfinished calibration session now discards results newly generated by that session while preserving the previous successful compatible calibration and completed capture data.
- A later stop no longer treats a completed calibration as canceled or discards its successful result.
- Corrected subscription timing to count callback processing time within the delivery period and wait only for the remainder, reducing sustained delivery rates below the configured rate.
- Python async iteration uses the same corrected timing. Calls to
SubscriptionConfig.latest(),fifo(), andmax_rate_hzare unchanged.
Compatibility
- Use
GloveReceiverConfigfor wireless access and set Receiver connection parameters on the outer configuration. Do not implicitly configure a Receiver with multiple ordinaryGloveConfigentries. Wired gloves continue to useGloveConfig. - Enabled glove members of one Receiver must specify different
Sidevalues and retain default member connection fields. All enabled members must be online and compatible. - For a single wireless glove, declare only that member; do not declare an unconnected second glove.
- Applications that construct, serialize, or parse
DiscoveredGlovemust handle the new requiredtransport_typefield. CompositeExoGloveConfig.nameidentifies only the outer composite group. Set member names separately when accessing members by name.- Existing haptic strengths from 0..100 need no changes. Use the new 101..127 range when higher strengths are required.
- Do not rely on retaining partial new calibration results after cancellation. Results generated by an unfinished canceled session are no longer used.
- Use the matched Core 1.6.0 release and do not mix C++ headers and runtime libraries from different versions.
v1.5.0
Glove SDK 1.5.0 adds selectable calibration modes, algorithm-parameter overrides, bone-file policy, and the built-in Skeleton algorithm on top of 1.4.0. It also changes manual capture ordering, logical device identity, telemetry startup, and cancellation semantics while improving automatic reconnection, async notification coalescing, cleanup, and shared-serial recovery.
Features
Glove.start()andGloveDevice.start()now accept calibration modes: Python usesCalibrationMode.AUTO / MANUAL / NONE(or corresponding strings), while C++ usesCalibrationMode::automatic / manual / none. No-argument domain startup remains automatic and no-argument device startup inherits the domain default.TargetAlgorithmaddsalgorithm_config_pathfor a target-specific parameter override file. Python also acceptspathlib.Path, and relative paths are fixed when the SDK is created.- Added
use_bone_config: Python uses"auto" / True / False, while C++ usesBoneConfigUsage::auto_detect / required / disabled, with the existing default bone-file location. - Added Python
BuiltinAlgorithm.SKELETONand C++BuiltinAlgorithm::skeletonfor configuring the built-in Skeleton throughTargetAlgorithm. - Updated the built-in Skeleton to 0.3.4 while retaining the Python/C++ 25-joint, 25-node skeleton output.
- Device selection can combine name and side:
glove.device(name, side=...)in Python anddevice(name, side)in C++. CapturePlan.stagescan be stably sorted by a package-declared positive integerorder;CapturePlanStageandCaptureStageProgressadd optionalprompt_en.- Core adds
SubscriptionConfig.latest(),fifo(), andReadChannel.with_config()for per-subscription latest coalescing, bounded FIFO, and maximum delivery rate. - Added
QNBOT_SDK_HOMEas the preferred data-root variable, with legacyQNBOT_HOMEas a fallback. Terminal prompts can be selected withQNBOT_SDK_LANGUAGE=en / zh, withQNBOT_LANGUAGEretained for compatibility. - Algorithm resolution supports compatible stable,
rc.N, anddev.Npackages; a package currently used by an SDK cannot be uninstalled.
Fixes & improvements
- Wired-glove
start()now enables telemetry and supported IMUs directly and returns after command acknowledgement. Subscriptions no longer control streams; existing read APIs receive data after the first frame arrives. - An unavailable IMU now degrades gracefully instead of blocking available glove pose data.
- Fixed hand-package timestamp conversion so Skeleton output uses the corresponding input frame time in milliseconds.
- Device identity queries now use up to four bounded retries for temporarily unresponsive or not-yet-ready hardware and return immediately on success.
- Verified devices also match hardware serial numbers before reusing persisted data. Compatible calibration from the same hardware can migrate automatically; old capture frames do not migrate.
- Automatic-terminal guidance persists across consecutive
update()calls. Background startup returns when applicationpush_frame()input is required, while device-input flows wait for automatic capture and calibration readiness. - Capture stages follow declared order and complete the previous stage display before advancing; missing English prompts fall back to the original prompt.
- Retargeting output advances on input and algorithm-completion events, reducing fixed-tick waiting without changing output subscriptions.
- Automatic reconnection now advances independently of application
update()calls or runners. - Shared serial links now recover automatically, refresh component connection state, and clear stale connection errors after recovery or a successful restart.
- Python coalesces duplicate notifications before posting to
asyncioand keeps the latest value, reducing backlog when the event loop is busy. - Python automatically stops runtime work and releases SDK resources during interpreter shutdown.
- Replacing Capture content invalidates calibrations derived from the old Capture, while a transient Capture read failure preserves existing calibration instead of treating an I/O error as stale content.
- Unchanged Capture data reuses its validation result, while changed data is validated again, reducing repeated readiness-query and
update()overhead. - Stable builds check for updates at SDK creation and first component startup; network failures are non-blocking, and prerelease builds do not check.
Compatibility
- Manual workflows must start the device in
MANUALmode before capture and calibration APIs are called. Automatic mode still supports manualupdate(), foreground, and background execution. AUTO,MANUAL, andNONEare locked for one start cycle; stop the device before switching.NONEdoes not provide calibration-dependent output, and a capture session from an older start cycle cannot be calibrated in a new cycle.source_idnow uses configuration name and side as a stable logical device identity; the hardware serial number remains available from device information.- Stopping, disconnecting, or closing a device cancels active calibration. Sessions and unfinished tasks report
Cancelledwith error code"cancelled". - Removed Python
GloveControlErrorKind.FIRST_POSE_TIMEOUTand C++GloveControlErrorKind::first_pose_timeout. - C++ lifecycle and unavailable-feature failures now report
LifecycleErrorandUnavailableFeatureError; catching onlyWorkflowErroris no longer sufficient. - External
qnbot_handalgorithm packages must support ABI 2.1; packages limited to ABI 2.0 must be upgraded. - Changing an algorithm override file or bone policy does not force recalibration automatically; applications must schedule capture or calibration when the algorithm requires it.
- Headless
AUTO_TERMINALapplications must useEXTERNALinteraction or provide an interactive terminal, and an algorithm package can only be uninstalled after all SDKs using it are closed. - See the Glove SDK 1.4.0 → 1.5.0 migration guide for upgrade steps.
v1.4.0
This release upgrades Glove SDK from 1.3.0 to 1.4.0, with a focus on glove time synchronization, composite-device access, and runtime state management. Core and Glove ship together as 1.4.0 and continue to support Linux x86_64, Linux ARM64, macOS ARM64, and Windows x86_64. It also adds Exo + Glove integration over one shared serial link, with Exo, left Glove, and right Glove accessible from the same `Sdk` instance.
Features
- Added
Glove.sync_time()to set one external time reference for glove data. - Standardized millisecond semantics for glove frames, runtime state, capture, and calibration timestamps.
- Added shared-serial access for Exo and the left and right Gloves.
- Added access to Glove and Exo capabilities from the same
Sdkinstance. - Completed state, telemetry, and lifecycle management for composite devices.
- Improved algorithm-package parsing and runtime initialization.
Fixes & improvements
- Kept compatibility with legacy
timestamp_secinput and made its conversion to milliseconds explicit. - Fixed historical glove timestamp handling to improve consistency between capture records and aligned data.
- Improved glove connection, state recovery, and resource release.
- Cached algorithm-package parsing results to avoid repeated parsing during SDK initialization.
- Improved runtime state, debug information, and error messages.
- Completed device information, telemetry, and lifecycle handling for Exo + Glove integrations.
Compatibility
- Version 1.4.0 standardizes on millisecond semantics; legacy
timestamp_secinput remains accepted and is converted to milliseconds. - C++ projects must update the 1.4.0 Core/Glove headers, libraries, and Conan packages and recompile.
- See the QnBot Glove SDK 1.3.0 → 1.4.0 migration guide for upgrade details.
Internal refactor
- Unified the Python and C++ time models and serialization behaviour.
- Refined device-management boundaries between Glove, Exo, and the shared serial link.
- Unified state, telemetry, and lifecycle handling within composite devices.
- Improved runtime resource management for multi-device scenarios.
v1.3.0
This release focuses on glove device onboarding and the capture and calibration flow, together with updated public Python and C++ examples and customer documentation. Core and Glove ship together as 1.3.0 and keep supporting Linux x86_64, Linux ARM64, macOS ARM64, and Windows x86_64.
Features
- Introduced GloveDevice-centred device usage, so device selection, capture, and calibration follow one clear flow.
- Completed progress query and interactive control during capture and calibration.
- Added external input examples for background running and manual scheduling.
- Updated the public Python and C++ examples to cover device selection, capture, calibration, and external input.
- Core and Glove now ship together as 1.3.0 delivery packages for all four platforms.
Fixes & improvements
- Improved the glove connect, start, stop, and resource release flow.
- Improved device recovery, multi-device state, and runtime management.
- Improved status and error messages during capture, calibration, and runtime.
- Improved algorithm package parsing, integrity verification, and runtime loading.
- Improved C++ debug information and diagnostics when a process exits abnormally.
- Updated the C++ headers, libraries, and Conan packages for more consistent cross-language integration.
- Expanded the customer-facing README and public examples.
Compatibility
- 1.3.0 changes how glove devices, capture, and calibration are called.
- An application now selects a target GloveDevice first, then runs capture, status queries, and calibration through that device object.
- Capture and calibration must use the same GloveDevice.
- C++ projects must update the 1.3.0 Core/Glove headers, libraries, and Conan packages and recompile.
- See the QnBot Glove SDK 1.2.0 → 1.3.0 migration guide for the exact steps.
Internal refactor
- Refactored the internal boundaries between device selection, capture, calibration, and the runtime.
- Unified device state, task progress, and error handling behaviour across Python, C++, and Rust.
- Improved runtime data channels and resource management for more consistent future development and maintenance.
v1.2.0
This release focuses on the capture and calibration workflow, device onboarding and diagnostics, and online delivery and version management for algorithm packages. The SDK and CLI both keep shipping native packages for Linux x86_64, Linux ARM64, macOS ARM64, and Windows x86_64.
Features
- Reworked the capture and calibration workflow around explicit CaptureSession and CalibrationSession usage, covering capture progress, interactive control, calibration execution, and result retrieval.
- Added raw glove IMU data reading.
- Added automatic discovery and onboarding for VetraGlove Nano.
- Algorithm packages now keep a single current version per package ID, making install, upgrade, downgrade, and uninstall behaviour explicit.
- Added an online algorithm package source with account authentication, authorised algorithm lookup, and online installation for Qnbot CLI.
- Upgraded the built-in hand algorithm runtime: qnbot-hand 0.2.49 on Linux x86_64, macOS ARM64, and Windows x86_64, and qnbot-hand 0.2.54 built against glibc 2.34 on Linux ARM64.
Fixes & improvements
- Simplified the device lifecycle: applications start devices with
start()and stop the data stream and release the connection withstop(). - Improved glove connection recovery, multi-device runtime state, and diagnostics so device status is easier to observe and act on.
- Unified how progress and errors are reported across capture, calibration, and algorithm runtime.
- Unified Debug modules and log configuration; logs are archived to
QNBOT_HOMEby default. - Lowered the Linux ARM64 minimum environment to glibc 2.34, widening the range of deployable systems.
- Updated the public Python and C++ examples and customer documentation to cover IMU, VetraGlove Nano, connection state, Debug, external input, and the full capture and calibration flow.
Compatibility
- 1.2.0 changes parts of the public API and its usage flow, mainly around: the device connect / disconnect lifecycle; the Capture and Calibration sessions; the algorithm package fields in capture requests; calibration data and log directory configuration; Debug detail and module names; and the single-current-version rule for algorithm packages.
- This announcement lists only the main changes and does not spell out the replacement steps.
Internal refactor
- Refactored the SDK's internal runtime, data channels, diagnostics, and device connection boundaries to improve cross-language consistency and long-term maintainability.
v1.1.0
Added Linux ARM64 and Windows 10 x64 packages and unified version selection for complete SDK/Glove deliveries.
Features
- Algorithm packages are selected by package ID; the SDK resolves the default stable version and matching algorithm automatically.
- Added native Linux ARM64 support, extending both the SDK and CLI to four-platform deliveries.
- Upgraded Qnbot CLI to 0.1.1 with SDK 1.1.0 compatibility.
- Added wireless receiver integration, including wireless device discovery and multi-source support.
- This capability has not completed real-hardware validation in this release. Verify device compatibility and connection stability separately before production use.
Internal refactor
- Split capture, calibration, and runtime into relatively independent workflows with clear invocation boundaries.
- Unified source creation and configuration so physical glove sources and the
external_inputvirtual source use the same configuration and runtime entry points.
Fixes & improvements
- Fixed scheduling inconsistencies that could occur for automatic capture across runtime paths.
- Fixed the mismatch between the Linux ARM64
aarch64runtime target and the algorithm packagearm64architecture identifier. - Improved handling of incomplete input frames during calibration.
- Improved device recovery and runtime state feedback.
v1.0.0
The first stable C++ SDK release, with production platform packages, managed algorithm directories, and built-in Dynamic OpenXR skeleton support.
Features
- Added
skeleton(), 24 active-joint angles, and a 25-joint skeleton pose channel. - Added production 1.0.0 packages for three platforms and a Chinese README.
Compatibility
- Algorithm packages now use the product CLI and resolve package IDs to default stable versions.
- Unified default directories for calibration, algorithms, and Debug data.