Reference implementation and experiment results for Reachability-Constrained State Reconstruction for Rolling-Horizon Multi-UAV Planning under Delayed Feedback.
RCSR reconstructs the spatial state used to start a new rolling-horizon planning call. It anchors a probability distribution at the latest delivered historical position and replays only controller-issued commands that are causally available. Probability can advance to a reference waypoint only through an edge of the planner's legal motion graph.
The current experimental method, eight-method comparisons, three mechanism controls, window and fleet studies, asynchronous and continuous extensions, and independent serial timing results are included in experiments/. Every experiment group contains seeds 9400–9419. The release preserves Tables 7 and 8 as numerical CSV tables.
python -m pip install -r experiments/requirements.txt
python experiments/run.py --suite all --list
python experiments/summarize.pySee the experiment README for units, paired uncertainty, sample reuse and missing P90 values.
This repository contains:
- the graph-constrained state-reconstruction kernel;
- a small synthetic example;
- tests of the method's principal invariants; and
- a concise method description.
The synthetic example requires no external dataset. The revised simulator and twenty-seed experimental results are in experiments/. The original minimal API below remains available for the early graph-reconstruction example; it does not implement the revised joint reconstruction pipeline.
- Python 3.10 or later
- no third-party runtime dependencies
pytestonly for running the tests
python -m venv .venv
# Windows: .venv\Scripts\activate
# Linux/macOS: source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e ".[test]"
python -m pytest -qRun the minimal example:
python examples/minimal_reconstruction.pyExpected MAP anchor:
(1, 0)
from rcsr_rhcr import (
IssuedCommand,
MotionGraph,
ReachabilityConstrainedStateReconstructor,
StateMessage,
)
graph = MotionGraph.from_undirected_edges(
vertices=((0, 0), (1, 0), (0, 1)),
edges=(((0, 0), (1, 0)), ((0, 0), (0, 1))),
)
message = StateMessage(timestamp=0, position=(0, 0))
ledger = (IssuedCommand(timestamp=1, reference=(1, 0)),)
result = ReachabilityConstrainedStateReconstructor(
deviation_probability=0.25
).reconstruct(message, ledger, graph, current_time=1)
print(result.map_position)
print(result.distribution)The graph uses directed edges. from_undirected_edges inserts both
directions. Vertex tuple order is the deterministic MAP tie-break order.
RCSR changes only the planning-start interface. A host rolling-horizon system must provide:
- the latest delivered timestamped state;
- the controller's issued-command ledger;
- the legal motion graph used by the planner; and
- the current planning time.
The implementation must not read the live vehicle state, future telemetry, or executed outcomes when reconstructing the planning anchor. Task allocation, conflict handling, path search, and execution remain outside this package.
This is a research reference artifact, not flight-control software. It has not been certified for safety-critical or operational UAV deployment.
If this code supports academic work, cite the associated paper:
Yonghai Liu, "Reachability-Constrained State Reconstruction for Rolling-Horizon Multi-UAV Planning under Delayed Feedback."
Repository: https://github.com/hiiiyl/RCSR-RHCR
Publication metadata will be added to CITATION.cff after the paper receives
its final bibliographic record.
This is source-available research code, not open-source software. Copyright is retained; the narrow permission is limited to running unmodified copies for non-commercial academic inspection and verification. See LICENSE.