-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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. (#4621) * Initial commit Signed-off-by: Ayush1285 <[email protected]> * Corrected to Eigen Array Signed-off-by: Ayush1285 <[email protected]> * updated motion model with eigen Signed-off-by: Ayush1285 <[email protected]> * Replaced xtensor with eigen in Optimizer, NoiseGenerator and all Util files Signed-off-by: Ayush1285 <[email protected]> * updated critics with Eigen Signed-off-by: Ayush1285 <[email protected]> * optimized Eigen::Array implementation Signed-off-by: Ayush1285 <[email protected]> * added comment Signed-off-by: Ayush1285 <[email protected]> * Updated path align critic and velocity deadband critic with Eigen Signed-off-by: Ayush1285 <[email protected]> * Updated cost critic and constraint critic with eigen Signed-off-by: Ayush1285 <[email protected]> * Updated utils test with Eigen Signed-off-by: Ayush1285 <[email protected]> * Reverted unnecessary changes and fixed static instance in Noise generator Signed-off-by: Ayush1285 <[email protected]> * changes std::abs to fabs, clamp to min-max Signed-off-by: Ayush1285 <[email protected]> * Converted tests to Eigen Signed-off-by: Ayush1285 <[email protected]> * Complete conversion from xtensor to Eigen Signed-off-by: Ayush1285 <[email protected]> * fixed few review comments Signed-off-by: Ayush1285 <[email protected]> * Fixed linters and few review comments Signed-off-by: Ayush1285 <[email protected]> * Fixed mis-merge of AckermannReversingTest Signed-off-by: Ayush1285 <[email protected]> * fixed gtest assertion Signed-off-by: Ayush1285 <[email protected]> * Fixed optimizer_unit_tests and related issues Signed-off-by: Ayush1285 <[email protected]> * Fixed all the unit tests and critic tests, all unit tests passing locally Signed-off-by: Ayush1285 <[email protected]> * fixed few review comments Signed-off-by: Ayush1285 <[email protected]> * Fixed CostCritic issue and added test for shiftColumn method Signed-off-by: Ayush1285 <[email protected]> * Added test for new functions Signed-off-by: Ayush1285 <[email protected]> * Removed compiler flags Signed-off-by: Ayush1285 <[email protected]> * updated test to check first and last columns Signed-off-by: Ayush1285 <[email protected]> * Addressed few review comments Signed-off-by: Ayush1285 <[email protected]> * Changed the obstacle critic implementation to the original way. Updated optimizer_benchmark test with critics and params Signed-off-by: Ayush1285 <[email protected]> * Fixed bugs Signed-off-by: Ayush1285 <[email protected]> * Fixed linter Signed-off-by: Ayush1285 <[email protected]> * Added clamp util function Signed-off-by: Ayush1285 <[email protected]> * Fixed bug Signed-off-by: Ayush1285 <[email protected]> * Fixed review comments: Added utils::clamp method Signed-off-by: Ayush1285 <[email protected]> * Fixing strided trajectory columns Signed-off-by: Ayush1285 <[email protected]> * fixed lint error Signed-off-by: Ayush1285 <[email protected]> * Fixed merge Signed-off-by: Ayush1285 <[email protected]> * Fixed optimizer benchmark with latest api changes Signed-off-by: Ayush1285 <[email protected]> * fixed build error Signed-off-by: Ayush1285 <[email protected]> * Fixed new util_test Signed-off-by: Ayush1285 <[email protected]> --------- Signed-off-by: Ayush1285 <[email protected]>
- 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.