Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gz: increase timeout for service request #24164

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/modules/simulation/gz_bridge/GZBridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ bool GZBridge::callSceneInfoMsgService(const std::string &service)
gz::msgs::Empty req;
gz::msgs::Scene rep;

if (_node.Request(service, req, 1000, rep, result)) {
if (_node.Request(service, req, 3000, rep, result)) {
if (!result) {
PX4_ERR("Scene Info service call failed.");
return false;
Expand All @@ -955,7 +955,7 @@ bool GZBridge::callStringMsgService(const std::string &service, const gz::msgs::

gz::msgs::Boolean rep;

if (_node.Request(service, req, 1000, rep, result)) {
if (_node.Request(service, req, 3000, rep, result)) {
if (!rep.data() || !result) {
PX4_ERR("String service call failed");
return false;
Expand All @@ -977,7 +977,7 @@ bool GZBridge::callVector3dService(const std::string &service, const gz::msgs::V

gz::msgs::Boolean rep;

if (_node.Request(service, req, 1000, rep, result)) {
if (_node.Request(service, req, 3000, rep, result)) {
if (!rep.data() || !result) {
PX4_ERR("String service call failed");
return false;
Expand Down
Loading