go to rotate

This commit is contained in:
acki
2025-11-26 18:30:46 +01:00
parent 060c5bfd61
commit d9d5cd0754

View File

@@ -10,7 +10,7 @@ namespace Modelec {
node_ = node; node_ = node;
nav_->GoTo(2500, 1200, M_PI_2, true, Pathfinding::FREE | Pathfinding::WALL | Pathfinding::OBSTACLE); nav_->GoToRotateFirst(2500, 1200, M_PI_2, true, Pathfinding::FREE | Pathfinding::WALL | Pathfinding::OBSTACLE);
go_timeout_ = node_->now(); go_timeout_ = node_->now();
@@ -49,7 +49,7 @@ namespace Modelec {
break; break;
case WAIT_5S: case WAIT_5S:
go_timeout_ = node_->now(); go_timeout_ = node_->now();
nav_->GoTo(2000, 700, 0, true, Pathfinding::FREE | Pathfinding::WALL | Pathfinding::OBSTACLE); nav_->GoToRotateFirst(2000, 700, 0, true, Pathfinding::FREE | Pathfinding::WALL | Pathfinding::OBSTACLE);
step_ = GO_TO_SEND; step_ = GO_TO_SEND;
break; break;