launch file

This commit is contained in:
acki
2025-10-15 16:53:44 +02:00
parent 3677a48966
commit b972b353bb

View File

@@ -252,7 +252,7 @@ namespace ModelecGUI
modelec_interfaces::msg::OdometryGoTo msg; modelec_interfaces::msg::OdometryGoTo msg;
msg.x = Modelec::mapValue(event->pos().x(), 0, width(), 0, 3000); msg.x = Modelec::mapValue(event->pos().x(), 0, width(), 0, 3000);
msg.y = 2000 - Modelec::mapValue(event->pos().y(), 0, height(), 0, 2000); msg.y = 2000 - Modelec::mapValue(event->pos().y(), 0, height(), 0, 2000);
msg.theta = atan2(msg.x, msg.y); msg.theta = atan2(-msg.x, -msg.y);
msg.close = true; msg.close = true;
if (show_obstacle_) if (show_obstacle_)
{ {