Commit 8141a390 authored by Léo-Paul Géneau's avatar Léo-Paul Géneau 👾

software/js-drone: Update FPS value

Update FPS value to respect minimum sampling value of open62541 monitored items
parent e789e704
......@@ -26,7 +26,7 @@ md5sum = 1ff50063f5a54712a0bc0ff38fa74630
[main]
filename = main.js
md5sum = 5f66cdcc84945749e1f8f7b017e70fc2
md5sum = c22879bb553a0932dd145a58acdf37e6
[pubsub]
filename = pubsub.js
......
......@@ -29,8 +29,8 @@ import { open, exit } from "std";
var pubsubWorker,
worker = new Worker("{{ worker_script }}"),
user_script = scriptArgs[1],
// Use the same FPS than browser's requestAnimationFrame
FPS = 1000 / 60,
// Minimum sampling interval for open62541 monitored items
FPS = 50,
previous_timestamp,
can_update = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment