Skip to content

Commit 6006e28

Browse files
committed
Adds new plays to PlaySelector
1 parent 8fbb044 commit 6006e28

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ateam_kenobi/src/core/play_selector.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ PlaySelector::PlaySelector(rclcpp::Node & node)
4444
node.get_node_parameters_interface());
4545
halt_play_ = addPlay<HaltPlay>(stp_options);
4646
addPlay<TestPlay>(stp_options);
47+
addPlay<CornerLineupPlay>("TheirLeftLineup", stp_options, 1.0, 1.0);
48+
addPlay<CornerLineupPlay>("TheirRightLineup", stp_options, 1.0, -1.0);
49+
addPlay<CornerLineupPlay>("OurLeftLineup", stp_options, -1.0, 1.0);
50+
addPlay<CornerLineupPlay>("OurRightLineup", stp_options, -1.0, -1.0);
4751
addPlay<DefaultStopPlay>(stp_options);
4852
addPlay<OffensiveStopPlay>(stp_options);
4953
addPlay<DefensiveStopPlay>(stp_options);
@@ -89,6 +93,8 @@ PlaySelector::PlaySelector(rclcpp::Node & node)
8993
addPlay<SpatialPassPlay>(stp_options);
9094
addPlay<FreeKickOnGoalPlay>(stp_options);
9195
addPlay<TestPassPlay>(stp_options);
96+
addPlay<TestPivotPlay>(stp_options);
97+
addPlay<DefendersOnlyPlay>(stp_options);
9298
}
9399

94100
stp::Play * PlaySelector::getPlay(const World & world, ateam_msgs::msg::PlaybookState & state_msg)

0 commit comments

Comments
 (0)