Update src/modules/simulation/gz_bridge/GZBridge.cpp

Co-authored-by: Frederik Markus <80588263+frede791@users.noreply.github.com>
This commit is contained in:
Jaeyoung Lim 2024-03-02 11:28:53 +01:00 committed by GitHub
parent 79e1571241
commit 5cb607c269
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ int GZBridge::init()
follow_msg.set_data(_model_name); follow_msg.set_data(_model_name);
callStringMsgService("/gui/follow", follow_msg); callStringMsgService("/gui/follow", follow_msg);
gz::msgs::Vector3d follow_offset_msg{}; gz::msgs::Vector3d follow_offset_msg{};
follow_offset_msg.set_x(6.0); follow_offset_msg.set_x(-6.0);
follow_offset_msg.set_y(0.0); follow_offset_msg.set_y(0.0);
follow_offset_msg.set_z(6.0); follow_offset_msg.set_z(6.0);
callVector3dService("/gui/follow/offset", follow_offset_msg); callVector3dService("/gui/follow/offset", follow_offset_msg);