Skip to content

Conversation

@DaCoolOne
Copy link

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
Copy link
Contributor

amsam0 commented Feb 14, 2020

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

@DaCoolOne
Copy link
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
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.

Copy link
Contributor

@tarehart tarehart left a comment

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