-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changed ball touches ground detection #9
Open
skyborgff
wants to merge
8
commits into
RLBot:master
Choose a base branch
from
skyborgff:patch-1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
fc769b4
Changed ball touches ground detection
skyborgff db8fc50
Fixed ball stop detection
skyborgff 2935385
fixed ball stop detection typo
skyborgff 196ff5a
Fixed actions overriding
skyborgff 1407a1c
fixed dribbling and pushing
skyborgff 66827a8
Adds prop_bot
skyborgff b362e79
Adds unittests for rl_graders
skyborgff 6cc8798
Refactor and Improves rl_grader, Adds More Tests
skyborgff File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Locations] | ||
# Path to loadout config from runner | ||
looks_config = ./prop_bot_looks.cfg | ||
|
||
# Bot's python file. | ||
# Only need this if RLBot controlled | ||
python_file = prop_bot.py | ||
|
||
# The name that will be displayed in game | ||
name = Prop Bot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from rlbot.agents.base_agent import BaseAgent, SimpleControllerState | ||
from rlbot.utils.structures.game_data_struct import GameTickPacket | ||
|
||
class PropBot(BaseAgent): | ||
""" | ||
A bot which just sits there like a prop. | ||
""" | ||
|
||
def get_output(self, game_tick_packet: GameTickPacket) -> SimpleControllerState: | ||
seconds = game_tick_packet.game_info.seconds_elapsed | ||
controller_state = SimpleControllerState() | ||
controller_state.steer = 0 | ||
controller_state.handbrake = 0 | ||
return controller_state |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
[Bot Loadout] | ||
# Primary Color selection | ||
team_color_id = 11 | ||
# Secondary Color selection | ||
custom_color_id = 74 | ||
# Car type (Octane, Merc, etc | ||
car_id = 23 | ||
# Type of decal | ||
decal_id = 1618 | ||
# Wheel selection | ||
wheels_id = 1656 | ||
# Boost selection | ||
boost_id = 0 | ||
# Antenna Selection | ||
antenna_id = 0 | ||
# Hat Selection | ||
hat_id = 0 | ||
# Paint Type (for first color) | ||
paint_finish_id = 1978 | ||
# Paint Type (for secondary color) | ||
custom_finish_id = 1978 | ||
# Engine Audio Selection | ||
engine_audio_id = 1786 | ||
# Car trail Selection | ||
trails_id = 1898 | ||
# Goal Explosion Selection | ||
goal_explosion_id = 1971 | ||
|
||
[Bot Loadout Orange] | ||
# Primary Color selection | ||
team_color_id = 11 | ||
# Secondary Color selection | ||
custom_color_id = 74 | ||
# Car type (Octane, Merc, etc | ||
car_id = 23 | ||
# Type of decal | ||
decal_id = 1618 | ||
# Wheel selection | ||
wheels_id = 1656 | ||
# Boost selection | ||
boost_id = 0 | ||
# Antenna Selection | ||
antenna_id = 0 | ||
# Hat Selection | ||
hat_id = 0 | ||
# Paint Type (for first color) | ||
paint_finish_id = 1978 | ||
# Paint Type (for secondary color) | ||
custom_finish_id = 1978 | ||
# Engine Audio Selection | ||
engine_audio_id = 1786 | ||
# Car trail Selection | ||
trails_id = 1898 | ||
# Goal Explosion Selection | ||
goal_explosion_id = 1971 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BrickBot already does this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Brick bot has handbrake on, this causes the ball to move it quite a bit when it hits it.