From d432ea6b7d3eda370cd0f12ed081fdcf2b4b8e26 Mon Sep 17 00:00:00 2001 From: matteo Date: Thu, 3 Sep 2026 11:50:02 +0200 Subject: [PATCH] Fix simSpawnObject argument count in the C++ client The server binds six parameters and the client sent five, so every call failed on arity. The Python client already passes all six. --- AirLib/src/api/RpcLibClientBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AirLib/src/api/RpcLibClientBase.cpp b/AirLib/src/api/RpcLibClientBase.cpp index dec50c9b8..f693a07fc 100644 --- a/AirLib/src/api/RpcLibClientBase.cpp +++ b/AirLib/src/api/RpcLibClientBase.cpp @@ -630,7 +630,7 @@ __pragma(warning(disable : 4239)) std::string RpcLibClientBase::simSpawnObject(const std::string& object_name, const std::string& load_component, const Pose& pose, const Vector3r& scale, bool physics_enabled) { - return pimpl_->client.call("simSpawnObject", object_name, load_component, RpcLibAdaptorsBase::Pose(pose), RpcLibAdaptorsBase::Vector3r(scale), physics_enabled).as(); + return pimpl_->client.call("simSpawnObject", object_name, load_component, RpcLibAdaptorsBase::Pose(pose), RpcLibAdaptorsBase::Vector3r(scale), physics_enabled, false).as(); } bool RpcLibClientBase::simDestroyObject(const std::string& object_name)