Skip to content

Pro6000 - #797

Open
scflow wants to merge 3 commits into
NVIDIA:mainfrom
scflow:Pro6000
Open

scflow wants to merge 3 commits into
NVIDIA:mainfrom
scflow:Pro6000

Conversation

@scflow

@scflow scflow commented Nov 27, 2026

Copy link
Copy Markdown

No description provided.

@scflow
scflow requested a review from a team as a code owner November 27, 2026 01:12
@scflow
scflow requested a review from jmccaffrey-nv November 27, 2026 01:12
@copy-pr-bot

copy-pr-bot Bot commented Nov 27, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@greptile-apps

greptile-apps Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 0/5 · Do not merge until the Wan startup failure, gamepad gear loop, actor recording errors, and cross-site driving access are fixed.RetriggerView in GreptileConfidence Score: 0/5

[High impact] The PR reaches ROS-driven simulation, multiview model output, and shared Web serving.

Do not merge until the Wan startup failure, gamepad gear loop, actor recording errors, and cross-site driving access are fixed.

Findings

  1. P1 Remote Wan startup fails ▶
  2. P1 Gamepad gear changes fail ▶
  3. P1 Security Other websites gain driving control ▶
  4. P1 Recorded actors use wrong frames ▶
  5. P2 Map traffic disappears ▶
  6. P2 Connection errors stay hidden ▶

Summary

This PR adds ROS 2 driving, a browser cockpit, session recordings, and comparison videos. It also adds mixed-resolution camera generation and changes vehicle timing.

  • ROS clients can advance Interactive Drive one controlled step at a time.
  • Multiview driving keeps the main camera detailed and adds synchronized map output.
  • Interactive Drive can present camera streams, driving controls, and telemetry in a cockpit.
  • Drivers can save a drive and compare it with a reference recording.
  • Rendered geometry keeps the visible part of faces that cross the camera's near plane.

Diagram

sequenceDiagram
  participant Driver as Browser or ROS driver
  participant Host as Interactive Drive
  participant Model as Camera model
  participant Files as Recording files
  Driver->>Host: Driving controls or reset
  Host->>Host: Sample vehicle trajectory
  Host->>Model: Poses and scene controls
  Model-->>Host: Camera frames and BEV
  Host-->>Driver: Video and vehicle state
  Host->>Files: Frames, poses, controls, actors
  Files-->>Driver: Completed archive
Loading

Reviews (1) · Last reviewed commit: "Add ROS 2 driving and dynamic cockpit ca..." · Reviewed by Greptile

"transformer/diffusion_pytorch_model.safetensors.index.json"
)
_WAN22_VAE_PATH = "https://huggingface.co/Wan-AI/Wan2.2-TI2V-5B/resolve/main/Wan2.2_VAE.pth"
_WAN22_TEXT_ENCODER = None

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P1 Remote Wan startup fails

When the author's local model directory is absent, _WAN22_TEXT_ENCODER becomes None and overrides the working default. initialize_cache() then fails because it cannot load the required text encoder. Keep a valid text encoder config in the remote-checkpoint branch.

if (el) el.classList.toggle('active', gear.toLowerCase() === g);
});

this.updateControls();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P1 Gamepad gear changes fail

pollGamepad() calls setGear(), which calls updateControls() and starts another gamepad poll before the first finishes. Holding a D-pad direction repeats this until the browser throws a stack overflow. B/X shifts also repeat before lastGamepadButtons is updated. New steering and pedal commands are not sent. Change the gear without starting another poll.

return web.json_response(
{"sdp": local_description.sdp, "type": local_description.type}
{"sdp": local_description.sdp, "type": local_description.type},
headers={"Access-Control-Allow-Origin": "*"},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P1 security Other websites gain driving control

If an unrelated website can reach the backend on a known port, such as the documented 8089, wildcard CORS lets it read the WebRTC answer and complete a connection. _offer() checks neither the origin nor a session secret, and the new connection replaces the current driver. The page can then receive video and send driving controls. Allow only configured cockpit origins or require a session secret before accepting an offer.

How this was verified: The offer endpoint accepts unauthenticated offers, returns its answer to every origin, and routes the resulting data channel directly to driving inputs.

Comment on lines +131 to +132
"translation_world": actor.translations_world[i].tolist(),
"orientation_xyzw": actor.orientations_xyzw[i].tolist(),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P1 Recorded actors use wrong frames

append() uses the current chunk's frame index for every actor track. But build_trajectories() also returns full recorded tracks for actors outside the active physics window. These tracks restart at index zero in every saved chunk, giving actors the wrong positions. A short track can also raise IndexError and stop recording. Sample each actor at the frame timestamp using actor.timestamps_us.

Comment on lines +348 to +349
else:
query_times = query_times.clamp_max(self._at(int(self._map[-1])))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 Map traffic disappears

With the ego car enabled, render_bev() never caps scene time at the last source frame. The normal cockpit uses this branch, while RGB controls keep showing the last source frame after the clip ends. Prepared scenes allow no extrapolation, so traffic disappears from the BEV even though it remains in the controls. Keep the ego pose current, but sample recorded objects at the same capped time as RGB.

Comment on lines +508 to +513
private connectionStatus(message: string, failed = false): void {
const status = document.getElementById('connection-status');
if (status) {
status.textContent = message;
status.dataset.state = failed ? 'error' : 'info';
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 Connection errors stay hidden

renderTelemetry() hides the connection banner after connecting, but connectionStatus() never makes it visible again. Later disconnects and failed reconnects update a hidden element, leaving users with frozen video and no error message. Restore the banner when reporting connection progress or errors.

This branch has not been deployed

No deployments
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.

3 participants