wpilibsuite / PathWeaver

Desktop application for generating motion paths
Other
65 stars 68 forks source link

Support reversed trajectories #176

Closed calcmogul closed 4 years ago

calcmogul commented 4 years ago

Given a trajectory from point A to point B that a robot follows by driving forward, WPILib's trajectory generation library supports doing the time reversed version of that. To do that, set the reversed flag in TrajectoryConfig, then provide point B followed by point A to TrajectoryGenerator.

PathWeaver should support setting the reversed flag on a per-path level. It could be given a different color from forward paths.