Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rostopic fix #2329

Open
wants to merge 3 commits into
base: melodic-devel
Choose a base branch
from
Open

Rostopic fix #2329

wants to merge 3 commits into from

Conversation

prarobo
Copy link
Contributor

@prarobo prarobo commented May 5, 2023

Currently loading a message from file does not apply argument substitution for each published message. This fixes that.

@@ -1939,7 +1939,7 @@ def param_publish(pub, msg_class, param_name, rate, verbose):
if rospy.is_shutdown():
break

def stdin_publish(pub, msg_class, rate, once, filename, verbose):
def stdin_publish(pub, msg_class, rate, once, filename, verbose, substitute_keywords):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def stdin_publish(pub, msg_class, rate, once, filename, verbose, substitute_keywords):
def stdin_publish(pub, msg_class, rate, once, filename, verbose, substitute_keywords=False):

As this is a library downstream code could be using, the old API must be retained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants