Pulsar SDK
Install Pulsar SDK
Both Pulsar Python SDK (3.1.0) and Pulsar Rust SDK (1.1.0) are distributed on the public pulsar-forge channel via Pixi, with native Python (pip) and Cargo workflows also supported.
Recommended: Install with Pixi
Pixi installs language toolchains, the SDK, native libraries, and digital-twin model assets together on Linux (x86_64, aarch64) and Windows (x86_64).
Restart your terminal after installing Pixi, then set up a project:
pixi init my-pulsar-project
cd my-pulsar-project
pixi workspace channel add --prepend https://prefix.dev/pulsarhri/pulsar-forge
pixi add pulsar-sdk
For virtual actuators (AUGUR Digital Twin), install pulsar-assets too:
Verify the installation:
Requires Rust 1.85 or newer. Install pulsar-rs-sdk (and optionally pulsar-assets for virtual actuators):
pixi init my-pulsar-project
cd my-pulsar-project
pixi workspace channel add --prepend https://prefix.dev/pulsarhri/pulsar-forge
pixi add pulsar-rs-sdk pulsar-assets
Then add the path dependency to your project's Cargo.toml — no separate setup command is required:
[dependencies]
# Linux:
pulsar-rs-sdk = { path = ".pixi/envs/default/share/pulsar-rs-sdk/interface" }
# Windows:
# pulsar-rs-sdk = { path = ".pixi/envs/default/Library/share/pulsar-rs-sdk/interface" }
Verify the CLI and build:
The public https://prefix.dev/pulsarhri/pulsar-forge channel does not require authentication.
Alternative native workflows (pip / Cargo)
For physical-actuator projects using a conventional Python virtual environment:
# Windows PowerShell
py -m venv .venv
.venv\Scripts\Activate.ps1
python -m pip install --upgrade pulsar-sdk
Release timing & virtual assets
New releases publish to pulsar-forge (Pixi) first, followed by PyPI. AUGUR Digital Twin model libraries are distributed as pulsar-assets, so Pixi is recommended for virtual-actuator projects.
crates.io coming soon
Direct crates.io publication for pulsar-rs-sdk is planned. Until then, use Pixi above or reference an extracted pulsar-rs-sdk release archive directly from Cargo.toml.
- Extract the
pulsar-rs-sdkpackage into a directory (for example./pulsar-sdk/). If using virtual actuators, extractpulsar-assetsinto the same directory (or setPULSAR_ASSETS_PATH/ passVirtualWorld::with_assets_path(...)). - Add one path dependency in
Cargo.toml:
[dependencies]
# Linux:
pulsar-rs-sdk = { path = "pulsar-sdk/share/pulsar-rs-sdk/interface" }
# Windows:
# pulsar-rs-sdk = { path = "pulsar-sdk/Library/share/pulsar-rs-sdk/interface" }
- Build and run directly with
cargo build/cargo run. No Conda/Pixi activation or setup binary is required.
Automatic discovery order (Rust 1.1.0):
- Native shared library:
PULSAR_SDK_NATIVE_LIBRARY→CONDA_PREFIX→ next to executable /../lib→ adjacent to extractedpulsar-rs-sdkpackage → OS library search path. - Digital-twin assets (
pulsar-assets): explicit path (VirtualWorld::with_assets_path) →PULSAR_ASSETS_PATH→CONDA_PREFIX/PIXI_PROJECT_ROOT→../share/pulsar-assetsadjacent to the native library orpulsar-rs-cli.
Verify hardware firmware compatibility
Physical actuators running with Python SDK 3.1.0 or Rust SDK 1.1.0 require firmware 2.2.5 or newer (and CAN adapter firmware 2.1.3 or newer for CAN adapter status diagnostics).
For actuators running firmware below 2.2.5, either update firmware or select version 3.0.0 in the site version selector.