Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 10, 2025
1 parent bc9fff1 commit d773b87
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ class AttackerSkillPlanner : public PlannerBase
std::cout << "AttackerSkillPlanner::getSelectedRobots: " << selectable_robots << std::endl;
if (auto our_frontier = world_model->getOurFrontier();
our_frontier && ranges::contains(selectable_robots, our_frontier->robot->id)) {
std::cout << "有効なフロンティア、" << static_cast<int>(our_frontier->robot->id) << "を選択" << std::endl;
std::cout << "有効なフロンティア、" << static_cast<int>(our_frontier->robot->id) << "を選択"
<< std::endl;
auto base =
std::make_shared<RobotCommandWrapperBase>("attacker", our_frontier->robot->id, world_model);
skill = std::make_shared<skills::Attacker>(base);
Expand All @@ -82,8 +83,8 @@ class AttackerSkillPlanner : public PlannerBase
},
prev_roles, context);
if (not selected_robots.empty()) {
std::cout << "ボールに一番近いロボット、" << static_cast<int>(selected_robots.front()) << "を選択"
<< std::endl;
std::cout << "ボールに一番近いロボット、" << static_cast<int>(selected_robots.front())
<< "を選択" << std::endl;
auto base = std::make_shared<RobotCommandWrapperBase>(
"attacker", selectable_robots.front(), world_model);
skill = std::make_shared<skills::Attacker>(base);
Expand Down

0 comments on commit d773b87

Please sign in to comment.