V-BAR

An open-source Python benchmark for spacecraft rendezvous controllers. Classical guidance laws, reinforcement learning agents and LLM agents fly the same scenarios and are scored with the same metrics.

Active Open-source softwarePythonMIT license updated Next: Benchmark paper comparing LLM, classical and safety-filtered controllers

Measured

30of 30
random starts ahead of the target entered the keep-out sphere under the PD baseline; all 30 still reached the hold point
about 1µm
propagator error over one orbit against the closed-form Clohessy-Wiltshire solution (test limit 1 mm)
2.42m/s
delta-v for the quickstart flight from 400 m behind the target, 620 s

What V-BAR is

V-BAR (Verified Benchmark for Autonomous Rendezvous) is a headless Python benchmark for spacecraft rendezvous and proximity-operations controllers. Classical guidance laws, reinforcement learning agents and large language model (LLM) agents fly the same scenarios and are scored with the same metrics.

It is a plain Python package, installed with pip install vbar, that runs much faster than real time on Linux, macOS and Windows. That makes experiments with hundreds of seeds and many controllers practical. Its physics is checked against closed-form solutions and published textbook examples, so a result reflects the controller and not a simulator error. It is open source under the MIT license.

The scenario

The chaser must reach a hold point 100 m behind the target and stop there without entering a 50 m keep-out sphere around the target. The target is on a circular 500 km orbit. Relative motion follows the Clohessy-Wiltshire equations by default, in the target’s Hill frame; two-body models with and without Earth’s oblateness (J2) are options.

Item Default
Spacecraft 500 kg, Isp 220 s
Control up to 0.02 m/s² per axis, held for one step
Step and length 10 s steps, at most 360 steps (one hour)
Success within 5 m of the hold point and slower than 0.05 m/s
Keep-out checked in continuous time, 20 samples per step

Each run reports whether it captured, whether and in how many steps it entered the keep-out sphere, the minimum range to the target, the final distance to the hold point, delta-v used, flight time and wall-clock time.

Controllers

Results

Every number here was measured from V-BAR 0.2.0 at commit f056555 by a script in this site’s repository, which records the commands next to the data.

From 400 m behind the target, the PD baseline reached the hold point after 620 s of flight and used 2.4159 m/s of delta-v. Its closest range to the target was 104.65 m, so it stayed outside the keep-out sphere. From 150 m below and 400 m behind, it took 630 s and 2.7134 m/s, with a closest range of 104.26 m.

From 30 seeded random starts 200 to 600 m ahead of the target, the target sits between the chaser and the hold point. The PD baseline reached the hold point in 30 of 30 runs and entered the keep-out sphere in 30 of 30, because it ignores the target. The median closest range was 15.06 m and the lowest was 3.31 m. That gap is what safety filters and other controllers are measured against.

Propagator accuracy. Over exactly one orbit, V-BAR’s numerical propagator differs from the closed-form Clohessy-Wiltshire solution by at most 1.14e-6 m in position. V-BAR’s own test allows 1e-3 m. The full test suite passed: 528 tests.

Limitations

V-BAR is at version 0.2, in early development, and its interfaces may change before 1.0. The environment has one scenario. The safety-filter interface has only its pass-through implementation. The PD baseline ignores the target, so its keep-out entries describe a controller with no collision avoidance. No trained reinforcement learning agent is included. The minimum ranges are measured in three dimensions while the plots show two.

Planned

A control barrier function safety filter, the first real filter behind the safety-filter interface, is being built on a separate branch and is not merged yet. Runs will compare each controller with the filter on and off, paired by seed.

Two papers built on V-BAR are planned. Neither is published.

The code, tests and documentation are in the V-BAR repository on GitHub (opens in a new tab).

Figures

−400 −300 −200 −100 0 100 200 300 along-track y (m) −150 −100 −50 0 50 radial x (m) quickstart, 400 m behind clear path, 150 m below random start, seed 6 keep-out sphere (50 m) target hold point 0 100 200 300 400 500 600 700 time (s) 0 50 100 150 200 250 300 350 400 range to target (m) minimum 3.3 m quickstart, 400 m behind clear path, 150 m below random start, seed 6 keep-out radius (50 m) −400 −200 0 200 along-track y (m) −100 0 radial x (m) 0 200 400 600 time (s) 0 50 100 150 200 250 300 350 400 range to target (m) minimum 3.3 m quickstart, 400 m behind clear path, 150 m below random start, seed 6 keep-out sphere (50 m) target hold point
Figure 2. PD baseline flying to a hold point 100 m behind a target on a 500 km circular orbit, with a 50 m keep-out sphere. From 400 m behind (620 s, 2.42 m/s) and from 150 m below (630 s, 2.71 m/s) it stays clear. From a random start ahead of the target (seed 6) it still reaches the hold point but passes inside the sphere: closest range 3.3 m (continuous-time; plotted points are 10 s apart). Ranges are 3D. Generated with V-BAR 0.2.0 (f056555). V-BAR on GitHub (opens in a new tab)
−100 0 100 200 300 400 500 600 along-track y (m) −200 −150 −100 −50 0 50 100 150 radial x (m) seed 6, min range 3.3 m seed 28, min range 15.3 m seed 25, min range 42.4 m seed 8, min range 6.5 m keep-out sphere (50 m) target hold point 0 200 400 600 along-track y (m) −100 0 100 radial x (m) seed 6, min range 3.3 m seed 28, min range 15.3 m seed 25, min range 42.4 m seed 8, min range 6.5 m keep-out sphere (50 m) target hold point
Figure 3. Four of the 30 seeded random starts ahead of the target: the runs with the lowest, median and highest closest range, and the highest delta-v. All 30 reached the hold point and all 30 entered the keep-out sphere. Generated with V-BAR 0.2.0 (f056555). V-BAR on GitHub (opens in a new tab)

Cite

@software{hammoudeh2026vbar,
  author  = {Hammoudeh, Jamil},
  title   = {V-{BAR}},
  year    = {2026},
  license = {MIT},
  url     = {https://github.com/jamilhammoudeh/vbar}
}

Download vbar.bib