Skip to content

Commit

Permalink
FIX: Disable spammy verbose output from Fluid plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
parakhm95 committed Jun 26, 2024
1 parent a3ac2d0 commit 0c60e90
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/physics_plugins/fluid_resistance_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,6 @@ void FluidResistancePlugin::ApplyResistance() {
math::Vector3 force, torque;
#endif

if (verbose) {
ROS_WARN("[FluidResistancePlugin]: LinearSpeed = [%f,%f,%f] ", now_lin_vel.X(), now_lin_vel.Y(), now_lin_vel.Z());
}

force.X(-1.0 * (res_x * model_mass) * now_lin_vel.X());
force.Y(-1.0 * (res_y * model_mass) * now_lin_vel.Y());
force.Z(-1.0 * (res_z * model_mass) * now_lin_vel.Z());
Expand All @@ -267,9 +263,6 @@ void FluidResistancePlugin::ApplyResistance() {
#else
link_to_apply_resistance->AddRelativeTorque(torque - link_to_apply_resistance->GetInertial()->GetCoG().Cross(force));
#endif
if (verbose) {
ROS_WARN("[FluidResistancePlugin]: FluidResistanceApplying = [%f,%f,%f] ", force.X(), force.Y(), force.Z());
}
}
//}

Expand Down

0 comments on commit 0c60e90

Please sign in to comment.