-
Notifications
You must be signed in to change notification settings - Fork 22
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
Prefer forward critic optimization #86
Conversation
@@ -4,6 +4,10 @@ project(mppic) | |||
add_definitions(-DXTENSOR_ENABLE_XSIMD) | |||
add_definitions(-DXTENSOR_USE_XSIMD) | |||
|
|||
set(XTENSOR_USE_TBB 0) |
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.
Wouldn't 1 be enabling? Does this change anything?
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.
I'm not sure, but i would prefer to keep things more one threaded till we reduce jitter problem. One thread - more predictable behavior
@artofnothingness I pushed a commit here that I think you'll approve of. I changed it use the same maximum + sum as before, and scaled the velocities by the The immediate on sum is documented in xtensor to really speed things up. I tested this and happy with the performance. I was pretty happy with it too in your initial commits, but I wanted to try to mimic historical behavior / tuned parameters as much as possible. The CPU change between them is negligible. Now that this critic removes 2 trig functions, I see the spikes less frequently cause issues with the loop rate. Spikes into the ~20s of ms rather than the ~30s of ms. I'm happy to merge this if you are. |
We can merge |
No description provided.