Use rosconsole with argument of type double
The wiki does not state which argument type rosconsole takes. How do I get the double printed with %d
, the conversion to int is obviously working but not right. mmh
double distance = 0.1;
int tmp1 = int(distance);
ROS_DEBUG_THROTTLE(1,"min:%d", tmp1);
In case I use type double it wount compile