Ejemplo n.º 1
0
 public void OnTelemetryReceived(AccelFrame frame)
 {
     // Update the graphs
     foreach (var graph in graphs)
     {
         float val = graph.extractValueFunc(frame);
         graph.samples.samples.Add(new Sample()
         {
             millis = (int)frame.time, value = val
         });
         graph.instance.UpdateGraph();
     }
     lastSampleTime = (int)frame.time;
 }
Ejemplo n.º 2
0
 public void OnTelemetryReceived(AccelFrame frame)
 {
     graphs.OnTelemetryReceived(frame);
     die3D.UpdateAcceleration(frame.acc);
 }
Ejemplo n.º 3
0
 void OnDieTelemetryReceived(Die die, AccelFrame frame)
 {
     trackedDice[die].OnTelemetryReceived(frame);
 }