Skip to content

Commit ebb9e57

Browse files
author
Felix Exner (fexner)
authored
Fix tool voltage setup (#526)
* Move BEGIN_REPLACE inside of header * Change default value of tool_voltage Keeping this at 0 requires users to explicitly set it to non-zero. This way we won't accitentally destroy hardware that cannot handle 24V.
1 parent a76041d commit ebb9e57

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ur_robot_driver/launch/ur_control.launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ def generate_launch_description():
530530
declared_arguments.append(
531531
DeclareLaunchArgument(
532532
"tool_voltage",
533-
default_value="24",
533+
default_value="0", # 0 being a conservative value that won't destroy anything
534534
description="Tool voltage that will be setup.",
535535
)
536536
)

ur_robot_driver/resources/ros_control.urscript

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
{{BEGIN_REPLACE}}
2-
31
# HEADER_BEGIN
42

3+
{{BEGIN_REPLACE}}
4+
55
steptime = get_steptime()
66

77
textmsg("ExternalControl: steptime=", steptime)

0 commit comments

Comments
 (0)