Merge API branch into main #12

Merged
SemvdH merged 334 commits from api into main 2023-06-13 19:54:43 +00:00
Showing only changes of commit 545119633c - Show all commits

View File

@@ -322,6 +322,7 @@
if (checked_for_connection == false && connected_to_api)
{
console.log("Checking connection to API")
console.log(ws.readyState)
if (ws.readyState != WebSocket.OPEN) {
alert("Lost connection to API!")
document.getElementById("connectedlabel").innerHTML = "Not connected to drone";