Remove ping call
This commit is contained in:
parent
c7de4c0be7
commit
5d2ec3aad0
|
@ -11,7 +11,6 @@
|
|||
- `set_timeout(float_seconds)`
|
||||
- `get_client_version()`
|
||||
- `get_server_version()`
|
||||
- `ping()`
|
||||
- `get_world()`
|
||||
|
||||
## `carla.World`
|
||||
|
|
|
@ -39,10 +39,6 @@ namespace client {
|
|||
return _simulator->GetServerVersion();
|
||||
}
|
||||
|
||||
bool Ping() const {
|
||||
return _simulator->Ping();
|
||||
}
|
||||
|
||||
World GetWorld() const {
|
||||
return World{_simulator->GetCurrentEpisode()};
|
||||
}
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
|
|
@ -51,8 +51,6 @@ namespace detail {
|
|||
|
||||
std::string GetServerVersion();
|
||||
|
||||
bool Ping();
|
||||
|
||||
std::vector<rpc::ActorDefinition> GetActorDefinitions();
|
||||
|
||||
rpc::Actor GetSpectator();
|
||||
|
|
|
@ -89,10 +89,6 @@ namespace detail {
|
|||
return _client.GetServerVersion();
|
||||
}
|
||||
|
||||
bool Ping() {
|
||||
return _client.Ping();
|
||||
}
|
||||
|
||||
/// @}
|
||||
// =========================================================================
|
||||
/// @name Access to global objects in the episode
|
||||
|
|
|
@ -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)
|
||||
;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue