Skip to content

Commit

Permalink
fix namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
BOOTCFG committed Nov 8, 2024
1 parent d5b7ade commit 8bf6a37
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,14 @@ def generate_launch_description():
]
)

namespace_ext = PythonExpression(["'", namespace, "' + '/' if '", namespace, "' else ''"])

set_robot_description = ExecuteProcess(
cmd=[
"ros2",
"param",
"set",
"/panther/robot_state_publisher",
[namespace_ext, "robot_state_publisher"],
"robot_description",
robot_description_content,
],
Expand Down

0 comments on commit 8bf6a37

Please sign in to comment.