forked from moveit/moveit
-
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.
Fix Pilz trajectory time stamps (moveit#3630)
The Pilz planner generated trajectories with identical subsequent time stamps, which were rejected by the ROS controllers. Pilz's appendWithStrictTimeIncrease() function had a single if-statement that encompassed two conditions: 1. trajectory is empty 2. the end state of one segment differs from the start state of the next segment In both cases, the whole trajectory segment was appended with a dt=0. However, that's correct only for case 1. In case 2, we needed to apply a non-zero time offset dictated by the actual dt of that segment's first waypoint.
- Loading branch information
Showing
2 changed files
with
11 additions
and
5 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