use grpc port -1 by default in PyBullet. add grpcClient.py and grpcServer.py
This commit is contained in:
@@ -255,7 +255,11 @@ int main(int argc, char** argv)
|
||||
int port = 6667;
|
||||
parseArgs.GetCmdLineArgument("port", port);
|
||||
std::string hostName = "localhost";
|
||||
std::string hostNamePort = hostName + ":" + std::to_string(port);
|
||||
std::string hostNamePort = hostName;
|
||||
if (port>=0)
|
||||
{
|
||||
hostNamePort += ":" + std::to_string(port);
|
||||
}
|
||||
|
||||
gVerboseNetworkMessagesServer = parseArgs.CheckCmdLineFlag("verbose");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user