Skip to content

Re-clamp follow cruise each tick through safety zones - #64

Merged
sujaydavalgi merged 2 commits into
mainfrom
feat/follow-per-waypoint-clamp
Jul 10, 2026
Merged

Re-clamp follow cruise each tick through safety zones#64
sujaydavalgi merged 2 commits into
mainfrom
feat/follow-per-waypoint-clamp

Conversation

@sujaydavalgi

Copy link
Copy Markdown
Collaborator

Summary

  • follow(path:) stores the requested cruise and re-applies max_speed / zone caps before every simulator tick.
  • Mid-path entry into a slower safety_zone now reduces cruise (regression test included).
  • Docs/known-limitations updated; SafeAction-per-waypoint remains explicitly not claimed.

Test plan

  • cargo test -p spanda-interpreter --test safety_clamp_runtime

Made with Cursor

Store the requested follow speed and re-apply safety.max_speed / zone
envelopes before every simulator tick so cruise drops when entering slower zones.
@sujaydavalgi
sujaydavalgi merged commit 69e1e38 into main Jul 10, 2026
@sujaydavalgi
sujaydavalgi deleted the feat/follow-per-waypoint-clamp branch July 10, 2026 17:47
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.

1 participant