Remove ping call

This commit is contained in:
nsubiron 2018-10-16 19:34:36 +02:00
parent c7de4c0be7
commit 5d2ec3aad0
6 changed files with 0 additions and 16 deletions

View File

@ -11,7 +11,6 @@
- `set_timeout(float_seconds)`
- `get_client_version()`
- `get_server_version()`
- `ping()`
- `get_world()`
## `carla.World`

View File

@ -39,10 +39,6 @@ namespace client {
return _simulator->GetServerVersion();
}
bool Ping() const {
return _simulator->Ping();
}
World GetWorld() const {
return World{_simulator->GetCurrentEpisode()};
}

View File

@ -69,10 +69,6 @@ namespace detail {
return _pimpl->CallAndWait<std::string>("version");
}
bool Client::Ping() {
return _pimpl->CallAndWait<bool>("ping");
}
std::vector<rpc::ActorDefinition> Client::GetActorDefinitions() {
return _pimpl->CallAndWait<std::vector<rpc::ActorDefinition>>("get_actor_definitions");
}

View File

@ -51,8 +51,6 @@ namespace detail {
std::string GetServerVersion();
bool Ping();
std::vector<rpc::ActorDefinition> GetActorDefinitions();
rpc::Actor GetSpectator();

View File

@ -89,10 +89,6 @@ namespace detail {
return _client.GetServerVersion();
}
bool Ping() {
return _client.Ping();
}
/// @}
// =========================================================================
/// @name Access to global objects in the episode

View File

@ -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)
;
}