Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [ros-info]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
58 views

Use ROS_ info to output std::vector data

If I'm dealing with std::vector data in C++ and I'd like to print it on the output stream I can do something similar to what is shown below: ...
user avatar
0 votes
1 answer
11 views

What is the difference between the usage of %i, %d,%f in ROS_INFO("")?

I see a lot of usage of like ROS_INFO("%d") ROS_INFO("%i") ROS_INFO("%f") used, is there a difference in the usage of them? If so, what are the differences. Is there like ...
user avatar
0 votes
1 answer
3 views

Does ROS_INFO break realtime?

Is the realtime lost if I use ROS_INFO inside a ros_control controller update method or inside a ros_control hardware interface write/read method? edit: this question may have different answers ...
Pablo Iñigo Blasco's user avatar
0 votes
1 answer
51 views

cant print to console anymore ROS_INFO or std::cout

Whenever I try publishing an output to the command line in my node I receive the following error: "Attempt to set a screen on a child window." I couldnt find any help on my particular ...
user avatar
0 votes
1 answer
5 views

Unable to print subscribed sensor_msgs with ROS_INFO

Hello and thanks for reading my post. I am trying to subscribe to a topic from an imu using the sensor_msgs::MagneticField. This topic is published by a 3rd party package called mavros. I am trying to ...
user avatar
0 votes
1 answer
36 views

How do I publish ROS messages to ROS_INFO?

I currently have a node that is producing messages of the type 'sensor_msgs' which I would like to see in my /rosout log. My approach was to add a statement similar to the following: ...
user avatar
0 votes
1 answer
29 views

ROS Consolor Color Print

Folks, Is there a way to change the color of what I print with ROS_INFO(), etc.? I want to leave red and yellow for real errors and real warnings. Originally posted by Pototo on ROS Answers with ...
user avatar
0 votes
1 answer
2 views

ROS_INFO error in the subscriber package

Hello, I am trying to build a subscriber package to listen to tf_static. Here is the subscriber code: ...
user avatar
0 votes
1 answer
1 view

How to print values in SelfLocalizer.cpp in Nav2d

I'm trying to analyse the Algorithms in SelfLocalizer node which is Particle Filter, Beam range finder, and Field range finder model. I understand the theory behind it but I want to see what is coming ...
user avatar
0 votes
1 answer
15 views

ros_info float32[] c++

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 ...
user avatar
0 votes
1 answer
30 views

time stamp ros_info

Hi, I've been using ROS_INFO instead of printf, and wonder which time is being printed. The time being printed at start is 5.339. I can't imagine this is system time, so what is it and which standard ...
user avatar
0 votes
1 answer
19 views

How to process geometry messages of type PoseWithCovarianceStamped and PoseStampe

Hi, I am using ROS fuerte version on Ubuntu 10.04. I have a screen shot below (WHOLE TOPIC.jpg) which tells about what type of messages are published on topics amcl_pose and move_base_simple/goal : ...
user avatar
0 votes
1 answer
7 views

remove info and time from ROS_INFO

Hi all, I am hoping there is some way I could remove the following from ROS_INFO. [ INFO] [1607321000.773203598]: ROS_INFO is great, but the above takes up a lot of space on my screen. Any way to ...
user avatar
0 votes
2 answers
27 views

Is there a way to get ROS_INFO, ROS_ERROR, etc to output line numbers?

The title says it all. Is there a flag somewhere I can set to get the ROS_INFO/ROS_ERROR/... macros to output line numbers, or is that something I'm going to have to feed to ROS_INFO myself by using ...
user avatar
0 votes
1 answer
4 views

Bug in ROS_INFO_STREAM?

I have a stringstream that I'm using to store some debug information. Every so often, I try to print it out. I have found that ...
user avatar
0 votes
2 answers
27 views

ROS_INFO vs printf?

Hi there, I was wondering what the differences were between ROS_INFO and printf. In the tutorials it is referred as the equivalent to printf/cout. Any reason why it had to be implemented? Cheers, ...
user avatar
0 votes
1 answer
7 views

Is there any console output similar with ROS_INFO without "\n"?

I found that when I use ROS_INFO to output console message,it always output a line. Is there any ROS output method only output the message I specify? Thank you~ Originally posted by sam on ROS ...
user avatar