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

Subscribe to information output to screen by Gmapping?

asked 2012-07-19 04:05:54 -0600

IFLORbot gravatar image

Is there a way to subscribe to the information output to the screen by Gmapping? It prints out a lot more information that it allows subscriptions to or services for. I want to be able to get that information without modifying the Gmapping code.

edit retag flag offensive close merge delete

Comments

In which datum specifically are you interested?

allenh1 gravatar image allenh1  ( 2012-07-19 04:34:27 -0600 )edit

Specifically, I'm interested in the Average Scan Matching Score and the Scan Matching Failed alert.

IFLORbot gravatar image IFLORbot  ( 2012-07-19 05:01:00 -0600 )edit

I'm unfamiliar with how to open the output in a pipe....

EDIT: After reading about ROS launch output, (either output to "screen" or "log") piping does seem to be the ONLY way. Thanks for the advice

IFLORbot gravatar image IFLORbot  ( 2012-07-19 07:23:52 -0600 )edit

@dornhege was right. I was able to pipe it into a simple publisher I wrote. Thanks. I am now opening up a new Question to see if I can add pipes to roslaunch xml files.

IFLORbot gravatar image IFLORbot  ( 2012-07-19 10:23:57 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-07-19 05:59:49 -0600

dornhege gravatar image

IIRC gmapping does not use ROS_... output, so it is not possible by a ROS way. You could still open the output in a pipe or something like that.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-07-19 04:05:54 -0600

Seen: 286 times

Last updated: Jul 19 '12