Skip to content

Commit

Permalink
FORCED_PASSのパス位置を可変に
Browse files Browse the repository at this point in the history
  • Loading branch information
HansRobo committed Jan 12, 2025
1 parent 7d5a798 commit 3c0b08d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crane_robot_skills/src/attacker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ Attacker::Attacker(RobotCommandWrapperBase::SharedPtr & base)
if (receiver_id != -1) {
kick_target = world_model()->getOurRobot(receiver_id)->pose.pos;
}
kick_skill.setParameter("target", kick_target);
Segment kick_line{world_model()->ball.pos, kick_target};
// 近くに敵ロボットがいればチップキック
if (const auto enemy_robots = world_model()->theirs.getAvailableRobots();
Expand Down

0 comments on commit 3c0b08d

Please sign in to comment.