Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
fix typo in control.launch.py #363
Browse files Browse the repository at this point in the history
  • Loading branch information
h-ohta authored Aug 26, 2021
1 parent 00449ba commit 902e21d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions control_launch/control_launch.drawio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions control_launch/launch/control.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,15 +292,15 @@ def launch_setup(context, *args, **kwargs):
composable_node_descriptions=[mpc_follower_component],
target_container=container,
condition=LaunchConfigurationEquals(
'lateral_control_mode', 'mpc_follower'
'lateral_controller_mode', 'mpc_follower'
),
)

pure_pursuit_loader = LoadComposableNodes(
composable_node_descriptions=[pure_pursuit_component],
target_container=container,
condition=LaunchConfigurationEquals(
'lateral_control_mode', 'pure_pursuit'
'lateral_controller_mode', 'pure_pursuit'
),
)

Expand All @@ -320,7 +320,7 @@ def generate_launch_description():
def add_launch_arg(name: str, default_value=None, description=None):
launch_arguments.append(DeclareLaunchArgument(
name, default_value=default_value, description=description))
add_launch_arg('lateral_control_mode', 'mpc_follower',
add_launch_arg('lateral_controller_mode', 'mpc_follower',
'lateral control mode: `mpc_follower` or `pure_pursuit`')
add_launch_arg(
'mpc_follower_param_path',
Expand Down

0 comments on commit 902e21d

Please sign in to comment.