Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
Merge branch 'cleanup' of github.com:bit-bots/bitbots_navigation into…
Browse files Browse the repository at this point in the history
… cleanup
  • Loading branch information
Flova committed Oct 20, 2023
2 parents 0083c06 + 2ba61d9 commit dfd59ab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<launch>
<test pkg="bitbots_localization" exec="test_inital_localization_side.py" test-name="test_inital_localization_side"/>
<test pkg="bitbots_localization" exec="test_initial_localization_side.py" test-name="test_initial_localization_side"/>

<!-- load the general simulator and motion -->
<include file="$(find-pkg-share bitbots_utils)/launch/simulator.launch">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


class TestInitialLocalizationSide(WebotsTestCase):
def test_inital_localization_side(self):
def test_initial_localization_side(self):
# Check if we heard from the localization
sub = MockSubscriber(
"/pose_with_covariance",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def perform(self, reevaluate=False):
"""
game_state_number = self.blackboard.gamestate.get_gamestate()

if game_state_number == GameState.GAMESTATE_INITAL:
if game_state_number == GameState.GAMESTATE_INITIAL:
return "INITIAL"
elif game_state_number == GameState.GAMESTATE_READY:
return "READY"
Expand Down Expand Up @@ -325,7 +325,7 @@ def perform(self, reevaluate=False):
game_state_number = self.blackboard.gamestate.get_gamestate()
self.previous_game_state_number = game_state_number

if previous_game_state_number == GameState.GAMESTATE_INITAL and game_state_number == GameState.GAMESTATE_READY:
if previous_game_state_number == GameState.GAMESTATE_INITIAL and game_state_number == GameState.GAMESTATE_READY:
return "YES"
else:
return "NO"

0 comments on commit dfd59ab

Please sign in to comment.