Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
Update GenerateSplineInitialGuess.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
bruingineer committed Jul 1, 2024
1 parent 1c2f6e1 commit 1b297c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/trajopt/util/GenerateSplineInitialGuess.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,10 @@ CalculateWaypointStatesWithControlIntervals(
return waypoint_states;
}

/**
* This is used to calculated the suggested number of states in order to get
* a path with a dt of around desiredDt.
*/
std::vector<std::vector<frc::Trajectory::State>> CalculateWaypointStatesWithDt(
const trajopt::SwervePath path,
const std::vector<std::vector<Pose2d>> initialGuessPoints,
Expand Down

0 comments on commit 1b297c6

Please sign in to comment.