Commit d3d9e767 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 6e7665c3
...@@ -30,7 +30,7 @@ md5sum = 7d063b33dbdd7548e2a23bc4d8a66a43 ...@@ -30,7 +30,7 @@ md5sum = 7d063b33dbdd7548e2a23bc4d8a66a43
[main] [main]
_update_hash_filename_ = drone-scripts/main.js.jinja _update_hash_filename_ = drone-scripts/main.js.jinja
md5sum = 949a76094b502f831b10c2bc1dd75f95 md5sum = 1ad9042faa5b44e2896e5513181901e2
[pubsub] [pubsub]
_update_hash_filename_ = drone-scripts/pubsub.js.jinja _update_hash_filename_ = drone-scripts/pubsub.js.jinja
......
...@@ -22,7 +22,7 @@ import { exit, open } from "std"; ...@@ -22,7 +22,7 @@ import { exit, open } 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