summaryrefslogtreecommitdiff
path: root/grapher/Models/Calculations/AccelData.cs
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-08-12 19:51:38 -0700
committerJacob Palecki <[email protected]>2020-08-12 19:51:38 -0700
commitb6254f32a6cfbd40bd1919950b344160f38bf1e4 (patch)
tree82a2a514f90b9781062b2919e2b17c4cc6f852bc /grapher/Models/Calculations/AccelData.cs
parentReorganized solution into directories (diff)
downloadrawaccel-b6254f32a6cfbd40bd1919950b344160f38bf1e4.tar.xz
rawaccel-b6254f32a6cfbd40bd1919950b344160f38bf1e4.zip
Factor accel calculations into calculation classes
Diffstat (limited to 'grapher/Models/Calculations/AccelData.cs')
-rw-r--r--grapher/Models/Calculations/AccelData.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/grapher/Models/Calculations/AccelData.cs b/grapher/Models/Calculations/AccelData.cs
new file mode 100644
index 0000000..d304660
--- /dev/null
+++ b/grapher/Models/Calculations/AccelData.cs
@@ -0,0 +1,32 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace grapher.Models.Calculations
+{
+ public class AccelData
+ {
+ public AccelData()
+ {
+ OrderedAccelPoints = new SortedDictionary<double, double>();
+ OrderedVelocityPoints = new SortedDictionary<double, double>();
+ OrderedGainPoints = new SortedDictionary<double, double>();
+ }
+
+ public SortedDictionary<double, double> OrderedAccelPoints { get; }
+
+ public SortedDictionary<double, double> OrderedVelocityPoints { get; }
+
+ public SortedDictionary<double, double> OrderedGainPoints { get; }
+
+ public void Clear()
+ {
+ OrderedAccelPoints.Clear();
+ OrderedVelocityPoints.Clear();
+ OrderedGainPoints.Clear();
+ }
+
+ }
+}