892 B
892 B
DonkeyCar RL Automation Troubleshooting
Fast Checklist
- Unity sim blank? Ensure no stuck Python RL script is running (
ps aux | grep donkeycar_sb3_runner) - Always call
env.close()in the RL script! - Wait at least 2 seconds between batch jobs
- Restart Unity sim from Windows if stuck
- Check network (port 9091 must be listening in Windows, reachable from WSL)
If you get stuck:
- Stop all batch jobs in WSL
- Fully quit and restart Unity DonkeyCar Simulator on Windows
- Wait, then start the batch again
- If failure occurs immediately, ensure sim is in correct mode (Remote/SocketAPI)
- Confirm you are not running the same Python process in two places at once
Automated Batches Work When…
- Each RL process runs multiple episodes and exits cleanly
- Each process calls
env.close()before exit - Batch script sleeps ~2 seconds between runs