MicroCat Policies: Robot Control Policies for Simulators
2 min read
Two compact ONNX models (cross-platform format for running AI models) for the independent MicroCat robot simulation prototype featuring 16 actuators (motors). These models handle basic movement based on velocity commands and recovery training after falls within the MuJoCo physics engine. The repository is designed for robotics researchers, simulation experiments, and agent-based tools.
Key features
- Two ready-to-use ONNX models: for walking (microcat_walk.onnx) and recovery from falls (microcat_recover.onnx).
- Built-in input data normalization directly within the model graph itself.
- Operates at a 50 Hz control frequency with the MuJoCo physics engine running at 200 Hz.
- Reinforcement learning (PPO/GAE) in a custom CPU MuJoCo environment with physics parameter randomization.
What you can do
- Test the tensor interface of the models in Python using ONNX Runtime.
- Integrate the policies into your own MuJoCo simulation loop to research motion control.
- Conduct experiments to evaluate controlled boundaries and interfaces within a research environment.
Example
import numpy as np
import onnxruntime as ort
from huggingface_hub import hf_hub_download
path = hf_hub_download('Linxiushen/MicroCat-Policies', 'microcat_walk.onnx')
session = ort.InferenceSession(path, providers=['CPUExecutionProvider'])
actions = session.run(None, {'obs': np.zeros((1, 66), dtype=np.float32)})
print(actions.shape)
Read more
DetailsInput data (obs): float32, shape [1, 66], including gyroscope, gravity projection, joint positions, and gait clock.
Output data (actions): float32, shape [1, 66], representing joint position offsets.
Limitations: physical hardware is not validated, direct use on real robots is not certified.
License: Apache-2.0.










Comments