diff --git a/OSCCollar/ConsoleOutput.cs b/OSCCollar/ConsoleOutput.cs index f930160..60e3fcf 100644 --- a/OSCCollar/ConsoleOutput.cs +++ b/OSCCollar/ConsoleOutput.cs @@ -35,13 +35,15 @@ public partial class OSCCollar layout["Variable-Values"].Update(variableTable); layout["Position"].Update(new Panel(new Text(GetCoordinateSystem()))); - variableTable.AddRow("Status", $"{(_allowMoving ? "enabled" : "disabled")}"); - variableTable.AddRow("GPS 1", $"{_gps1.Distance:00.00000}"); - variableTable.AddRow("GPS 2", $"{_gps2.Distance:00.00000}"); - variableTable.AddRow("GPS 3", $"{_gps3.Distance:00.00000}"); - variableTable.AddRow("Position Vector", $"{_unitVectorLeash}"); - variableTable.AddRow("Leash Stretch", $"{_leashStretch:0.00000}"); - variableTable.AddRow("Movement Vector", $"{_movementVector}"); + variableTable.AddRow("Status", ""); + variableTable.AddRow("GPS 1", ""); + variableTable.AddRow("GPS 2", ""); + variableTable.AddRow("GPS 3", ""); + variableTable.AddRow("Position Vector", ""); + variableTable.AddRow("Leash Stretch", ""); + variableTable.AddRow("Movement Vector", ""); + variableTable.AddRow("CalibrationX", ""); + variableTable.AddRow("CalibrationY", ""); AnsiConsole.Live(layout).StartAsync(async displayContext => { @@ -54,6 +56,8 @@ public partial class OSCCollar variableTable.Rows.Update(4, 1, new Text($"{_unitVectorLeash}")); variableTable.Rows.Update(5, 1, new Text($"{_leashStretch:0.00000}")); variableTable.Rows.Update(6, 1, new Text($"{_movementVector}")); + variableTable.Rows.Update(7, 1, new Text($"{GetCalibrationValues().Item1}")); + variableTable.Rows.Update(8, 1, new Text($"{GetCalibrationValues().Item2}")); layout["Position"].Update(new Panel(new Text(GetCoordinateSystem()))); displayContext.Refresh(); await Task.Delay(100);