Skip to main content

Questions tagged [rosconsole]

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

Does ROS2 (Humble) support rosconsole / log4cxx?

We're currently in the process of migrating from ROS 1 (noetic) to ROS 2 (humble), whilst also modifying our logging setup. In noetic this seems to be fairly straightforward. My understanding is that ...
Tom Noble's user avatar
0 votes
1 answer
41 views

Excessive Logging Output During colcon build of ROS2 Packages

I am experiencing an issue with excessive logging output during the colcon build process for packages in the nav2. Despite not having verbose flags set, the build process generates a large amount of ...
Marcus Vinicius's user avatar
0 votes
1 answer
145 views

No DEBUG messages on stdout/stderr

When printing/logging messages with ROS_DEBUG there is no output on stdout/stderr, despite launching a node with ...
user avatar
0 votes
1 answer
28 views

rosconsole command line utility not honoring ROSCONSOLE_FORMAT

I have set up my shells to have a custom ROSCONSOLE_FORMAT export ROSCONSOLE_FORMAT='${time:%T.%f}[${severity}] ${node}/${logger}: ${message}' When I run or launch ...
user avatar
0 votes
1 answer
23 views

Could not find the required component 'rosconsole' on macOS

Trying to build ROS melodic on macOS High Sierra I encountered this problem: ...
user avatar
0 votes
1 answer
3 views

rosconsole: log file bloated with ros topics, etc

Hi, When we are using ROS_DEBUG_STREAM() macro, and the output is configured to screen, everything is fine. But when we configure it to log, and it goes to file, we ...
user avatar
0 votes
1 answer
15 views

ROS_WARN messages go to stdout instead of stderr?

I am running the velodyne package in Ubuntu 16.04 with ROS Kinetic. I am trying to log all the errors to a file. However, the ROS_WARN messages seem to go to the normal stdout instead of the stderr in ...
user avatar
0 votes
1 answer
15 views

Enable different ROS log levels

I read this tutorial about how to set environment variables to change log level and my config file stayed like this: ...
user avatar
0 votes
1 answer
2 views

ROS Answers SE migration: Loggers in ROS

I'm trying to understand loggers in ROS. The roscpp overview page mentions different loggers. And when you use the NAMED macros, they make "child" loggers....
user avatar
0 votes
1 answer
18 views

Log rotation in ros

I am looking for a clean and standard way to have a log rotation in my program. Through this answer I found this PR that mentioned this feature but currently has not merged and does not seem have a ...
user avatar
0 votes
1 answer
76 views

rostest does not show log message

Hi everyone, I have an annoying problem of dispalying the ros log message during testing. I have some functions showing ROS_ERROR when errors occur and a test program to test these error cases. If I ...
user avatar
0 votes
1 answer
47 views

Subscribing to /rosout topic

Is there a way I can write a node to subscribe the log messages from the /rosout topic and save in a HTML file? Originally posted by robo_ninja on ROS Answers with karma: 55 on 2017-07-18 Post score: ...
user avatar
0 votes
1 answer
6 views

Why are my rostests giving me a std::bad_alloc error?

I'm porting my ROS code from Indigo on Ubuntu 14.04 to using the newer ROS Kinetic on Ubuntu 16.04. What I've noticed is that, in one particular test, I will occasionally get a ...
user avatar
0 votes
1 answer
25 views

ROS_INFO_ONCE in Python

Is there an equivalent to ROS_INFO_ONCES in rospy? I found rospy.loginfo_throttle() but nothing like ...
user avatar
0 votes
1 answer
19 views

How to edit/compile ROS source code

