This commit is contained in:
acki
2025-05-29 06:34:48 -04:00
parent 613a4cbaca
commit 37f20a7418

View File

@@ -20,8 +20,8 @@ namespace ModelecGUI
spawn_sub_ = node_->create_subscription<modelec_interfaces::msg::Spawn>("/nav/spawn", 10,
[this, w, h](const modelec_interfaces::msg::Spawn::SharedPtr msg)
{
auto ratioX = 1200 / 3000.0f;
auto ratioY = 800 / 2000.0f;
auto ratioX = 600 / 3000.0f;
auto ratioY = 400 / 2000.0f;
auto* button = new QPushButton(this);
spawn_buttons_.push_back(button);