updating status log
This commit is contained in:
@@ -61,6 +61,7 @@
|
|||||||
function update_status()
|
function update_status()
|
||||||
{
|
{
|
||||||
// {"battery_percentage": 100.0, "cpu_usage": 0.0, "armed": false, "control_mode": "attitude", "route_setpoint": 0}}
|
// {"battery_percentage": 100.0, "cpu_usage": 0.0, "armed": false, "control_mode": "attitude", "route_setpoint": 0}}
|
||||||
|
console.log("updating status")
|
||||||
var xhr = new XMLHttpRequest();
|
var xhr = new XMLHttpRequest();
|
||||||
xhr.open("GET", "/status", true);
|
xhr.open("GET", "/status", true);
|
||||||
xhr.onreadystatechange = function() {
|
xhr.onreadystatechange = function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user