Skip to content

Commit

Permalink
Rename tactic/stop folder to tactic/halt, renaming addresses wher…
Browse files Browse the repository at this point in the history
…e necessary
  • Loading branch information
someone2060 committed Oct 5, 2024
1 parent 835de96 commit 3d7810f
Show file tree
Hide file tree
Showing 18 changed files with 21 additions and 21 deletions.
8 changes: 4 additions & 4 deletions src/software/ai/hl/stp/play/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ cc_library(
deps = [
":play",
"//shared:constants",
"//software/ai/hl/stp/tactic/stop:halt_tactic",
"//software/ai/hl/stp/tactic/halt:halt_tactic",
"//software/logger",
"//software/util/generic_factory",
],
Expand Down Expand Up @@ -84,7 +84,7 @@ cc_library(
"//software/ai/hl/stp/tactic/goalie:goalie_tactic",
"//software/ai/hl/stp/tactic/move:move_tactic",
"//software/ai/hl/stp/tactic/shadow_enemy:shadow_enemy_tactic",
"//software/ai/hl/stp/tactic/stop:halt_tactic",
"//software/ai/hl/stp/tactic/halt:halt_tactic",
"//software/logger",
"//software/util/generic_factory",
"//software/world:game_state",
Expand Down Expand Up @@ -119,7 +119,7 @@ cc_library(
deps = [
"//software/ai/hl/stp/tactic",
"//software/ai/hl/stp/tactic/goalie:goalie_tactic",
"//software/ai/hl/stp/tactic/stop:halt_tactic",
"//software/ai/hl/stp/tactic/halt:halt_tactic",
"//software/ai/motion_constraint:motion_constraint_set_builder",
"//software/ai/navigator/trajectory:trajectory_planner",
"//software/ai/passing:pass_with_rating",
Expand Down Expand Up @@ -303,7 +303,7 @@ cc_library(
deps = [
":play",
"//shared:constants",
"//software/ai/hl/stp/tactic/stop:halt_tactic",
"//software/ai/hl/stp/tactic/halt:halt_tactic",
"//software/logger",
"//software/util/generic_factory",
],
Expand Down
2 changes: 1 addition & 1 deletion src/software/ai/hl/stp/play/enemy_free_kick/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ cc_library(
"//software/ai/hl/stp/tactic/goalie:goalie_tactic",
"//software/ai/hl/stp/tactic/move:move_tactic",
"//software/ai/hl/stp/tactic/pass_defender:pass_defender_tactic",
"//software/ai/hl/stp/tactic/stop:halt_tactic",
"//software/ai/hl/stp/tactic/halt:halt_tactic",
"//software/logger",
"//software/util/generic_factory",
"//software/world:game_state",
Expand Down
2 changes: 1 addition & 1 deletion src/software/ai/hl/stp/play/halt_play.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "software/ai/hl/stp/play/halt_play.h"

#include "software/ai/hl/stp/tactic/stop/halt_tactic.h"
#include "software/ai/hl/stp/tactic/halt/halt_tactic.h"
#include "software/util/generic_factory/generic_factory.h"

HaltPlay::HaltPlay(TbotsProto::AiConfig config) : Play(config, false) {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "software/ai/hl/stp/play/play_fsm.h"
#include "software/ai/hl/stp/tactic/move/move_tactic.h"
#include "software/ai/hl/stp/tactic/penalty_kick/penalty_kick_tactic.h"
#include "software/ai/hl/stp/tactic/stop/halt_tactic.h"
#include "software/ai/hl/stp/tactic/halt/halt_tactic.h"
#include "software/logger/logger.h"


Expand Down
2 changes: 1 addition & 1 deletion src/software/ai/hl/stp/play/play.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <Tracy.hpp>

#include "proto/message_translation/tbots_protobuf.h"
#include "software/ai/hl/stp/tactic/stop/halt_tactic.h"
#include "software/ai/hl/stp/tactic/halt/halt_tactic.h"
#include "software/ai/motion_constraint/motion_constraint_set_builder.h"
#include "software/logger/logger.h"

Expand Down
2 changes: 1 addition & 1 deletion src/software/ai/hl/stp/play/shoot_or_chip_play.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "software/ai/hl/stp/tactic/crease_defender/crease_defender_tactic.h"
#include "software/ai/hl/stp/tactic/move/move_tactic.h"
#include "software/ai/hl/stp/tactic/shadow_enemy/shadow_enemy_tactic.h"
#include "software/ai/hl/stp/tactic/stop/halt_tactic.h"
#include "software/ai/hl/stp/tactic/halt/halt_tactic.h"
#include "software/logger/logger.h"
#include "software/util/generic_factory/generic_factory.h"
#include "software/world/game_state.h"
Expand Down
2 changes: 1 addition & 1 deletion src/software/ai/hl/stp/play/test_plays/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cc_library(
hdrs = ["halt_test_play.h"],
deps = [
"//software/ai/hl/stp/play",
"//software/ai/hl/stp/tactic/stop:halt_tactic",
"//software/ai/hl/stp/tactic/halt:halt_tactic",
"//software/util/generic_factory",
],
alwayslink = True,
Expand Down
2 changes: 1 addition & 1 deletion src/software/ai/hl/stp/play/test_plays/halt_test_play.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "software/ai/hl/stp/play/test_plays/halt_test_play.h"

#include "software/ai/hl/stp/tactic/stop/halt_tactic.h"
#include "software/ai/hl/stp/tactic/halt/halt_tactic.h"
#include "software/geom/algorithms/contains.h"
#include "software/util/generic_factory/generic_factory.h"

Expand Down
2 changes: 1 addition & 1 deletion src/software/ai/hl/stp/stp_tactic_assignment_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "software/ai/hl/stp/play/halt_play.h"
#include "software/ai/hl/stp/stp.h"
#include "software/ai/hl/stp/tactic/all_tactics.h"
#include "software/ai/hl/stp/tactic/stop/halt_tactic.h"
#include "software/ai/hl/stp/tactic/halt/halt_tactic.h"
#include "software/test_util/test_util.h"

/**
Expand Down
2 changes: 1 addition & 1 deletion src/software/ai/hl/stp/tactic/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ cc_library(
"//software/ai/hl/stp/tactic/pivot_kick:pivot_kick_tactic",
"//software/ai/hl/stp/tactic/receiver:receiver_tactic",
"//software/ai/hl/stp/tactic/shadow_enemy:shadow_enemy_tactic",
"//software/ai/hl/stp/tactic/stop:halt_tactic",
"//software/ai/hl/stp/tactic/halt:halt_tactic",
],
)

Expand Down
2 changes: 1 addition & 1 deletion src/software/ai/hl/stp/tactic/all_tactics.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
#include "software/ai/hl/stp/tactic/pivot_kick/pivot_kick_tactic.h"
#include "software/ai/hl/stp/tactic/receiver/receiver_tactic.h"
#include "software/ai/hl/stp/tactic/shadow_enemy/shadow_enemy_tactic.h"
#include "software/ai/hl/stp/tactic/stop/halt_tactic.h"
#include "software/ai/hl/stp/tactic/halt/halt_tactic.h"
#include "software/ai/hl/stp/tactic/tactic.h"
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "software/ai/hl/stp/tactic/stop/halt_fsm.h"
#include "software/ai/hl/stp/tactic/halt/halt_fsm.h"

void HaltFSM::updateStop(const Update& event)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ struct HaltFSM
void updateStop(const Update& event);

/**
* Guard if the stop is done
* Guard if the halt is done
*
* @param event HaltFSM::Update
*
* @return if the robot has stopped
* @return if the robot has halted
*/
bool stopDone(const Update& event);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "software/ai/hl/stp/tactic/stop/halt_fsm.h"
#include "software/ai/hl/stp/tactic/halt/halt_fsm.h"

#include <gtest/gtest.h>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "software/ai/hl/stp/tactic/stop/halt_tactic.h"
#include "software/ai/hl/stp/tactic/halt/halt_tactic.h"

#include <algorithm>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "software/ai/hl/stp/tactic/stop/halt_fsm.h"
#include "software/ai/hl/stp/tactic/halt/halt_fsm.h"
#include "software/ai/hl/stp/tactic/tactic.h"

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "software/ai/hl/stp/tactic/stop/halt_tactic.h"
#include "software/ai/hl/stp/tactic/halt/halt_tactic.h"

#include <gtest/gtest.h>

Expand Down

0 comments on commit 3d7810f

Please sign in to comment.