Reinforcement Learning

Dropbear uses reinforcement learning to learn locomotion, manipulation, and whole-body behaviors in simulation before deploying to real hardware. Our RL pipeline is built on NVIDIA Isaac Lab and supports massively parallel GPU-accelerated training.

Training Pipeline

The full pipeline from training to deployment:

1

Train in Isaac Lab

Run thousands of parallel Dropbear simulations on GPU. Train policies using PPO, SAC, or custom algorithms with domain randomization for sim-to-real transfer.

2

Export to ONNX

Trained PyTorch policies are exported to ONNX format for portable, optimized inference on edge devices like Jetson Orin.

3

Publish to Marketplace

Package the trained skill with metadata, evaluation metrics, and deployment config. Share it on the Hyperspawn Skills Marketplace for others to use.

4

Deploy to Hardware

Load the ONNX policy on the robot\'s compute module. The control loop runs at 50Hz with real-time joint command output.

Training Environments

We provide pre-built Isaac Lab environments for common tasks:

EnvironmentTaskObservations
DropbearFlatWalkStable bipedal walking on flat groundJoint pos/vel, IMU, foot contacts
DropbearRoughTerrainWalking over uneven surfaces, stairs, slopesJoint pos/vel, IMU, heightmap, foot contacts
DropbearStandBalance and stand from various initial posesJoint pos/vel, IMU, CoM
DropbearReachReach and grasp objects with armsJoint pos/vel, end-effector pose, object pose

Getting Started

# Clone the RL repository
git clone https://github.com/Hyperspawn/dropbear_rl.git
cd dropbear_rl

# Install (requires Isaac Lab 1.0+)
pip install -e .

# Train a flat-ground walking policy
python train.py --task DropbearFlatWalk --num_envs 4096 --headless

# Evaluate a trained policy
python eval.py --task DropbearFlatWalk --checkpoint runs/latest/model.pt

# Export to ONNX for deployment
python export.py --checkpoint runs/latest/model.pt --output walking_policy.onnx

Reward Design

Our walking rewards combine several objectives:

  • Forward velocity tracking β€” match a target walking speed
  • Upright posture β€” penalize torso tilt away from vertical
  • Energy efficiency β€” minimize joint torques and velocities
  • Smooth motion β€” penalize jerk and sudden changes in joint commands
  • Foot clearance β€” encourage proper swing-leg height during walking
  • Symmetry β€” encourage symmetric gait patterns

Resources