libgazebo gets stuck when connecting to the simulator
I'm using libgazebo to connect to the simulator. I would like to run two
separate clients, but the second client I run always gets stuck.
Using versions pre-0.9 everything worked just fine using the following line
in both clients:
Since I switched to the SVN version it does not work anymore. According to
the documentation, I understand that the first client must connect using:
and the second, using:
The problem is that it does not work neither in the SVN or 0.9 version. The
second client I run always get stuck in the corresponding line. I tried
using 0.9 and the last SVN revision.
void Client::ConnectWait(int serverId, int clientId) stops in line 180:
void SimulationIface::Close() stops in line 102:
this->goAckThread->join(); //wait till it's stopped
It seems that the thread does'nt want to be stopped :) As I don't know much
about boost threads, I don't know how to solve the problem.