mirror of
https://github.com/modelec/modelec-marcel-ROS.git
synced 2026-01-18 16:47:43 +01:00
screen
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user