From: Claudio C. <er...@li...> - 2012-11-17 13:02:42
|
Hi all. Using player 3.1.0-svn and stage 4.1.1 git. Attached you'll find my simulation environment. It's made up of 3 identical pionners, each with two position drivers (absolute and relative) and two rangers (laser and sonar). There are also 2 graphics2d drivers. I currently am driving just r1 from an outside C program and using both the available graphics2d interfaces. My program stores positions and then drives the robot from its actual position to the first registered. These positions are overlaid on the screen via one of the graphics2d interfaces, the other is used to show the vectors calculated by the control algorithm. Well fact is that at some point the robot disappears from player/stage and my algorithm starts getting Nan as positions. Nothing crashes and there is no error, but nothing really works anymore. Solution: close everything and relaunch player. At first I thought some overloading of the graphics2d may cause this, but I clear the cache on every redraw. So I can run for 1 maybe 2 minutes (and luckily this usually serves the purpose for now) and then I have to reset everything. This happens on two very different computers: my i7 desktop, and my core2duo laptop. If anyone had any idea about this, I'd be happy to hear it. Regards Claudio |