Skip to content

Commit

Permalink
[sq] fix typos in ControllerRunner
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Apr 7, 2020
1 parent 7fe7c98 commit 5bcaf88
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cpp/scenario/plugins/ControllerRunner/ControllerRunner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,12 @@ void ControllerRunner::PreUpdate(const ignition::gazebo::UpdateInfo& info,
// Store the current update time
pImpl->prevUpdateTime = info.simTime;

// Enable using the PID to compute the new force
// Enable using the controller to compute the new force
computeNewForce = true;
}
else {
// Disable the PID and send the same force reference as last update
// Disable the controller and send the same force reference as last
// update
computeNewForce = false;
}

Expand Down

0 comments on commit 5bcaf88

Please sign in to comment.