|
@@ -5,7 +5,7 @@ using UnityEngine;
|
|
|
|
|
|
public static class CSVWriter
|
|
|
{
|
|
|
- private static string path = Application.dataPath + "/demo_and_body_positions.csv";
|
|
|
+ private static readonly string path = Application.dataPath + "/demo_and_body_positions.csv";
|
|
|
|
|
|
public static void WriteCSV(List<List<Vector3>> posJointsDemos, List<List<Vector3>> posJointsBodys, List<float> csvTimes)
|
|
|
{
|
|
@@ -28,7 +28,7 @@ public static class CSVWriter
|
|
|
for (int i = 0; i < posJointsDemos.Count; i++)
|
|
|
{
|
|
|
List<Vector3> demo = posJointsDemos[i];
|
|
|
- List<Vector3> body = posJointsDemos[i];
|
|
|
+ List<Vector3> body = posJointsBodys[i];
|
|
|
|
|
|
string d = "";
|
|
|
string b = "";
|