ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

ros_info float32[] c++

asked 2014-11-24 23:04:35 -0600

chris_ gravatar image

I'm new to ROS and am trying to print part of LaserScan message, in particular the ranges bit. Is there a format identifier or some other nice way to print this float32 array out?

Thanks

ROS Hydro

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-11-25 04:23:55 -0600

dornhege gravatar image

Not the vector itself, but you can print the whole message with ROS_INFO_STREAM.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-11-24 23:01:16 -0600

Seen: 910 times

Last updated: Nov 25 '14