Skip to content

Commit

Permalink
Added the eCONNECT_SHARED_MEMORY_SERVER_CASE
Browse files Browse the repository at this point in the history
  • Loading branch information
Tordjx committed Jun 17, 2024
1 parent e9c461b commit 09a913d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions examples/RobotSimulator/b3RobotSimulatorClientAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,16 @@ bool b3RobotSimulatorClientAPI::connect(int mode, const std::string& hostName, i
sm = b3CreateInProcessPhysicsServerFromExistingExampleBrowserAndConnect(m_data->m_guiHelper);
break;
}
case eCONNECT_SHARED_MEMORY_SERVER:
{
if (portOrKey >= 0)
{
key = portOrKey;
}
sm = b3CreateInProcessPhysicsServerFromExistingExampleBrowserAndConnect3(0, key);
break;
}


case eCONNECT_GUI:
{
Expand Down

0 comments on commit 09a913d

Please sign in to comment.