change floats to ints
This commit is contained in:
@@ -18,7 +18,7 @@ var ws;
|
||||
var api_connected = false;
|
||||
|
||||
function send_events_to_clients(data) {
|
||||
console.log("sending events to clients");
|
||||
// console.log("sending events to clients");
|
||||
sse_clients.forEach((client) => {
|
||||
client.response.write("event: message\n");
|
||||
client.response.write("data:" + JSON.stringify(data) + "\n\n");
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
<p id="control_mode"></p>
|
||||
<p id="speed">Current speed</p>
|
||||
<p id="position">Current position</p>
|
||||
<p id="failsafe">Failsafe status</p>
|
||||
<p id="failsafe">Failsafe not enabled</p>
|
||||
</div>
|
||||
<!-- </div> -->
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user