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

Who is allowed to fix bugs in ros_comm (and other WG) stacks?

asked 2012-06-04 15:26:49 -0500

Alex Bravo gravatar image

updated 2012-06-05 04:55:53 -0500

I noticed that help of rossrv erroneously refers to rosmsg.

It should say:

rossrv is a command-line tool for displaying information about ROS Service types.

instead of:

rosmsg is a command-line tool for displaying information about ROS Message types.

Also all references in fullhelp to message should be changed to service:

  rossrv show Show message description
  rossrv list List all messages
  rossrv md5  Display message md5sum
  rossrv package    List messages in a package
  rossrv packages   List packages that contain messages

The simple fix is to make a change in this file: https://code.ros.org/trac/ros/changeset/16304/stacks/ros_comm/trunk/tools/rosmsg/src/rosmsg/__init__.py

Instead of this:

def fullusage(cmd):
"""
:param cmd: command name, ``str``
:returns: usage text for cmd, ``str``
"""
return """rosmsg is a command-line tool for displaying information about ROS Message types.
Commands:
\t%(cmd)s show\tShow message description
\t%(cmd)s list\tList all messages
\t%(cmd)s md5\tDisplay message md5sum
\t%(cmd)s package\tList messages in a package
\t%(cmd)s packages\tList packages that contain messages

Do something like this:

def fullusage(cmd):
"""
:param cmd: command name, ``str``
:returns: usage text for cmd, ``str``
"""
if cmd == "rosmsg":
    type_string = "Message"
else:
    type_string = "Service"   

    return """%(cmd)s is a command-line tool for displaying information about ROS %(type_string)s types.

Commands:
\t%(cmd)s show\tShow %(type_string)s description
\t%(cmd)s list\tList all %(type_string)ss
\t%(cmd)s md5\tDisplay %(type_string)s md5sum
\t%(cmd)s package\tList %(type_string)ss in a package
\t%(cmd)s packages\tList packages that contain %(type_string)ss

My question is what is the way to proceed:

a) I need to create bug, submit apatch, get it reviewed, etc. or

b) Ask A Willow Garage employee to commit this fix, or

c) I should leave things as is as not important.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
5

answered 2012-06-04 17:44:38 -0500

joq gravatar image

a) If you create a bug ticket and attach the patch, someone will almost certainly fix it fairly quickly.

edit flag offensive delete link more

Comments

The question remains does it have to be "someone to fix it" or can it be me?

Alex Bravo gravatar image Alex Bravo  ( 2012-06-04 18:33:52 -0500 )edit
1

By "fix it" I just meant apply your patch. If you want commit access to the repository, go to https://code.ros.org/gf/project/ros/ and click on "Request to join project".

joq gravatar image joq  ( 2012-06-05 02:12:41 -0500 )edit

Question Tools

Stats

Asked: 2012-06-04 15:26:49 -0500

Seen: 267 times

Last updated: Jun 05 '12