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

software/js-drone: change publishing interval

Set publishing interval to 200 ms so radio network is not overflown
parent d48e6418
...@@ -30,7 +30,7 @@ md5sum = d12fbb134c587173ddff46ff1bc6ffe7 ...@@ -30,7 +30,7 @@ md5sum = d12fbb134c587173ddff46ff1bc6ffe7
[main] [main]
_update_hash_filename_ = drone-scripts/main.js.jinja2 _update_hash_filename_ = drone-scripts/main.js.jinja2
md5sum = 4279a9e094dee9a530c27744aed0899d md5sum = d530a2f97e3796e6b2f95270252c3b70
[pubsub] [pubsub]
_update_hash_filename_ = drone-scripts/pubsub.js.jinja2 _update_hash_filename_ = drone-scripts/pubsub.js.jinja2
......
...@@ -33,7 +33,7 @@ import { err, exit, open, out } from "std"; ...@@ -33,7 +33,7 @@ import { err, exit, open, out } from "std";
pubsubWorker, pubsubWorker,
worker, worker,
user_script = scriptArgs[1], user_script = scriptArgs[1],
FPS = 50, // Minimum sampling interval for open62541 monitored items FPS = 200, // Minimum value to not overflow radio network
previous_timestamp, previous_timestamp,
can_update = false; 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