remove sensor logging
This commit is contained in:
		@@ -63,7 +63,6 @@ Sumorobot.prototype.connect = function() {
 | 
				
			|||||||
        self.sensors = JSON.parse(data);
 | 
					        self.sensors = JSON.parse(data);
 | 
				
			||||||
        // When sensor data received
 | 
					        // When sensor data received
 | 
				
			||||||
        if (self.sensors['battery_voltage']) {
 | 
					        if (self.sensors['battery_voltage']) {
 | 
				
			||||||
            console.log(self.sensors);
 | 
					 | 
				
			||||||
            if (self.sensors['battery_voltage'] > 4.0) {
 | 
					            if (self.sensors['battery_voltage'] > 4.0) {
 | 
				
			||||||
                $("#battery img").attr("src", "assets/img/battery_full.png");
 | 
					                $("#battery img").attr("src", "assets/img/battery_full.png");
 | 
				
			||||||
            } else if (self.sensors['battery_voltage'] > 3.1) {
 | 
					            } else if (self.sensors['battery_voltage'] > 3.1) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user