updating status log

This commit is contained in:
Sem van der Hoeven
2023-05-29 14:32:02 +02:00
parent 0054ba6500
commit a0c2c8e05f

View File

@@ -61,6 +61,7 @@
function update_status()
{
// {"battery_percentage": 100.0, "cpu_usage": 0.0, "armed": false, "control_mode": "attitude", "route_setpoint": 0}}
console.log("updating status")
var xhr = new XMLHttpRequest();
xhr.open("GET", "/status", true);
xhr.onreadystatechange = function() {