-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't workingserverlandnetwork, structure, dataflow, osc, robot handlingnetwork, structure, dataflow, osc, robot handling
Description
The automatic robot discovery only works correctly, if the ipv4 network is first in the list of networks.
The code that should have prevented this has some issues. I was able to fix it for my network setup, but I'm not sure if this will fix it for everyone.
In the function Serverland/controller/controller.js -> searchRobots(), the "alias" variable is not being incremented when skipping ipv6 and local networks, it is only ever increased at the end of the function and never get bigger that 1. This causes the "searchalias" to be set incorrectly, which in turn causes the wrong network to be selected for searching.
I think it's possibly fixable by incrementing the "alias" whenever a network is skipped.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingserverlandnetwork, structure, dataflow, osc, robot handlingnetwork, structure, dataflow, osc, robot handling