Closed gsaponaro closed 8 years ago
Hi @AlexAntn, I analyzed this problem that we had again this afternoon in Lisbon, causing the above issue.
It is a situation in which the object recognition information is lost in the pipeline (in particular between IOL and activityInterface), even though everything shows as green in yarpmanager GUI. As a resultgetNames
was empty, so getLabel
of any valid set of coordinates asked by the world state obtained an empty string, thus the module was refusing to proceed in its initialization routine, trying over and over.
Restarting IOL (in particular ARE), making a yarp clean and reconnecting everything again fixed this.
I'm pretty positive this won't be a problem in Genoa, where they have a stable ARE, motor part and yarp network.
In any case, I added the following print in the world state if we ever see this again:
[WARNING]STATE_PERCEPTION_SET_MEMORY: getNames is empty
Marking as fixed.
worldStateManager is confused at times, even when input is stable (object recognition). It goes like this
for a few times, then eventually it succeeds in getting a unique <ID,label> mapping. Need to debug the function that constructs the map:
getTrackNames()
.