Skip to content

Conversation

@mfaferek93
Copy link

Pull Request

Summary

The ros2_medkit fault_manager now uses wall clock time for fault timestamps, so the UI workaround for simulation time is no longer needed.

Issue

Link the related issue (required):

  • closes #

Type

  • Bug fix
  • New feature
  • Breaking change
  • Documentation only

Testing

How was this tested / how should reviewers verify it?


Checklist

  • Breaking changes are clearly described (and announced in docs / changelog if needed)
  • Linting passes (npm run lint)
  • Build succeeds (npm run build)
  • Docs were updated if behavior or public API changed

The ros2_medkit fault_manager now uses wall clock time for fault
timestamps, so the UI workaround for simulation time is no longer needed.
@mfaferek93 mfaferek93 requested a review from Copilot February 1, 2026 19:16
@mfaferek93 mfaferek93 self-assigned this Feb 1, 2026
@mfaferek93 mfaferek93 added the bug Something isn't working label Feb 1, 2026
@mfaferek93 mfaferek93 requested a review from bburda February 1, 2026 19:18
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes a workaround in the fault timestamp handling that was needed when ros2_medkit's fault_manager used simulation time instead of wall clock time. The gateway now provides proper Unix timestamps, eliminating the need for client-side detection and correction.

Changes:

  • Simplified transformFault method by removing conditional timestamp logic that checked for simulation time (values < year 2000)

@mfaferek93 mfaferek93 merged commit c271cc1 into main Feb 1, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants