Skip to content

Commit

Permalink
Fixed styling errors
Browse files Browse the repository at this point in the history
Signed-off-by: Saurabh Kamat <[email protected]>
  • Loading branch information
sauk2 committed Nov 21, 2024
1 parent c00bbdd commit c10acbd
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions src/systems/drive_to_pose_controller/DriveToPoseController.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include <mutex>
#include <optional>
#include <string>
#include <vector>

using namespace gz;
using namespace sim;
Expand Down Expand Up @@ -176,11 +177,16 @@ void DriveToPoseController::Configure(
this->dataPtr->poseReachedPublisher =
this->dataPtr->node.Advertise<msgs::Pose>(topicNamespace + "/reached_pose");

gzdbg << "DriveToPoseController initialized with the following parameters:" << std::endl;
gzdbg << "linear_p_gain: " << this->dataPtr->linearPGain << std::endl;
gzdbg << "angular_p_gain: " << this->dataPtr->angularPGain << std::endl;
gzdbg << "linear_deviation: " << this->dataPtr->linearDeviation << std::endl;
gzdbg << "angular_deviation: " << this->dataPtr->angularDeviation << std::endl;
gzdbg << "DriveToPoseController initialized with "
<< "the following parameters:" << std::endl;
gzdbg << "linear_p_gain: "
<< this->dataPtr->linearPGain << std::endl;
gzdbg << "angular_p_gain: "
<< this->dataPtr->angularPGain << std::endl;
gzdbg << "linear_deviation: "
<< this->dataPtr->linearDeviation << std::endl;
gzdbg << "angular_deviation: "
<< this->dataPtr->angularDeviation << std::endl;
}

//////////////////////////////////////////////////
Expand Down

0 comments on commit c10acbd

Please sign in to comment.