Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mhubii committed Dec 29, 2023
1 parent 8ab890f commit cef18d0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions lbr_bringup/launch/real.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,17 @@ def launch_setup(context: LaunchContext) -> List[LaunchDescriptionEntity]:
rviz_config="config/moveit.rviz",
parameters=LBRMoveGroupMixin.params_rviz(
moveit_configs=moveit_configs_builder.to_moveit_configs()
),
)
+ [{"use_sim_time": False}],
condition=IfCondition(
AndSubstitution(LaunchConfiguration("moveit"), LaunchConfiguration("rviz"))
),
remappings=[
("robot_description", robot_name + "/robot_description"),
("robot_description_semantic", robot_name + "/robot_description_semantic"),
("display_planned_path", robot_name + "/display_planned_path"),
("joint_states", robot_name + "/joint_states"),
("monitored_planning_scene", robot_name + "/monitored_planning_scene"),
("robot_description", robot_name + "/robot_description"),
("robot_description_semantic", robot_name + "/robot_description_semantic"),
],
)

Expand Down
8 changes: 5 additions & 3 deletions lbr_bringup/launch/sim.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,17 @@ def launch_setup(context: LaunchContext) -> List[LaunchDescriptionEntity]:
rviz_config="config/moveit.rviz",
parameters=LBRMoveGroupMixin.params_rviz(
moveit_configs=moveit_configs_builder.to_moveit_configs()
),
)
+ [{"use_sim_time": True}],
condition=IfCondition(
AndSubstitution(LaunchConfiguration("moveit"), LaunchConfiguration("rviz"))
),
remappings=[
("robot_description", robot_name + "/robot_description"),
("robot_description_semantic", robot_name + "/robot_description_semantic"),
("display_planned_path", robot_name + "/display_planned_path"),
("joint_states", robot_name + "/joint_states"),
("monitored_planning_scene", robot_name + "/monitored_planning_scene"),
("robot_description", robot_name + "/robot_description"),
("robot_description_semantic", robot_name + "/robot_description_semantic"),
],
)

Expand Down

0 comments on commit cef18d0

Please sign in to comment.