Skip to content

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.

Pixi installs language toolchains, the SDK, native libraries, and digital-twin model assets together on Linux (x86_64, aarch64) and Windows (x86_64).

curl -fsSL https://pixi.sh/install.sh | sh
powershell -ExecutionPolicy Bypass -c "irm -useb https://pixi.sh/install.ps1 | iex"

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:

pixi add pulsar-assets

Verify the installation:

pixi run python -c "import pulsar_sdk; print('Pulsar Python SDK installed')"
pixi run pulsar-cli --help

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:

pixi run pulsar-rs-cli --help
pixi run cargo 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:

# Linux
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pulsar-sdk
# 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.

  1. Extract the pulsar-rs-sdk package into a directory (for example ./pulsar-sdk/). If using virtual actuators, extract pulsar-assets into the same directory (or set PULSAR_ASSETS_PATH / pass VirtualWorld::with_assets_path(...)).
  2. 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" }
  1. 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 extracted pulsar-rs-sdk package → 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-assets adjacent to the native library or pulsar-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.

Next steps