Repository navigation
0.1.0 - 2026-09-01
Initial release of Exploy: export reinforcement learning environments and policies into a single, self-contained
ONNX graph, and deploy that graph on a robot with a C++ controller.
Added
Python exporter (exploy.exporter.core)
export_environment_as_onnx()andOnnxEnvironmentExporterto trace an RL environment together with its policy
and write the complete observation-to-actuation pipeline into one ONNX file.- Component API for describing the deployment interface of an exported graph:
Input,Output,Memory,Group,
andConnection. ExportableEnvironmentandExportableActorabstractions, withmake_exportable_actor()andadd_actor_memory()
for wrapping existing policies, including recurrent ones.TensorProxyandDerivedTensorfor tracing simulation tensors, with caching of already-traced tensors and support
for keyword arguments and single-element list indexing.evaluate()andevaluate_episode()to compare an exported ONNX graph against the original simulation environment
step by step, independently of the training framework.- Configurable ONNX opset and IR version, selectable export modes, and metadata embedded in the graph (component
configuration plus the Exploy version used for the export). - Uniqueness checks on input IDs and a hard failure when an input has no matching component, so mismatches surface at
export time rather than on the robot.
Framework integrations
- IsaacLab: environment wrapper, actor, inputs, outputs, memory, and derived tensors, with data patches for
articulations, rigid objects, and ray casters. - MjLab: environment wrapper, actor, inputs, outputs, memory, derived tensors, entity data, sensor proxy, and
ray-caster support.
C++ controller library (exploy::control)
OnnxRLControllerwithcreate()/init()/update()/reset(), backed by ONNX Runtime, driving the exported
graph from robot state to actuation commands.- Automatic wiring of graph tensors to components through matchers, with default matchers for the built-in components
andContext::registerMatcher()for custom ones. - Input components for joint positions and velocities; base position, orientation, and linear/angular velocity; IMU
orientation and linear/angular velocity; body position, orientation, and linear/angular velocity; height scans;
spherical and pinhole images; SE(3) pose, SE(2) velocity, joint position, boolean, and float commands; and step
count. - Output components for joint targets, SE(2) velocities, and memory, plus read-only
Observercomponents for
inspecting the graph without affecting it. RobotStateInterface,CommandInterface, andDataCollectionInterfacefor integrating a robot, withInfostructs
on all command and state interfaces.- Typed metadata parsing for command ranges, height scan and image patterns, joint output gains, and the exported
Exploy version, which is validated against the controller at load time. - Synchronous and asynchronous execution via
SyncWorkerandAsyncWorker, with configurable thread scheduling
policy and priority for real-time use. OnnxRuntimeOptionsexposed throughcreate(), support for input initializers andint64tensors, and pluggable
logging throughsetLogger()with an stdout fallback.- Installable and consumable CMake package, plus an
exploy_vendorpackage for use from ROS workspaces.
Documentation and examples
- Exporter and controller tutorials, API reference, and a getting-started guide published at
rai-inst.github.io/exploy. - Example export scripts for IsaacLab and MjLab, and a C++ controller example with loopback state, fixed commands, and
a memory visualizer. - Pixi environments for the Python exporter, the C++ controller, framework integrations, docs, and CI, together with
pre-commit formatting and linting for Python, C++, Markdown, and Pixi.