diff --git a/Docs/python_api.md b/Docs/python_api.md index b9b71237f..e790dc7f8 100644 --- a/Docs/python_api.md +++ b/Docs/python_api.md @@ -11,7 +11,6 @@ - `set_timeout(float_seconds)` - `get_client_version()` - `get_server_version()` -- `ping()` - `get_world()` ## `carla.World` diff --git a/LibCarla/source/carla/client/Client.h b/LibCarla/source/carla/client/Client.h index d380da98e..2f353bf68 100644 --- a/LibCarla/source/carla/client/Client.h +++ b/LibCarla/source/carla/client/Client.h @@ -39,10 +39,6 @@ namespace client { return _simulator->GetServerVersion(); } - bool Ping() const { - return _simulator->Ping(); - } - World GetWorld() const { return World{_simulator->GetCurrentEpisode()}; } diff --git a/LibCarla/source/carla/client/detail/Client.cpp b/LibCarla/source/carla/client/detail/Client.cpp index 4ebdf1675..245f7f63f 100644 --- a/LibCarla/source/carla/client/detail/Client.cpp +++ b/LibCarla/source/carla/client/detail/Client.cpp @@ -69,10 +69,6 @@ namespace detail { return _pimpl->CallAndWait("version"); } - bool Client::Ping() { - return _pimpl->CallAndWait("ping"); - } - std::vector Client::GetActorDefinitions() { return _pimpl->CallAndWait>("get_actor_definitions"); } diff --git a/LibCarla/source/carla/client/detail/Client.h b/LibCarla/source/carla/client/detail/Client.h index 14dbea193..401dfb761 100644 --- a/LibCarla/source/carla/client/detail/Client.h +++ b/LibCarla/source/carla/client/detail/Client.h @@ -51,8 +51,6 @@ namespace detail { std::string GetServerVersion(); - bool Ping(); - std::vector GetActorDefinitions(); rpc::Actor GetSpectator(); diff --git a/LibCarla/source/carla/client/detail/Simulator.h b/LibCarla/source/carla/client/detail/Simulator.h index 3a55a76bf..5cffc50a9 100644 --- a/LibCarla/source/carla/client/detail/Simulator.h +++ b/LibCarla/source/carla/client/detail/Simulator.h @@ -89,10 +89,6 @@ namespace detail { return _client.GetServerVersion(); } - bool Ping() { - return _client.Ping(); - } - /// @} // ========================================================================= /// @name Access to global objects in the episode diff --git a/PythonAPI/source/libcarla/Client.cpp b/PythonAPI/source/libcarla/Client.cpp index 44a7ca020..47f8ed4d6 100644 --- a/PythonAPI/source/libcarla/Client.cpp +++ b/PythonAPI/source/libcarla/Client.cpp @@ -22,7 +22,6 @@ void export_client() { .def("set_timeout", &::SetTimeout, (arg("seconds"))) .def("get_client_version", &cc::Client::GetClientVersion) .def("get_server_version", CONST_CALL_WITHOUT_GIL(cc::Client, GetServerVersion)) - .def("ping", CONST_CALL_WITHOUT_GIL(cc::Client, Ping)) .def("get_world", &cc::Client::GetWorld) ; }