change printf to ros_debug, ticket #3932
This commit is contained in:
parent
1801b362a3
commit
4b496476d3
|
@ -21,6 +21,7 @@
|
||||||
|
|
||||||
|
|
||||||
#include "robot_state_publisher/treefksolverposfull_recursive.hpp"
|
#include "robot_state_publisher/treefksolverposfull_recursive.hpp"
|
||||||
|
#include <ros/ros.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
|
@ -58,7 +59,7 @@ void TreeFkSolverPosFull_recursive::addFrameToMap(const map<string, double>& q_i
|
||||||
if (this_segment->second.segment.getJoint().getType() != Joint::None){
|
if (this_segment->second.segment.getJoint().getType() != Joint::None){
|
||||||
map<string, double>::const_iterator jnt_pos = q_in.find(this_segment->second.segment.getJoint().getName());
|
map<string, double>::const_iterator jnt_pos = q_in.find(this_segment->second.segment.getJoint().getName());
|
||||||
if (jnt_pos == q_in.end()){
|
if (jnt_pos == q_in.end()){
|
||||||
printf("Warning: TreeFKSolverPosFull Could not find value for joint '%s'. Skipping this tree branch\n", this_segment->first.c_str());
|
ROS_DEBUG("Warning: TreeFKSolverPosFull Could not find value for joint '%s'. Skipping this tree branch", this_segment->first.c_str());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
jnt_p = jnt_pos->second;
|
jnt_p = jnt_pos->second;
|
||||||
|
|
Loading…
Reference in New Issue