Skip to content

1D Kinematics#38

Merged
tarehart merged 4 commits into
RLBot:spikesprintfrom
DaCoolOne:patch-1
Feb 15, 2020
Merged

1D Kinematics#38
tarehart merged 4 commits into
RLBot:spikesprintfrom
DaCoolOne:patch-1

Conversation

@DaCoolOne

Copy link
Copy Markdown

Adds 1D Kinematic driving simulations using look up tables. Also add some constants so people don't have to keep going to the wiki for common values.

@amsam0

amsam0 commented Feb 14, 2020

Copy link
Copy Markdown
Contributor

is kinematics not supposed to be python? maybe it should be kinematics.py

@DaCoolOne

Copy link
Copy Markdown
Author

You're right. That's just an issue with the way I created the PR. I'll go fix that quickly

Fixing a naming issue
I may make an additional update if it actually turns out that the 1D kinematics don't need to be a LUT
@DaCoolOne

Copy link
Copy Markdown
Author

That should be good for now. I might steal Marvin's code if it turns out that using LUTs is a super bad idea.

That said, there is an advantage to being able to do a look up and have your boost used, distance traveled, final velocity, and time taken calculated afterwards.

@tarehart tarehart left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I might snip out some of those enums which look unused. We might move to a non-LUT solution at some point, but this looks very effective.

@tarehart tarehart merged commit 2dc260b into RLBot:spikesprint Feb 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants