IdeaCredIdeaCred

TeoIlie/Gym-Khana

87

Custom gym environment for training Deep Reinforcement Learning policies to race and drift on 1/10 scale or full-size Ackermann vehicles. SB3 and wandb integration. Based on the f1tenth_gym simulator built by UPenn

What's novel

Custom gym environment for training Deep Reinforcement Learning policies to race and drift on 1/10 scale or full-size Ackermann vehicles. SB3 and wandb integration. Based on the f1tenth_gym simulator built by UPenn

Code Analysis

8 files read · 3 rounds

A Gymnasium RL environment for training racing and drifting policies on Ackermann-steered vehicles, featuring multiple physics models (kinematic, single-track, single-track-drift with Pacejka tires, and a 29-state multi-body model), laser scan simulation, Frenet coordinate tracking, and domain rando

Strengths

Genuinely deep physics implementations with Numba-optimized dynamics (Pacejka Magic Formula tire model, load transfer, wheel dynamics, smooth kinematic/dynamic blending), clean separation of concerns across action/observation/track/dynamics modules, and thoughtful engineering details like steering delay buffers, instability detection with state reversion, and ZOH-exact steering rate control.

Weaknesses

The multi-body model is not Numba-jitted (unlike ST/STD), creating a performance inconsistency; the main environment file is 59KB with significant coupling; and the observation module mixes Numba-optimized and pure-Python paths with some redundant validation logic.

Score Breakdown

Innovation
5 (25%)
Craft
84 (35%)
Traction
11 (15%)
Scope
89 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+1

Craft

Ci+5
Tests+8
Polish+3
Releases+3
Has License+5
Code Quality+23
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+5
Has Dependency Mgmt+5

Traction

Forks+0
Stars+6
Hn Points+0
Watchers+0
Early Traction+0
Devto Reactions+0
Community Contribs+5

Scope

Commits+8
Languages+5
Subsystems+13
Bloat Penalty+0
Completeness+7
Contributors+8
Authored Files+15
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

337

Contributors

13

Files

198

Active weeks

24

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

1

Forks

0

License

MIT