Skip to content

Commit

Permalink
format the AutonomousTask
Browse files Browse the repository at this point in the history
  • Loading branch information
ARRYTHEBEAST committed Nov 5, 2024
1 parent b6af9db commit 4b298c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/autonomous/AutonomousTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ void AutonomousTask::navigate() {
cmd.setState(latestPos, robot::types::dataclock::now());
commands::command_t output = cmd.getOutput();
auto scaledVels = diffDriveKinematics.ensureWithinWheelSpeedLimit(
kinematics::DiffDriveKinematics::PreferredVelPreservation::PreferThetaVel, output.xVel,
output.thetaVel, Constants::MAX_WHEEL_VEL);
kinematics::DiffDriveKinematics::PreferredVelPreservation::PreferThetaVel,
output.xVel, output.thetaVel, Constants::MAX_WHEEL_VEL);
navtypes::point_t relTarget = util::toTransform(latestPos) * _waypoint_coords;
LOG_F(INFO, "Relative Target: (%lf, %lf)", relTarget(0), relTarget(1));
LOG_F(INFO, "thetaVel: %lf", scaledVels(2));
Expand Down

0 comments on commit 4b298c7

Please sign in to comment.