Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.
This repository was archived by the owner on May 31, 2025. It is now read-only.

rospy.log*_throttle (and _once) do not accept (kw)args #1222

@gavanderhoorn

Description

@gavanderhoorn

It would appear the rospy.logX_throttle(..) and rospy.logX_once(..) methods introduced in #812 and #1041 do not accept args or keyword args like the regular logX(..) methods do.

This means that instead of rospy.loginfo("fmt", arg0, arg1, argN) they have to be passed a bare string (ie: rospy.loginfo_throttle(1.0, "some string")).

This can be worked around by using str.format(..) itself, but symmetry with the base logX(..) methods is lost this way.

Was this intentional, or an oversight?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions