mirror of
https://github.com/modelec/modelec-marcel-ROS.git
synced 2026-01-18 16:47:43 +01:00
banner mission
This commit is contained in:
@@ -20,7 +20,7 @@ namespace Modelec
|
|||||||
|
|
||||||
spawn_ = nav_->GetSpawn();
|
spawn_ = nav_->GetSpawn();
|
||||||
|
|
||||||
nav_->GoTo(spawn_.x, 160, M_PI_2, true, Pathfinding::FREE | Pathfinding::WALL | Pathfinding::OBSTACLE);
|
nav_->GoTo(spawn_.x, 100, M_PI_2, true, Pathfinding::FREE | Pathfinding::WALL | Pathfinding::OBSTACLE);
|
||||||
|
|
||||||
go_timeout_ = node_->now();
|
go_timeout_ = node_->now();
|
||||||
|
|
||||||
@@ -80,7 +80,7 @@ namespace Modelec
|
|||||||
case UNDEPLOY_BANNER:
|
case UNDEPLOY_BANNER:
|
||||||
{
|
{
|
||||||
go_timeout_ = node_->now();
|
go_timeout_ = node_->now();
|
||||||
nav_->GoTo(spawn_.x, 500, M_PI_2, true, Pathfinding::FREE | Pathfinding::WALL | Pathfinding::OBSTACLE);
|
nav_->GoTo(spawn_.x, 300, M_PI_2, true, Pathfinding::FREE | Pathfinding::WALL | Pathfinding::OBSTACLE);
|
||||||
|
|
||||||
step_ = GO_FORWARD;
|
step_ = GO_FORWARD;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user