From 26317998201a760043d79b9ab3e6ecbf770b4515 Mon Sep 17 00:00:00 2001 From: Wolfgang Hess Date: Tue, 11 Oct 2016 09:54:40 +0200 Subject: [PATCH] Tiny formatting changes. (#93) --- cartographer_ros/scripts/tf_remove_frames.py | 8 +++++--- docs/source/conf.py | 13 +++++-------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/cartographer_ros/scripts/tf_remove_frames.py b/cartographer_ros/scripts/tf_remove_frames.py index 9788a3a..04e2789 100755 --- a/cartographer_ros/scripts/tf_remove_frames.py +++ b/cartographer_ros/scripts/tf_remove_frames.py @@ -25,9 +25,11 @@ def main(): remove_frames = rospy.get_param('~remove_frames', []) def callback(msg): - msg.transforms = [t for t in msg.transforms if - t.header.frame_id.lstrip('/') not in remove_frames and - t.child_frame_id.lstrip('/') not in remove_frames] + msg.transforms = [ + t for t in msg.transforms + if t.header.frame_id.lstrip('/') not in remove_frames and + t.child_frame_id.lstrip('/') not in remove_frames + ] publisher.publish(msg) rospy.Subscriber('/tf_in', tfMessage, callback) diff --git a/docs/source/conf.py b/docs/source/conf.py index 34e8912..ddf16cd 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -210,10 +210,9 @@ latex_elements = { # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). -latex_documents = [ - ('index', 'CartographerROS.tex', u'Cartographer ROS Documentation', - u'The Cartographer Authors', 'manual'), -] +latex_documents = [('index', 'CartographerROS.tex', + u'Cartographer ROS Documentation', + u'The Cartographer Authors', 'manual'),] # The name of an image file (relative to this directory) to place at the top of # the title page. @@ -239,10 +238,8 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). -man_pages = [ - ('index', 'cartographer', u'Cartographer ROS Documentation', - [u'The Cartographer Authors'], 1) -] +man_pages = [('index', 'cartographer', u'Cartographer ROS Documentation', + [u'The Cartographer Authors'], 1)] # If true, show URL addresses after external links. #man_show_urls = False