Skip to content

feat(ros): relay velocity commands on simulation time (T-093d) - #345

Merged
cursor[bot] merged 3 commits into
mainfrom
feat/T-093d-command-delay
Nov 22, 2026
Merged

cursor[bot] merged 3 commits into
mainfrom
feat/T-093d-command-delay

Conversation

@Reet24-del

Copy link
Copy Markdown
Collaborator

Summary

Apply P6 velocity latency with the shared FIFO and simulated time. Jazzy can relay either velocity message format, and the recorder receives the measured latency in seconds.

Links

Changes

  • Read the command delay, control frequency and stamped-message flag from the existing episode files.
  • Preserve the full command, including the header on TwistStamped. Forward immediately at zero delay, and discard queued commands on a backward clock jump.
  • Publish observed delay as Float64 on /roboprobe/cmd_delay_actual.

Test evidence

  • Isolated Jazzy with Fast DDS and CycloneDDS. In each runtime, the installed-node launch tests verified FIFO timing within one controller period, Twist and TwistStamped, zero-delay delivery with a frozen clock, and clean shutdown. The full package test command also passed.
  • Ruff, formatting, targeted strict mypy with untyped ROS imports ignored, vendor drift verification and git diff --check passed.

Checklist

  • Tests cover the requested simulation timing and message types.
  • Integration guide, traceability and unreleased changelog updated.
  • Commit uses the repository owner identity.

Risk & rollback

The standalone relay runs when explicitly included in a ROS launch. Revert the PR to restore the previous package.

@cursor
cursor Bot merged commit 1643d31 into main Nov 22, 2026
20 checks passed
@cursor
cursor Bot deleted the feat/T-093d-command-delay branch November 22, 2026 20:50
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.

[T-093d] Node cmd_delay: FIFO command latency /cmd_vel_nav → /cmd_vel (Twist/TwistStamped)

2 participants