Good afternoon, I am trying to encrypt ros logs for a project, I currently have jade installed and running on an ubuntu OS. I believe the files I need to edit are in the ros_comm packages (rosconsole ...
user avatar
0 votes
1 answer
7 views

How can I programmatically set the rosconsole verbosity of an object?

I have a local planner plugin that instantiates a base_local_planner::TrajectoryPlannerROS object and then calls checkTrajectory ...
user avatar
0 votes
1 answer
1 view

Problem building .deb for rosconsole in kinetic

Hi folks, I am trying to build .deb packages for kinetic on raspbian jessie on rpi3 itself. I managed to get almost all packages i need, but I am not able to build deb package for rosconsole. My ...
user avatar
0 votes
1 answer
36 views

rosconsole DEBUG logger. How to use it?

Hello all, I would like to know how to correct interact with the log messages generated by ROS. I did some research about it but I could not find a satisfactory material. The situation that motivated ...
user avatar
0 votes
1 answer
5 views

Why does ROS use macros for logs?

This is purely an academic question, to sate my curiosity. What were the advantages gained by using macros as the logging interface for C++, and not some ros::logError() function? Is there a reason ...
user avatar
0 votes
1 answer
21 views

rosconsole: How to include file and line number in log output

TLDR: How can I include file name and line number in ros logging information that is sent to stdout when launching a node. It seems like the ROS_LOG macros would ...
user avatar
0 votes
2 answers
17 views

Logging of ROS_ERROR_STREAM messages?

How do I log ROS_ERROR_STREAM messages into a log file?? Normally i would just do a >> log.txt but, i only want to store the ROS_ERROR_STREAM, and nothing else.. Originally posted by 215 on ROS ...
user avatar
0 votes
1 answer
2 views

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

how is a rosconsole message making it to /rosout?

I've been reading the rosconsole code and I can't find any publisher to /rosout. rosconsole dependencies are only rostime, cpp_common, rostime and console_bridge. Can someone explain exactly how those ...
user avatar
0 votes
2 answers
7 views

`ROS_INFO_STREAM_NAMED(name, msg)` isn't streaming to the appropriate name

Lets say I have these names: "A", "B", "C" There is a weird case where I use ROS_INFO_STREAM_NAMED(name, msg) and it streams the ...
user avatar
0 votes
1 answer
11 views

How to ROS_*_THROTTLE inside objects?

I have a vector of objects of a custom class. In one function of my class, I am trying to include a ROS_*_THROTTLE macro. At some point, I iterate through the vector, calling my function. I would ...
user avatar
0 votes
1 answer
7 views

Segregating roscolsole output (C++)

I'm running a node that has two main threads going on it it. I would like to segregate the output from these two threads by sending the text in ROS_INFO/ROS_ERROR/etc. to one of two different ...
user avatar
0 votes
1 answer
14 views

Is it possible to control the size of log file?

I code a very simple CPP node which spam rosout with a lot of ROS_INFO : ...
user avatar
0 votes
1 answer
48 views

Why in this simple sample, my logs are not written in logfile ? Or Is there a way to control the flushing period of the log files?

Hello, The following code is a very simple roscpp node : ...
user avatar
0 votes
1 answer
11 views

Is'nt ROS_INFO_STREAM_THROTTLE signature a little misleading

The definition for ROS_INFO_STREAM_THROTTLE looks like (question valid for all ROS_**_THROTTLE rosconsole macros ): ...
user avatar
0 votes
1 answer
2 views

NodeHandle and ROS_DEBUG

Dear ROS members. I had a trouble to use ROS_DEBUG macro after destructing a private node handle in a local scope. As the following codes, when the "priv_nh1" node handle in the 1st local ...
user avatar
0 votes
1 answer
8 views

ROSCONSOLE_FORMAT not working in ROSPY on Hydro

I tried to use ROSCONSOLE_FORMAT as shown in Console Output Formatting on rosconsole wiki. I configured my .bashrc as shown below: ...
user avatar
0 votes
1 answer
47 views

ROS log file change of time-stamping format

Default format of time stamping in ROS logs are in unix time format i.e [ INFO] [1403686233.193723830]: i want this to be changed to ISO 8601 format i.e 2014-06-19T19:12:32Z i found a option to ...
user avatar
0 votes
1 answer
2 views

/opt/ros/hydro/lib/libroscpp.so: undefined symbol: _ZN3ros6HeaderC1Ev

After updating Mac OS 10.9.1 to 10.9.2 camera1394 nodes fails to start with ...
user avatar
0 votes
1 answer
7 views

How to list available loggers?

I'm using a rosconsole.config file and the ROSCONSOLE_CONFIG_FILE environment variable to specify where it is, but is there any ...
user avatar
0 votes
2 answers
3 views

Catkin rosconsole cross-compilation make error

Hi all, I'm still working towards a cross-compilation of the packages in ros-comm for a Zynq ARM target running Angstrom Linux. I have now run into an issue during the catkin build process with ...
user avatar
0 votes
2 answers
1 view

error while compiling camera1394

Hi there, I am trying to compile camera1394 (master branch)from source. However, I got many error like these: ...
user avatar
0 votes
1 answer
13 views

ROS_INFO not printing anything after some point

In my code below, constructor of a class calls functions within the same class. All ROS_INFO in func1 print successfully but func2 doesn't print anything. Any idea? ...
IsaacS's user avatar
  • 4,512
0 votes
2 answers
1 view

Problems expected if logs deleted during process?

###Question: What would be the expected outcome of deleting logs while a process is running? Specifically which of the following categories would that fall under : ) ? Fine Undefined Very Bad ###Use ...
user avatar
0 votes
1 answer
31 views

subscribing to rosout INFO

Hi, I'm sure this is a noob question but I looked in the wiki and in here for a long time and I could not find the answer. Is there any way of creating a node that will subscribe to the INFO level ...
user avatar
0 votes
1 answer
13 views

unable to change logging level in rxloggerlevel

Hi I recently installed fuerte and have been having problems with stopping all the DEBUG logging message from slowing packages such as stage to a crawl. I have tried changing the logging level using ...
user avatar
0 votes
4 answers
50 views

Putting log messages from non-ROS code into ROS logging system

I'm writing two new classes: A class that controls a motor control board (mcb) A ROS node that contains an object of the mcb class. This node provides services to the rest of ROS that use the mcb. ...
user avatar
0 votes
1 answer
1 view

problem with debug messages in rxconsole

Hi I have 2 computers: master and lowlevel. I log in master where I run roscore. I ssh to lowlevel to launch some nodes there. THe whole thing works fine so I guess the setup is configured properly. I ...
user avatar
0 votes
2 answers
5 views

Rosmake rosconsole fail on OSx Lion

Hi all, I'm trying building ros under osx Lion by following the tutorial reported on the ROS website. I have installed macports and the latest version of XCode. I applied the patch reported here: ...
user avatar
0 votes
1 answer
8 views

Logging data to different files

I am looking for a way to have a bit more control over where/how ROS logs data beyond the screen/log output parameter for nodes in launch files. Named loggers only give more fine-grained control over ...
user avatar
0 votes
1 answer
32 views

edit logger levels programmatically or from the command line

I searched around on this site, the roscpp/logging page and on the rosconsole wiki page but as far as I can tell there are two obvious ways of changing the logger level and they are: using ...
user avatar
0 votes
4 answers
3 views

Error in rosconsole when running GigE camera

I'm trying to wrap the driver to our Basler GigE camera in ROS, but get the following error at runtime: ...
user avatar
0 votes
1 answer
5 views

Trigger code segments for ROS_DEBUG only

I'm wondering if there's a way to do the following in C++: ...
user avatar
0 votes
3 answers
93 views

ROS_INFO_STREAM

What does ROS_INFO_STREAM, ROS_INFO, and ROS_ERROR do? Do they output data? Originally posted by qdocehf on ROS Answers with karma: 208 on 2011-08-04 Post score: 4
user avatar
0 votes
1 answer
27 views

What are the differences between running a nodelet standalone and running the same nodelet alone in a manager?

I'm starting to write a new node(let) and initially wrote my launch file to start that nodelet 'standalone'. However I noticed that messages from the rosconsole macros (...
user avatar
0 votes
1 answer
4 views

Question about roslaunch and remote processes

Hi everyone, This is a repost of two questions formulated to [email protected], to make the answers easier to find for other users. The original thread is https://code.ros.org/lurker/message/...
user avatar