Skip to content

MCAP Replay Service

Overview

The Replay Service allows users to play back previously recorded MCAP files, enabling detailed analysis of MCAP data. This service provides flexible playback options and integrates with live fusion and model data for comprehensive testing and validation.

How It Works

The Replay Service offers:

  • Playback of recorded MCAP files
  • Hybrid mode combining recorded and live data
  • Real-time status monitoring
  • Seamless integration with live system operations

Using the Replay Service

The Replay Service is built into the MCAP Recorder Modal.

MCAP Recorder Interface
MCAP Modal

You can visit the page by clicking the "MCAP Details" Button on any Raivin Page.

MCAP Recording and Details Buttons
MCAP Recording and Details Buttons

Starting Playback

  1. Locate your desired MCAP file in the file list
  2. Click the "Play" button MCAP Replay Play Button next to the file
  3. In the playback options dialog, choose your preferred settings:

    • Fusion Source: Choose between Live or MCAP data for the post-processed radar topics
    • Model Source: Choose between Live or MCAP data for the post-processed image topics

      MCAP Replay Options
      MCAP Replay Options

  4. Click "Start" to begin playback

During playback, the currently playing file will have its "Play" button become a "Stop" button. The State Indicator top ribbon will also note the platform is in "Replay Mode".

MCAP Replay Options
MCAP Replay Mode

Now that the device is in "Replay Mode", the inputs to the Segmentation, Occupancy, GPS, and IMU pages will come from the MCAP file instead of from the live sensors.

Playback Controls

  • Click the "Live Mode" button to return to displaying live sensor data.
MCAP Replay Options
MCAP Replay Options
  • Click the stop button MCAP Replay Stop Button on the playing file to end playback

    Note

    Stopping a file from replaying will not put the device back into "Live Mode". You must click the "Live Mode" button to return to "Live Mode".

Note

When a file is playing, you cannot play another file until you stop the current playback. Once you stop a file, you can start playing another file by clicking its "Play" button.

Hybrid Mode

The Replay Service supports a hybrid mode where you can:

  • Play back recorded sensor data while using live fusion and/or model data

    MCAP Replay Options
    MCAP Replay Options

  • Use recorded data for some systems while maintaining live data for others

  • Mix and match recorded and live data sources based on your testing needs

Status Monitoring

This section describes the various states the system can be in and how they are reported.

Status Indicator Button (Maivin/Raivin only)

Located in the top-right corner, the status indicator button shows status and state:

  • Live Mode (Green): System mode is operating with live data and system status is working normally.
Live Mode Status
Live Mode Status
  • Replay Mode (Blue): System is playing back an MCAP file and system status is working normally.
Replay Mode Status
Replay Mode Status
  • Stopped (Red): System is not playing back an MCAP nor operating with live data.
Stopped Status
Stopped Status
  • Degraded Mode (Amber): The system status is some expected services are not enabled.
Degraded Status
Degraded Status

Click this button to view detailed service status, which shows the individual service states (Running/Stopped).

Service Status Modal
Service Status Modal

Recording Button

The button changes to contain a pulsing white circle and non-pulsing text on a red background when the system is actively recording.

MCAP Recording
Recording