Open xwq112132 opened 2 years ago
I can't get out of here all the time: while (namespaces.empty() && gazebo::common::Time::GetWallTime() - startTime < _maxWait)
My problem has been solved. After compiling with qtcreator, I found a setup in the makefile directory SH's shell script, I tried to execute it but failed, and then I tried to execute it: sudo make install, then punch in gzclient and it succeeded, although I don't know why..
First punch in gzserver, and then execute gzclient with qtcreator, so you can debug .
I have compiled the source code, but the runtime is stuck in the loop of a function.
This function is : bool transport::waitForNamespaces(const gazebo::common::Time &_maxWait); And this function is defined in this file: gazebo-gazebo11/gazebo/transport/TransportIface.cc
In addition, I have also started the gzserver program. Who can help me make gazebo really work?
` bool transport::waitForNamespaces(const gazebo::common::Time &_maxWait) { // If the ConnectionManager has not been initialized, then there is no point // in waiting for namespaces. if (!ConnectionManager::Instance()->IsInitialized()) { gzerr << "ConnectionManager has not been initialized!\n"; return false; }
}`