Closed rjoomen closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
26f3e47
) 90.91% compared to head (3b7a2e9
) 90.91%.
This is working for me and is definitely a nice addition, just have a couple of notes:
trajectoryDuration()
method1) When a trajectory has only one waypoint, the TrajectoryInterpolator would incorrectly set the initial state and total time to 0, leading to the trajectory slider in the workbench showing only zeros. With this fix, if for example a trajectory set has one trajectory with 10 points with times [0...10] and a second set with only one point with time=11 the slider will correctly show 11 for the second set (and 0-10 for the first). Obviously there is nothing to slide, but at least the numbers shown are correct. Trajectories of size one are not very useful, of course, but sometimes my planner receives this as input, as only the start is reachable (IK), but not the goal. 2) See https://github.com/tesseract-robotics/tesseract_planning/pull/441
This is related to https://github.com/tesseract-robotics/tesseract_qt/pull/99.