mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-04 12:24:57 +00:00
remove camera code
This commit is contained in:
@@ -48,10 +48,10 @@ document.addEventListener("DOMContentLoaded", function() {
|
||||
}
|
||||
|
||||
// Update the image
|
||||
function updateImage() {
|
||||
var img = document.getElementById("robot-image");
|
||||
img.src = "/image?" + new Date().getTime(); // Add timestamp to avoid caching
|
||||
}
|
||||
// function updateImage() {
|
||||
// var img = document.getElementById("robot-image");
|
||||
// img.src = "/image?" + new Date().getTime(); // Add timestamp to avoid caching
|
||||
// }
|
||||
|
||||
// Fetch and display sensor data every 1 second
|
||||
setInterval(parseData, 1000);
|
||||
|
Reference in New Issue
Block a user