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

Show full rosparam filepath

asked 2020-03-02 14:25:26 -0500

M@t gravatar image

updated 2020-03-02 14:28:59 -0500

When running a node with roslaunch and loading filepaths into the rosparam server, the terminal output clips the end of the filepath as shown:

PARAMETERS
* /driver/transforms_path: /home/matt/rosdat...
* /driver/alg_settings_path: /home/matt/rosdat...
* /driver/settings_dir: /home/matt/rosdat...
* /rosdistro: kinetic 
* /rosversion: 1.12.14

How do I force ROS to show the full, unclipped filepath? Seeing the full path makes debugging faster and easier.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-03-02 16:05:25 -0500

gvdhoorn gravatar image

updated 2020-03-02 16:12:59 -0500

You can't, as it isn't supported.

The code which prints the summary (as that's what it's called), is here. Notice how max_length is hard-coded to 20.

You could consider proposing a PR (similar to ros/ros_comm#1655) which adds a command line option for this.

edit flag offensive delete link more

Comments

Ah, I was afraid that might be the answer. Thanks a lot!

M@t gravatar image M@t  ( 2020-03-02 21:28:12 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-03-02 14:25:26 -0500

Seen: 139 times

Last updated: Mar 02 '20