Skip to content

Commit

Permalink
Replace "Welding body..." cout with log()->trace()
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrés Valenzuela committed Dec 1, 2017
1 parent e3ca478 commit 2d0c59d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drake/multibody/rigid_body_tree.cc
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,8 @@ void RigidBodyTree<T>::compile() {
}
}
if (!hasChild) {
cout << "Welding joint " << bodies[i]->getJoint().get_name() << endl;
drake::log()->info("Welding joint {}",
bodies[i]->getJoint().get_name());
std::unique_ptr<DrakeJoint> joint_unique_ptr(new FixedJoint(
bodies[i]->getJoint().get_name(),
bodies[i]->getJoint().get_transform_to_parent_body()));
Expand Down

0 comments on commit 2d0c59d

Please sign in to comment.