mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 10:17:45 +08:00
simulation/gz_bridge: Fix build issues with unused variable
This commit is contained in:
@@ -169,7 +169,7 @@ int GZBridge::init()
|
|||||||
|
|
||||||
gz::msgs::StringMsg follow_msg{};
|
gz::msgs::StringMsg follow_msg{};
|
||||||
follow_msg.set_data(_model_name);
|
follow_msg.set_data(_model_name);
|
||||||
bool call_string_service = 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(-2.0);
|
follow_offset_msg.set_x(-2.0);
|
||||||
follow_offset_msg.set_y(-2.0);
|
follow_offset_msg.set_y(-2.0);
|
||||||
|
|||||||
Reference in New Issue
Block a user