@using RobotNet.VDA5050.State Velocity @if (State?.Velocity != null) { Vx: @State.Velocity.Vx.ToString("F3") m/s Vy: @State.Velocity.Vy.ToString("F3") m/s Omega: @State.Velocity.Omega.ToString("F3") rad/s } else { No velocity data available } @code { public StateMsg? State { get; set; } public void Update(StateMsg? state) { State = state; StateHasChanged(); } }