Skip to content

Commit

Permalink
Added use_sim_time argument and defaulted launch_servo to false
Browse files Browse the repository at this point in the history
  • Loading branch information
VinDp committed Jun 10, 2024
1 parent da7ae54 commit 06d8df3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ur_moveit_config/launch/ur_moveit.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ def declare_arguments():
description="Path where the warehouse database should be stored",
),
DeclareLaunchArgument(
"launch_servo", default_value="true", description="Launch Servo?"
"launch_servo", default_value="false", description="Launch Servo?"
),
DeclareLaunchArgument(
"use_sim_time", default_value="false", description="Using or not time from simulation"
),
]
)
Expand All @@ -97,6 +100,7 @@ def generate_launch_description():
ur_type = LaunchConfiguration("ur_type")
warehouse_sqlite_path = LaunchConfiguration("warehouse_sqlite_path")
launch_servo = LaunchConfiguration("launch_servo")
use_sim_time = LaunchConfiguration("use_sim_time")

moveit_config = (
MoveItConfigsBuilder(robot_name="ur", package_name="ur_moveit_config")
Expand Down Expand Up @@ -126,6 +130,7 @@ def generate_launch_description():
parameters=[
moveit_config.to_dict(),
warehouse_ros_config,
{'use_sim_time': use_sim_time},
],
)

Expand Down

0 comments on commit 06d8df3

Please sign in to comment.