Skip to content

Commit

Permalink
Merge pull request #262 from RoboCupULaval/dev
Browse files Browse the repository at this point in the history
Merge old architecture in Master
  • Loading branch information
PhiBabin authored Mar 1, 2018
2 parents 748eca8 + f09f009 commit 75f8fad
Show file tree
Hide file tree
Showing 231 changed files with 2,592 additions and 39,852 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ IMBoard
filtered.txt
unfiltered.txt
*.csv

# Config custom
*.custom.cfg
11 changes: 6 additions & 5 deletions RULEngine/Command/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def __init__(self, player: OurPlayer):
self.kick_speed = self.player.ai_command.kick_strength

def package_command(self, mcu_communicator: McuCommunicator) -> None:
mcu_communicator.kick(self.player.id)
mcu_communicator.kick(self.player.id, self.kick_speed)


class Stop(Command):
Expand All @@ -102,7 +102,8 @@ def __init__(self, player: OurPlayer, activate: bool=True):
# todo ask embedded about dribbler strength MGL 2017/05/29

def package_command(self, mcu_communicator: McuCommunicator) -> None:
if self.activate:
mcu_communicator.turnOnDribbler(self.player.id)
else:
mcu_communicator.turnOffDribbler(self.player.id)
print("in package command dribble")
#if self.activate:
mcu_communicator.turnOnDribbler(self.player.id)
# else:
# mcu_communicator.turnOffDribbler(self.player.id)
1 change: 0 additions & 1 deletion RULEngine/Communication/protobuf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
folder = os.path.dirname(os.path.realpath(__file__))
sys.path.insert(1, folder)

from . import google
1 change: 0 additions & 1 deletion RULEngine/Communication/protobuf/google/__init__.py

This file was deleted.

Empty file.

This file was deleted.

Loading

0 comments on commit 75f8fad

Please sign in to comment.