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

Commit

Permalink
fix debug prints again
Browse files Browse the repository at this point in the history
  • Loading branch information
shueja authored Aug 23, 2023
1 parent 1183cd4 commit 6b836b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/path/SwervePathBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <stdexcept>
#include <vector>
#include <cmath>
#include <cstdio>
#include <iostream>

#include "optimization/TrajoptUtil.h"
#include "trajopt/constraint/AngularVelocityConstraint.h"
Expand Down Expand Up @@ -75,7 +75,7 @@ void SwervePathBuilder::WptVelocityDirection(size_t idx, double angle) {
}

void SwervePathBuilder::WptVelocityMagnitude(size_t idx, double v) {
printf("Velocity from Cpp: %f", v);
std::cout << v << std::endl;
if (std::abs(v) < 0.0001) {
WptZeroVelocity(idx);
} else {
Expand Down

0 comments on commit 6b836b8

Please sign in to comment.