Integer to String Conversion [closed]
Hi ,
I am trying to convert an interger to string in ROS node using "itoa" but rosmake is giving me error that itoa is not in the scope
also i tried this method stringstream ss; ss<<lastreceivedodometry.pose.pose.position.x; str="ss.str();" <="" p="">
but it gives error "cannot convert ‘std::string’ to ‘const void’ for argument ‘2’ to ‘ssize_t send(int, const void, size_t, int)’
i just need a simple conversion from int to str
Closed for the following reason
question is off-topic or not relevant. Please see http://wiki.ros.org/Support for more details. by
georgebrindeiro
close date 2013-03-05 16:27:04
add a comment