Skip to content

Commit

Permalink
Fix for flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Mar 19, 2017
1 parent 21ecb46 commit fc3cb79
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions jsk_topic_tools/scripts/tf_to_transform.py
Expand Up @@ -13,8 +13,10 @@
class TFToTransform(object):
def __init__(self, parent_frame_id, child_frame_id, duration, rate):
self.duration = rospy.get_param('~duration', duration)
self.parent_frame_id = rospy.get_param('~parent_frame_id', parent_frame_id)
self.child_frame_id = rospy.get_param('~child_frame_id', child_frame_id)
self.parent_frame_id = rospy.get_param('~parent_frame_id',
parent_frame_id)
self.child_frame_id = rospy.get_param('~child_frame_id',
child_frame_id)
rate = rospy.get_param('~rate', rate)
self.pub = rospy.Publisher('~output', TransformStamped, queue_size=1)
self.listener = tf.TransformListener()
Expand Down Expand Up @@ -76,9 +78,9 @@ def _publish_transform(self, event):
args = parser.parse_args(rospy.myargv()[1:])
rospy.init_node('tf_to_transform')
tf_pub = TFToTransform(
args.parent_frame_id,
args.child_frame_id,
args.duration,
args.rate,
)
args.parent_frame_id,
args.child_frame_id,
args.duration,
args.rate,
)
rospy.spin()

0 comments on commit fc3cb79

Please sign in to comment.