Skip to content

Commit

Permalink
Fix wheel type path
Browse files Browse the repository at this point in the history
  • Loading branch information
rafal-gorecki committed Sep 20, 2024
1 parent 3aa73ef commit 6778b07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion panther_controller/launch/controller.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,13 @@ def generate_launch_description():
choices=["True", "true", "False", "false"],
)

robot_description_pkg = PythonExpression(["'", robot_model, "_description'"])
wheel_config_path = LaunchConfiguration("wheel_config_path")
declare_wheel_config_path_arg = DeclareLaunchArgument(
"wheel_config_path",
default_value=PathJoinSubstitution(
[
FindPackageShare("panther_description"),
FindPackageShare(robot_description_pkg),
"config",
PythonExpression(["'", wheel_type, ".yaml'"]),
]
Expand Down

0 comments on commit 6778b07

Please sign in to comment.