-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
MPPI controller plugin build assumes AVX2 and FMA instructions are available #4827
Comments
BTW, I don't know that there's anything to do here, code-wise. I think the right thing is to add a caveat to the docs; I'm happy to do that if it's desired. |
Sure thing on the docs. Any modern processor should have AVX2 so its not functionally been much of an issue (even low power ARM). By the way, there’s an Eigen based version in #4621 that you should try out that replaces xtensor and explicit AVX flags. Does that work fine for you (and likely be quite a speed up)? |
I'll give the Eigen-based fork a spin tonight. |
I was unable to build the |
Ah, I think your SOL on MPPI then, we need some vectorization operations to make scoring 60+ length trajectories with 10+ critics with 2000 batches at 30 hz (36M major operations/sec) 😆 I think all somewhat modern machines have AVX2 and MFMA, so this hasn't been an issue we've run into before. Honestly speaking, if your machine is so old it doesn't have these, it probably can't handle MPPI anyway even if it did have AVX2/MFMA available due to the sheer compute requirements needed for MPC. MFMA I looked up has been around since 2013, I think we can safely call this is an edgecase that I don't think requires explicit documentation, but I will make a note in the README shortly. |
Hey, at least now I have a second legit reason to upgrade my dev box (beyond "can't run Starfield") :) |
P.S. I'm looking to have a new desktop box for development soon, I've been looking at these 2, which I used for a project with AMD and I was shocked at the power for the cost, and still at a form factor & power level that could be used on an AMR. It cut down compiling time from my new Intel-based i7 thinkpad by 40%. I like developing / testing on computers somewhat in the range of what users will have for their robots, and for the price and power, these are pretty neat
|
Bug report
Required Info:
Steps to reproduce issue
Expected behavior
A running Turtlebot 4 simulation running Nav 2 in Gazebo.
Actual behavior
A running Gazebo sim with a Turtlebot 4 in a warehouse, but none of the Nav2 stuff running and RViz is frozen.
Additional information
I'm running on a pretty old Intel i5-based computer.
More details and an answer here: https://robotics.stackexchange.com/questions/114131/trouble-getting-nav2-getting-started-example-to-run
TL;DR: running under
gdb
reveals thatcontroller_server
croaks withWorkaround is to build from source, remove compilation flags that enable AVX2 and FMA, or switch to a different controller plugin.
The text was updated successfully, but these errors were encountered: