Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fuzzy-matching Trajectory Cache Injectable Traits refactor 🔥🔥 (#2941)
* Implement trajectory cache Signed-off-by: methylDragon <[email protected]> * Add README Signed-off-by: methylDragon <[email protected]> * Move test cpp to test directory Signed-off-by: methylDragon <[email protected]> * Clean up logging and comments Signed-off-by: methylDragon <[email protected]> * Use move_group node for time Signed-off-by: methylDragon <[email protected]> * Add and use logger Signed-off-by: methylDragon <[email protected]> * Use new move_group accessors Signed-off-by: methylDragon <[email protected]> * Coerce variable and method names to style Signed-off-by: methylDragon <[email protected]> * Formatting pass Signed-off-by: methylDragon <[email protected]> * Add docstrings Signed-off-by: methylDragon <[email protected]> * Add ability to sort in descending order Signed-off-by: methylDragon <[email protected]> * Add RFE for custom cost functions Signed-off-by: methylDragon <[email protected]> * Formatting pass Signed-off-by: methylDragon <[email protected]> * Fix build for downstream packages Signed-off-by: methylDragon <[email protected]> * Always get some workspace frame ID Signed-off-by: methylDragon <[email protected]> * Always get some cartesian path request frame ID Signed-off-by: methylDragon <[email protected]> * Fix tests Signed-off-by: methylDragon <[email protected]> * Add const qualifiers as appropriate Signed-off-by: methylDragon <[email protected]> * Add accessors, and support for preserving K plans Signed-off-by: methylDragon <[email protected]> * Edit docs and rename puts to inserts Signed-off-by: methylDragon <[email protected]> * Make clang tidy happy Signed-off-by: methylDragon <[email protected]> * Fix CMakeLists.txt Signed-off-by: methylDragon <[email protected]> * Make getters const Signed-off-by: methylDragon <[email protected]> * Clarify frame ID utils docstrings Signed-off-by: methylDragon <[email protected]> * Elaborate on trajectory cache benefits Signed-off-by: methylDragon <[email protected]> * Fix CHANGELOG, and make library shared Signed-off-by: methylDragon <[email protected]> * Add utils library with test fixtures Signed-off-by: methylDragon <[email protected]> * Add features interface with constant features Signed-off-by: methylDragon <[email protected]> * Add constraint feature extractor utils Signed-off-by: methylDragon <[email protected]> * Add RobotState.joint_state feature extractor utils Signed-off-by: methylDragon <[email protected]> * Add MotionPlanRequest features Signed-off-by: methylDragon <[email protected]> * Add GetCartesianPlanRequest features Signed-off-by: methylDragon <[email protected]> * Use namespace declarations and do cleanups Signed-off-by: methylDragon <[email protected]> * Add CacheInsertPolicyInterface and AlwaysInsertNeverPrunePolicy Signed-off-by: methylDragon <[email protected]> * Add CartesianAlwaysInsertNeverPrunePolicy Signed-off-by: methylDragon <[email protected]> * Init policy features on construction Signed-off-by: methylDragon <[email protected]> * Add execution time extraction util Signed-off-by: methylDragon <[email protected]> * Add BestSeenExecutionTimePolicy and rename methods Signed-off-by: methylDragon <[email protected]> * Add CartesianBestSeenExecutionTimePolicy Signed-off-by: methylDragon <[email protected]> * Return reason string from cache insert policy methods Signed-off-by: methylDragon <[email protected]> * Refactor TrajectoryCache to use the interfaces Signed-off-by: methylDragon <[email protected]> * Move test fixtures to their own directory Signed-off-by: methylDragon <[email protected]> * Fix bugs and build Signed-off-by: methylDragon <[email protected]> * Fix formatting and clang-tidy Signed-off-by: methylDragon <[email protected]> * Update CHANGELOG Signed-off-by: methylDragon <[email protected]> * Make clang-tidy happy Signed-off-by: methylDragon <[email protected]> * Update README Signed-off-by: methylDragon <[email protected]> * Enable unrelated query matching test Signed-off-by: methylDragon <[email protected]> * Make libraries shared Signed-off-by: methylDragon <[email protected]> * Sidestep deprecation warning for computeCartesianPath Signed-off-by: methylDragon <[email protected]> * Fix typo in trajectory cache utils test Signed-off-by: methylDragon <[email protected]> * Exclude test on humble * Add missing header * Use precrement for for loops Signed-off-by: methylDragon <[email protected]> * Use constref in range-based for loops in utils where possible Signed-off-by: methylDragon <[email protected]> * Reserve vectors in getSupportedFeatures Signed-off-by: methylDragon <[email protected]> * Fix README and CHANGELOG Signed-off-by: methylDragon <[email protected]> * Add and use restateInNewFrame util function Signed-off-by: methylDragon <[email protected]> * Attempt to fix policy test Signed-off-by: methylDragon <[email protected]> * Use .hpp instead of .h Signed-off-by: methylDragon <[email protected]> * Undo CHANGELOG changes Signed-off-by: methylDragon <[email protected]> * Use const ref strings for restateInNewFrame Signed-off-by: methylDragon <[email protected]> * Add clarificatory comment to tests and fix formatting Signed-off-by: methylDragon <[email protected]> * Fix compile error * Use constref shared_ptr in restateInNewFrame Signed-off-by: methylDragon <[email protected]> * Mitigate cartesian path tests Signed-off-by: methylDragon <[email protected]> * Mitigate test flakiness Signed-off-by: methylDragon <[email protected]> * Allow -11 for move_group gtest fixture Signed-off-by: methylDragon <[email protected]> * Make execution times in test deterministic Signed-off-by: methylDragon <[email protected]> --------- Signed-off-by: methylDragon <[email protected]> Co-authored-by: Sebastian Jahr <[email protected]> Co-authored-by: Sebastian Jahr <[email protected]> Co-authored-by: Sebastian Castro <[email protected]>
- Loading branch information