Skip to content

Commit

Permalink
Merge pull request #149 from ibis-ssl/fix/goalie
Browse files Browse the repository at this point in the history
GoalieSkillPlannerで色々ちゃんと初期化した
  • Loading branch information
HansRobo authored Feb 20, 2024
2 parents 379381e + a376357 commit 0d84dbd
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ namespace crane
} \
}

// DEFINE_SKILL_PLANNER(Goalie);

class GoalieSkillPlanner : public PlannerBase
{
public:
Expand Down Expand Up @@ -87,6 +85,9 @@ class GoalieSkillPlanner : public PlannerBase
uint8_t selectable_robots_num, const std ::vector<uint8_t> & selectable_robots)
-> std ::vector<uint8_t> override
{
skill = std ::make_shared<skills ::Goalie>(world_model->getOurGoalieId(), world_model);
robot_command_wrapper =
std ::make_shared<RobotCommandWrapper>(world_model->getOurGoalieId(), world_model);
return {world_model->getOurGoalieId()};
}
};
Expand Down

0 comments on commit 0d84dbd

Please sign in to comment.