From 172d8c33132ab4a0e8ee1ef2267d956eade5b466 Mon Sep 17 00:00:00 2001
From: Simon Ottenhaus <simon.ottenhaus@kit.edu>
Date: Fri, 10 Oct 2014 14:16:28 +0200
Subject: [PATCH] improved display

---
 scenarios/WeissHapticSensorsUnitTest/tactile.html | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scenarios/WeissHapticSensorsUnitTest/tactile.html b/scenarios/WeissHapticSensorsUnitTest/tactile.html
index 6ea94f7d9..ace114689 100755
--- a/scenarios/WeissHapticSensorsUnitTest/tactile.html
+++ b/scenarios/WeissHapticSensorsUnitTest/tactile.html
@@ -91,10 +91,11 @@ var update = function(timestamp) {
 		sensor.pos = pos;
 		//html += '<div class="sensor">' + sensor.device + ", tag=" + sensor.tag;
 		html += sensor.device + ", tag=" + sensor.tag;
+		html += "<br />Frame " + pos + "/" + (sensor.data.length - 1);
 		if (sensor == primarySensor) {
 			html += " (Primary)";
 		}
-		html += "<br />Frame " + pos + "/" + (sensor.data.length - 1) + " t=" + formatDate(new Date(sensor.data[pos][0]/1000)) + displayData(sensor.data[pos][1]);// + '</div>';
+		html += "<br />t=" + formatDate(new Date(sensor.data[pos][0]/1000)) + displayData(sensor.data[pos][1]);// + '</div>';
 		//html += '<div class="sensor">' + sensor.device + ", tag=" + sensor.tag + "<br />Frame " + pos + "/" + (sensor.data.length - 1) + " t= " + (new Date(sensor.data[pos][0]/1000)) + displayData(sensor.data[pos][1]) + '</div>';
 		sensor.div.html(html);
 	}
-- 
GitLab