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

Commit

Permalink
more debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
shueja authored Aug 24, 2023
1 parent 51b176b commit e29a560
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/path/SwervePathBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,13 @@ void SwervePathBuilder::WptVelocityMagnitude(size_t idx, double v) {
std::cout << v << std::endl;
if (std::abs(v) < 0.0001) {
WptZeroVelocity(idx);

} else {
WptConstraint(idx,
HolonomicVelocityConstraint{EllipticalSet2d::CircularSet2d(v),
CoordinateSystem::kField});
}
std::cout << "Set constraint" << std::endl;
}

void SwervePathBuilder::WptZeroVelocity(size_t idx) {
Expand Down

0 comments on commit e29a560

Please sign in to comment.