From 56c1b797cd2fce6938bd8d30b9a90da14327511a Mon Sep 17 00:00:00 2001 From: Chris Iverach-Brereton Date: Tue, 3 Sep 2024 11:42:50 -0400 Subject: [PATCH] Linting & formatting fixes --- turtlebot4_gz_bringup/launch/sim.launch.py | 25 +++++++++++-------- .../Turtlebot4Hmi/Turtlebot4Hmi.hh | 4 +-- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/turtlebot4_gz_bringup/launch/sim.launch.py b/turtlebot4_gz_bringup/launch/sim.launch.py index 0b8c848..7b4c665 100644 --- a/turtlebot4_gz_bringup/launch/sim.launch.py +++ b/turtlebot4_gz_bringup/launch/sim.launch.py @@ -58,7 +58,7 @@ def generate_launch_description(): pkg_ros_gz_sim = get_package_share_directory( 'ros_gz_sim') - # Set Gazebo resource path + # Set Gazebo resource path gz_resource_path = SetEnvironmentVariable( name='GZ_SIM_RESOURCE_PATH', value=':'.join([ @@ -71,7 +71,7 @@ def generate_launch_description(): gz_gui_plugin_path = SetEnvironmentVariable( name='GZ_GUI_PLUGIN_PATH', - value=":".join([ + value=':'.join([ os.path.join(pkg_turtlebot4_gz_gui_plugins, 'lib'), os.path.join(pkg_irobot_create_gz_plugins, 'lib') ]) @@ -85,15 +85,18 @@ def generate_launch_description(): gazebo = IncludeLaunchDescription( PythonLaunchDescriptionSource([gz_sim_launch]), launch_arguments=[ - ('gz_args', [LaunchConfiguration('world'), - '.sdf', - ' -v 4', - ' --gui-config ', - PathJoinSubstitution( - [pkg_turtlebot4_gz_bringup, - 'gui', - LaunchConfiguration('model'), - 'gui.config'])]) + ('gz_args', [ + LaunchConfiguration('world'), + '.sdf', + ' -v 4', + ' --gui-config ', + PathJoinSubstitution([ + pkg_turtlebot4_gz_bringup, + 'gui', + LaunchConfiguration('model'), + 'gui.config' + ]) + ]) ] ) diff --git a/turtlebot4_gz_gui_plugins/Turtlebot4Hmi/Turtlebot4Hmi.hh b/turtlebot4_gz_gui_plugins/Turtlebot4Hmi/Turtlebot4Hmi.hh index e518995..b3ad5a0 100644 --- a/turtlebot4_gz_gui_plugins/Turtlebot4Hmi/Turtlebot4Hmi.hh +++ b/turtlebot4_gz_gui_plugins/Turtlebot4Hmi/Turtlebot4Hmi.hh @@ -20,12 +20,12 @@ #define TURTLEBOT4_GZ_GUI_PLUGINS__TURTLEBOT4HMI__TURTLEBOT4HMI_HH_ #include -#include #include -#include #include +#include +#include namespace gz {