This commit is contained in:
acki
2025-05-29 16:59:53 -04:00
parent a2f15b539b
commit 3cb1aa9da1

View File

@@ -17,9 +17,7 @@ namespace Modelec
score_pub_ = node_->create_publisher<std_msgs::msg::Int64>("/strat/score", 10);
auto t = nav_->GetSpawn();
nav_->GoTo(t.x, t.y - 800, -M_PI_2, true, Pathfinding::FREE | Pathfinding::WALL | Pathfinding::OBSTACLE);
nav_->GoTo(375, 1600, -M_PI_2, true, Pathfinding::FREE | Pathfinding::WALL | Pathfinding::OBSTACLE);
go_home_time_ = node_->now();
@@ -42,9 +40,7 @@ namespace Modelec
case AWAIT_10S:
{
auto t = nav_->GetSpawn();
nav_->GoTo(t.x, t.y, -M_PI_2, true, Pathfinding::FREE | Pathfinding::WALL | Pathfinding::OBSTACLE);
nav_->GoTo(370, 1400, -M_PI_2, true, Pathfinding::FREE | Pathfinding::WALL | Pathfinding::OBSTACLE);
step_ = GO_HOME;
}