patch + log

This commit is contained in:
acki
2025-05-30 07:50:14 -04:00
parent ab25145199
commit f16f168347
3 changed files with 3 additions and 3 deletions

View File

@@ -221,7 +221,7 @@ namespace Modelec
void PCBOdoInterface::PCBCallback(const std_msgs::msg::String::SharedPtr msg)
{
RCLCPP_INFO(this->get_logger(), "Received from PCB: %s", msg->data.c_str());
RCLCPP_DEBUG(this->get_logger(), "Received from PCB: %s", msg->data.c_str());
std::vector<std::string> tokens = split(trim(msg->data), ';');
if (tokens.size() < 2)
{

View File

@@ -80,7 +80,7 @@ namespace Modelec
case UNDEPLOY_BANNER:
{
go_timeout_ = node_->now();
nav_->GoTo(spawn_.x, (nav_->GetPathfinding()->robot_length_mm_ / 2) + 550, M_PI_2, true, Pathfinding::FREE | Pathfinding::WALL | Pathfinding::OBSTACLE);
nav_->GoTo(spawn_.x, 500, M_PI_2, true, Pathfinding::FREE | Pathfinding::WALL | Pathfinding::OBSTACLE);
step_ = GO_FORWARD;
}

View File

@@ -159,7 +159,7 @@ namespace Modelec
{
Transition(State::DO_PROMOTION, "Start promotion");
}
else
else if (elapsed.seconds() >= 100)
{
Transition(State::STOP, "All missions done");
}