Skip to content

Commit

Permalink
Changed use_mock_hardware with use_fake_hardware for coherency with o…
Browse files Browse the repository at this point in the history
…ther launch files
  • Loading branch information
VinDp committed Feb 14, 2024
1 parent 7b5578c commit ac72e26
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions ur_robot_driver/launch/ur30.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,17 @@ def generate_launch_description():
)
declared_arguments.append(
DeclareLaunchArgument(
"use_mock_hardware",
"use_fake_hardware",
default_value="false",
description="Start robot with mock hardware mirroring command to its states.",
description="Start robot with fake hardware mirroring command to its states.",
)
)
declared_arguments.append(
DeclareLaunchArgument(
"mock_sensor_commands",
"fake_sensor_commands",
default_value="false",
description="Enable mock command interfaces for sensors used for simple simulations. \
Used only if 'use_mock_hardware' parameter is true.",
description="Enable fake command interfaces for sensors used for simple simulations. \
Used only if 'use_fake_hardware' parameter is true.",
)
)
declared_arguments.append(
Expand All @@ -82,8 +82,8 @@ def generate_launch_description():

# Initialize Arguments
robot_ip = LaunchConfiguration("robot_ip")
use_mock_hardware = LaunchConfiguration("use_mock_hardware")
mock_sensor_commands = LaunchConfiguration("mock_sensor_commands")
use_fake_hardware = LaunchConfiguration("use_fake_hardware")
fake_sensor_commands = LaunchConfiguration("fake_sensor_commands")
initial_joint_controller = LaunchConfiguration("initial_joint_controller")
activate_joint_controller = LaunchConfiguration("activate_joint_controller")

Expand All @@ -92,8 +92,8 @@ def generate_launch_description():
launch_arguments={
"ur_type": "ur30",
"robot_ip": robot_ip,
"use_mock_hardware": use_mock_hardware,
"mock_sensor_commands": mock_sensor_commands,
"use_fake_hardware": use_fake_hardware,
"fake_sensor_commands": fake_sensor_commands,
"initial_joint_controller": initial_joint_controller,
"activate_joint_controller": activate_joint_controller,
}.items(),
Expand Down

0 comments on commit ac72e26

Please sign in to comment.