Questions tagged [logger]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
56 views

use spdlog accross packages using or not ROS2

we are looking for a logging solution that is going to be long term supported and that is, as a bonus, compatible with ROS2. I would like to know is this is possible to: Create a package using spdlog ...
Rextab's user avatar
  • 1
0 votes
1 answer
18 views

Getting current log directory in a CPP Node

I have a different process in my CPP node that writes a separate log file. Right now, this log is written to a file in ros2_ws/log/additional_process.log but I ...
moschmdt's user avatar
0 votes
1 answer
60 views

Roslaunch: file not found error for logging

Hi, I am working on a project, and I want to start the different nodes using a launch file. In the latter I start one Python node and the other is an rqt plugin that I created: ...
user avatar
0 votes
1 answer
15 views

How to enable debug logging for the DWALocalPlanner and the SimpleScoredSamplingPlanner

I'm testing simple navigation for my robot using Gazebo and RViz. Each time I set a 2D nav goal in RViz I get a log indicating that the local planner failed to find a path. This continues for a bit ...
user avatar
0 votes
1 answer
10 views

Is it possible to change the logger without building ROS packages (ROS2)

Is it possible to change the logger, spdlog to log4cxx, without having to rebuild individual ros packages? Originally posted by MHx on ROS Answers with karma: 45 on 2020-11-25 Post score: 2
user avatar
0 votes
1 answer
17 views

ROS2 how to programmatically set rosout logging handler

Hi, In ROS2 there are different types of logging handlers. Command line arguments can be used to setup the loggers: these are passed to rclcpp::init() and then to <...
user avatar
0 votes
1 answer
15 views

How to enable rosout topic in ROS2?

Hi, I wanted to try the rosout feature of ROS2. I built everything from the master branch. I have a node which continuously logs data. However, there is not rosout ...
user avatar
0 votes
1 answer
4 views

ROS 2 Bouncy : Node, Log and Classes best practice

Hello I am working with ROS 2 Bouncy and was wondering what is the best practice to log stuff in classes that are instantiated in a Node ? I know it's now recommended to inherit the ...
user avatar
0 votes
2 answers
10 views

Determine which node is raising a ROS error

I'm using Orocos with RTT-ROS integration for real-time control, and in the Orocos deployer I keep getting ROS errors like ...
adamconkey's user avatar
0 votes
1 answer
7 views

topic is already advertised as md5sum [...] and datatype [...]

I'm trying to get output from a remote node to the /rosout topic and view it with 'rostopic echo rosout' running on the master. I have a roscore running on hostA brought up by starting roslaunch. On ...
user avatar
0 votes
1 answer
1 view

Enable roslaunch to log?

Hy Community. am going one step forward learning ROS, now I can define a file.launch like: ...
user avatar
0 votes
1 answer
16 views

How to send logging to log files?

I have logging in my cpp files, like the following, and I'm trying to get the messages to appear in a file. ROS_INFO_STREAM("testing"); I have these env ...
user avatar
0 votes
1 answer
9 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 doesn't ROS_INFO allow calling std::queue.size() inside as a param

I have declared a global variable queue // Global variable for queue declaration std::queue<geometry_msgs::PointStamped::ConstPtr> waypointQueue; And I have ...
Janindu's user avatar
  • 517
0 votes
2 answers
5 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
3 views

Use ROS_ macro 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 (e.g. for debugging), I'm going to do something like this: ...
user avatar
0 votes
1 answer
4 views

Debug output in different terminal windows

Hi, I'm using ROS_DEBUG_NAMED with different names in my code. Do you know if it's possible to use the terminal to see only the output of a certain debug logger instead of using rxconsole? I've a ...
user avatar
0 votes
2 answers
7 views

Accessing Log Level in roscpp

Hi, I am wondering how to access the current log level of a certain logger in ROS during runtime. I would like to write something like this: ...
user avatar
0 votes
3 answers
21 views

How to set verbosity/logger levels programmatically?

Hi All, Is there a way to set verbosity/logger levels programmatically (up to node levels if possible)? How? I have looked at here and here. It seems that I should somehow use ...
user avatar
0 votes
1 answer
18 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
1 answer
4 views

log4cxx error on node shutdown in diamondback rc3

I installed diamondback RC3 yesterday on a machine that was upgraded from Ubuntu 9.04 to 10.04 over the weekend. (Maybe upgrading instead of a fresh install was a bad idea?) log4cxx seems to be having ...
user avatar