diff --git a/.vscode/settings.json b/.vscode/settings.json index c061223..c10180f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -11,6 +11,9 @@ ], "ros.distro": "jazzy", "[python]": { - "editor.defaultFormatter": "ms-python.black-formatter" - } + "editor.defaultFormatter": "ms-python.black-formatter", + }, + "black-formatter.args": [ + "\"skip-string-normalization\"" + ] } \ No newline at end of file diff --git a/sanehal_bringup/launch/diffbot_on_pi.launch.py b/sanehal_bringup/launch/diffbot_on_pi.launch.py index fe704a9..0ca6b4e 100644 --- a/sanehal_bringup/launch/diffbot_on_pi.launch.py +++ b/sanehal_bringup/launch/diffbot_on_pi.launch.py @@ -30,7 +30,11 @@ def generate_launch_description(): PathJoinSubstitution([FindExecutable(name='xacro')]), ' ', PathJoinSubstitution( - [FindPackageShare('sanehal_vehicle_description'), 'urdf', 'diffbot.urdf.xacro'] + [ + FindPackageShare('sanehal_vehicle_description'), + 'urdf', + 'diffbot.urdf.xacro' + ] ), ] ) @@ -64,7 +68,11 @@ def generate_launch_description(): joint_state_broadcaster_spawner = Node( package='controller_manager', executable='spawner', - arguments=['joint_state_broadcaster', '--controller-manager', '/controller_manager'], + arguments=[ + 'joint_state_broadcaster', + '--controller-manager', + '/controller_manager' + ], ) robot_controller_spawner = Node( @@ -74,7 +82,7 @@ def generate_launch_description(): ) # Delay start of robot_controller after `joint_state_broadcaster` - delay_robot_controller_spawner_after_joint_state_broadcaster_spawner = RegisterEventHandler( + delay_robot_controller_spawner = RegisterEventHandler( event_handler=OnProcessExit( target_action=joint_state_broadcaster_spawner, on_exit=[robot_controller_spawner], @@ -86,7 +94,7 @@ def generate_launch_description(): control_node, robot_state_pub_node, joint_state_broadcaster_spawner, - delay_robot_controller_spawner_after_joint_state_broadcaster_spawner, + delay_robot_controller_spawner, ] return LaunchDescription(nodes)