Skip to content

Commit

Permalink
Add gripper to slider interface
Browse files Browse the repository at this point in the history
  • Loading branch information
hbuurmei committed Nov 3, 2024
1 parent 8c52d1f commit 67e7216
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,8 @@ all_motors_control:
max: 0.45
to: motors_control[5].value
default: 0.0
move_gripper:
type: interfaces/srv/GripperAction
gripper:
to: action
default: 'open'
2 changes: 1 addition & 1 deletion stack/main/src/executor/executor/slider_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ def main(args=None):
# read passed param file
filename = len(sys.argv) > 1 and sys.argv[1] or ''
if not os.path.exists(filename):
filename ='slider_control_config.yaml'
filename ='slider_config.yaml'

# build GUI
full_namespace = '{}/{}'.format(node.get_namespace().strip('/'), node.get_name())
Expand Down

0 comments on commit 67e7216

Please sign in to comment.