Configurable time parametrization method for default cartesian path planner in moveit
Moveit offers three different time parametrization techniques which can be changed as per the user requirement from planning adapter. But the Cartesian path planner of the moveit always uses the IterativeparabolicParameterization technique as it is hard coded. This is already reported in the issue . I think, it would be best if it's configurable. I am happy to make the changes and do a PR. But, I want to know what would be the best way to do it.
Method 1: Making changes in the planning request adapter.
Method 2: Modifying the cartesian path plan service to accept one more parameter to choose the time parametrization method. I have already did this through this method. But , I am not sure whether is this the best way.