Skip to content

Commit

Permalink
Set clean_namespace as class variable
Browse files Browse the repository at this point in the history
  • Loading branch information
iory committed Feb 27, 2024
1 parent 574eb52 commit 2b724a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ros/kxr_controller/node_scripts/rcb4_ros_bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def __init__(self):
last_slash_pos = full_namespace.rfind('/')
clean_namespace = full_namespace[:last_slash_pos] \
if last_slash_pos != 0 else ''
self.clean_namespace = clean_namespace

set_robot_description(
urdf_path,
Expand Down

0 comments on commit 2b724a4

Please sign in to comment.