Scripts and Tools
This page lists tools that users launch directly. Unless stated otherwise, run commands from the repository root after installing the Python dependencies in requirements.txt.
Sensing visualization
Section titled “Sensing visualization”After the BS and UE backends are running and the corresponding sensing outputs are enabled, launch a viewer:
# BS multichannel monostatic sensingpython3 scripts/plot_sensing_fast.py
# UE bistatic sensingpython3 scripts/plot_bi_sensing_fast.pyIf a window opens without data, check the sensing-output switch, IP/port settings, and backend logs before restarting the viewer.
Uplink timing control
Section titled “Uplink timing control”uplink_timing_control.py reads and adjusts the BS DUTI and UE TADV values through their ZMQ control ports:
python3 scripts/uplink_timing_control.py \ --bs-host 127.0.0.1 --bs-port 9999 \ --ue-host 127.0.0.1 --ue-port 10001For remote hosts, use the actual BS and UE addresses and keep the ports aligned with network_output.control_port.
CPU isolation and backend launch
Section titled “CPU isolation and backend launch”isolate_cpus.py reads critical CPU assignments from BS.yaml and UE.yaml. Apply isolation before launching a backend through run:
cd buildsudo ../scripts/isolate_cpus.pysudo ../scripts/isolate_cpus.py run ./BSThe default command asks whether the host runs BS, UE, or both. run does not restrict the whole process to isolated CPUs: YAML-pinned critical threads stay on their assigned CPUs while other threads may use system CPUs.
Web Config Console
Section titled “Web Config Console”python3 scripts/config_web_editor.py --host 127.0.0.1 --port 8765Open http://127.0.0.1:8765/. The console edits the current build/BS.yaml and build/UE.yaml and provides backend launch and CPU-isolation controls. See Web Config Console for the full workflow.
config_web_editor_schema.yaml, config_web_editor.js, and the related HTML/CSS files are internal parts of the console and are not launched separately.
Documentation site
Section titled “Documentation site”# Local previewcd sitenpm run dev -- --host 0.0.0.0
# Build and publish into repository-root docs/npm run buildnpm run build creates site/dist/ and then runs scripts/publish_docs_site.py to update docs/. Do not edit generated HTML under docs/ directly.