Skip to content

Commit

Permalink
Format launch files
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelirh committed Sep 12, 2024
1 parent 8a095a2 commit fea4081
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions joy2twist/launch/gamepad_controller.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ def generate_launch_description():

joy2twist_launch = IncludeLaunchDescription(
PythonLaunchDescriptionSource(
[PathJoinSubstitution([FindPackageShare("joy2twist"), "launch", "joy2twist.launch.py"])]
[
PathJoinSubstitution(
[FindPackageShare("joy2twist"), "launch", "joy2twist.launch.py"]
)
]
),
launch_arguments={
"joy2twist_params_file": LaunchConfiguration("joy2twist_params_file"),
Expand All @@ -44,6 +48,11 @@ def generate_launch_description():
remappings=[("/diagnostics", "diagnostics")],
)

actions = [declare_namespace_arg, joy2twist_params_file_argument, joy2twist_launch, joy_linux_node]
actions = [
declare_namespace_arg,
joy2twist_params_file_argument,
joy2twist_launch,
joy_linux_node,
]

return LaunchDescription(actions)
2 changes: 1 addition & 1 deletion joy2twist/launch/joy2twist.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def generate_launch_description():
parameters=[LaunchConfiguration("joy2twist_params_file")],
# output={"stdout": "screen", "stderr": "screen"},
emulate_tty="true",
namespace=namespace
namespace=namespace,
)

actions = [declare_namespace_arg, joy2twist_params_file_argument, joy2twist_node]
Expand Down

0 comments on commit fea4081

Please sign in to comment.