Initial commit

This commit is contained in:
2026-07-03 16:37:12 +07:00
commit 63b8c1ea8b
1931 changed files with 640587 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
using RobotNet10.NavigationTune.Shared.Models;
namespace RobotNet10.NavigationTune.Shared.Hubs;
/// <summary>
/// DTOs for SignalR messages
/// </summary>
public class TelemetryUpdateDto
{
public long TimestampMs { get; set; }
public double X { get; set; }
public double Y { get; set; }
public double Theta { get; set; }
public double LinearVelocity { get; set; }
public double AngularVelocity { get; set; }
public double CrossTrackError { get; set; }
public double HeadingError { get; set; }
public double DistanceToGoal { get; set; }
public double CommandedLinearVelocity { get; set; }
public double CommandedAngularVelocity { get; set; }
}
public class TestStatusUpdateDto
{
public Guid TestRunId { get; set; }
public TestStatus Status { get; set; }
public double ProgressPercent { get; set; }
public string? Message { get; set; }
}
public class SafetyEventDto
{
public Guid TestRunId { get; set; }
public ViolationType Type { get; set; }
public ViolationSeverity Severity { get; set; }
public string Message { get; set; } = string.Empty;
public DateTime Timestamp { get; set; }
}