Skip to content

Commit

Permalink
[TestNodes] Optimize output about setup of JTC publisher (ros-control…
Browse files Browse the repository at this point in the history
  • Loading branch information
destogl authored Oct 16, 2023
1 parent ac291ab commit 22356e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ def __init__(self):
self.goals.append(float_goal)

self.get_logger().info(
f'Publishing {len(goal_names)} goals on topic "{publish_topic}"\
every {wait_sec_between_publish} s'
f"Publishing {len(goal_names)} goals on topic '{publish_topic}' "
f"every {wait_sec_between_publish} s'"
)

self.publisher_ = self.create_publisher(Float64MultiArray, publish_topic, 1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ def get_sub_param(sub_param):
publish_topic = "/" + controller_name + "/" + "joint_trajectory"

self.get_logger().info(
f'Publishing {len(goal_names)} goals on topic "{publish_topic}" every '
"{wait_sec_between_publish} s"
f"Publishing {len(goal_names)} goals on topic '{publish_topic}' every "
f"{wait_sec_between_publish} s"
)

self.publisher_ = self.create_publisher(JointTrajectory, publish_topic, 1)
Expand Down

0 comments on commit 22356e0

Please sign in to comment.