forked from ros-navigation/navigation2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
45-50% performance improvement in MPPI controller using Eigen library…
… for computation. (ros-navigation#4621) * Initial commit Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Corrected to Eigen Array Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * updated motion model with eigen Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Replaced xtensor with eigen in Optimizer, NoiseGenerator and all Util files Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * updated critics with Eigen Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * optimized Eigen::Array implementation Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * added comment Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Updated path align critic and velocity deadband critic with Eigen Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Updated cost critic and constraint critic with eigen Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Updated utils test with Eigen Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Reverted unnecessary changes and fixed static instance in Noise generator Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * changes std::abs to fabs, clamp to min-max Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Converted tests to Eigen Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Complete conversion from xtensor to Eigen Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * fixed few review comments Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Fixed linters and few review comments Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Fixed mis-merge of AckermannReversingTest Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * fixed gtest assertion Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Fixed optimizer_unit_tests and related issues Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Fixed all the unit tests and critic tests, all unit tests passing locally Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * fixed few review comments Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Fixed CostCritic issue and added test for shiftColumn method Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Added test for new functions Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Removed compiler flags Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * updated test to check first and last columns Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Addressed few review comments Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Changed the obstacle critic implementation to the original way. Updated optimizer_benchmark test with critics and params Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Fixed bugs Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Fixed linter Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Added clamp util function Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Fixed bug Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Fixed review comments: Added utils::clamp method Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Fixing strided trajectory columns Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * fixed lint error Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Fixed merge Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Fixed optimizer benchmark with latest api changes Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * fixed build error Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> * Fixed new util_test Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> --------- Signed-off-by: Ayush1285 <ayush.singhftw@gmail.com> Signed-off-by: RBT22 <rozgonyibalint@gmail.com>
- Loading branch information
Showing
40 changed files
with
952 additions
and
872 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.