-
Notifications
You must be signed in to change notification settings - Fork 3
/
constraints.lua
11 lines (10 loc) · 920 Bytes
/
constraints.lua
1
2
3
4
5
6
7
8
9
10
11
print("Adding graph constraints")
-- Constraints for sending data:
wm:addNodeAttribute(rootId, "rsg:agent_policy", "send no PointClouds"); -- (default) exclude point cloud nodes. In SHERPA we use the Mediator + file transfer instead
--wm:addNodeAttribute(rootId, "rsg:agent_policy", "send no Atoms from context osm");
--wm:addNodeAttribute(rootId, "rsg:agent_policy", "send no Connections");
wm:addNodeAttribute(rootId, "rsg:agent_policy", "send no TransformUpdates with freq > 5 Hz"); -- (default) highly recommended limit on the update frequency
-- Constraint for rceiving data:
--wm:addNodeAttribute(rootId, "rsg:agent_policy", "receive no Atoms from context osm"); -- use this to exclude OpenStreetMap data
--wm:addNodeAttribute(rootId, "rsg:agent_policy", "receive no Connections");
--wm:addNodeAttribute(rootId, "rsg:agent_policy", "receive no Connections from context osm"); -- this one still does not work