Skip to content

Profile typed jump approach speeds - #405

Merged
saworbit merged 1 commit into
mainfrom
fix/jump-approach
Sep 17, 2026
Merged

saworbit merged 1 commit into
mainfrom
fix/jump-approach

Conversation

@saworbit

Copy link
Copy Markdown
Owner

This finishes #365 by carrying a nav baked approach speed on each typed jump link. Navgen measures the first physical gap from actual standable takeoff and landing origins, certifies each whole speed in the runtime launch window, and keeps uncertified links on the old direct gate. Runtime brakes, walks back to a validated run up, charges through the launch seat, and records target and actual launch speed.

All eleven shipped graphs were reprofiled without topology changes. The result is 37 staged links and 146 direct or conservative fallback links. The full 52 test suite, nav and ship checks, vanilla QuakeC compile, two map directed runtime proof, and yellow, red, and purple reviews pass. The mixed tick A/B set is recorded as void rather than used as evidence.

The design was checked against the Frogbot v2 README: https://github.com/DrLex0/quake-frogbots/blob/master/README.md

Fixes #365

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 17, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-17T09:06:16.981302Z adf7fa3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: adf7fa3723

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/argus.qc
Comment on lines +1987 to +1989
if (self.ar_hopjump == 1 && self.ar_sprintstate == 2
&& self.ar_hopspeed > 0)
wdrag = self.ar_hopspeed;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Restrict the speed cap to an active routed jump

The cap depends only on stale hop fields, even though the launch gate also requires ar_mode == 2. Several route-exit paths do not clear those fields—for example, the direct-goal shortcut at lines 7148–7158 sets ar_mode = 1 and ar_node = world—so if it fires during phase 2, every subsequent grounded frame remains capped to the old jump target (as low as 45 u/s), while that jump can no longer launch. Require an active routed hop here or clear the jump state whenever routing is exited.

Useful? React with 👍 / 👎.

Comment thread tools/argus_navgen.py
Comment on lines +788 to +796
_bad = len(_node_rows) != len(_nodes)
if not _bad:
for _k, _m in enumerate(_node_rows):
_p = _nodes[_k]
if int(_m.group(1)) != _k or [_m.group(2), _m.group(3),
_m.group(4)] != [f"{_p[0]:.0f}",
f"{_p[1]:.0f}",
f"{_p[2]:.0f}"]:
_bad = True

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Validate the complete QC/JSON graph before rewriting

The mismatch guard compares only node rows here and later compares only the set of jump links. Consequently, a QC/JSON pair with identical nodes and jump links but different ordinary links, link types, regions, teleporters, or duplicate jump calls is accepted and rewritten, despite this mode promising to refuse mismatched shipped graphs. That can leave the two outputs describing different runtime topology while reporting success; parse and compare the complete QC graph metadata before writing either file.

Useful? React with 👍 / 👎.

@saworbit
saworbit merged commit b18632b into main Sep 17, 2026
4 checks passed
@saworbit
saworbit deleted the fix/jump-approach branch September 17, 2026 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Argus has one gait, and Frogbot needed a slow one and a run-up to land on small ledges

1 participant