TN1ck / robocup-ss13

Building the most awesome robot-soccer-team in existence.
2 stars 0 forks source link

Bug in scene.py #54

Open ghost opened 11 years ago

ghost commented 11 years ago

When I want to start the hole team this happens: screenshot from 2013-07-07 13 01 52

NiklasGebauer commented 11 years ago

This seems to be a bug caused by our multiprocessing. I'll try to fix asap. Since we don't use the scenegraph at the moment (as far as I know) I'll commit a version that doesn't update the scenegraph so that you can go on working and testing.

artifactz commented 11 years ago

Felix's statistics use the scene graph. they're not uber vital, but I need them for some position smoothing tuning I'd like to do soonish...

NiklasGebauer commented 11 years ago

You can use the scenegraph for statistics, as long as you run it on its own. I tested it with all the naos running and it worked fine. But as soon as it runs on the agent itself weird behavior occurs. I couldn't find out the reason yet, but I tend to say that it is caused by the multiprocessing datastructures that I use (eg. that flawed information is passed on or we accidentally drop messages). At least I couldn't reproduce the bug by just using the scene.py class on its own, so I think it should be okay to use it to make some statistics