Skip to content

Commit

Permalink
Move static_transform from moveit to robot launch file.
Browse files Browse the repository at this point in the history
Signed-off-by: Jelmer de Wolde <[email protected]>
  • Loading branch information
Jelmerdw committed Nov 4, 2024
1 parent 1812d46 commit 8b7207b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions rcdt_utilities/launch/moveit.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,6 @@ def launch_setup(context: LaunchContext) -> None:
)
moveit_config = moveit_config.to_dict()

# Create link between world and base:
static_transform_publisher = Node(
package="tf2_ros",
executable="static_transform_publisher",
name="static_tf_world_base",
arguments=["--frame-id", "world", "--child-frame-id", "base"],
)

# Moveit as node:
moveit_node = Node(
package="rcdt_utilities",
Expand Down Expand Up @@ -90,7 +82,6 @@ def launch_setup(context: LaunchContext) -> None:

skip = LaunchDescriptionEntity()
return [
static_transform_publisher if moveit_arg != "off" else skip,
moveit_node if moveit_arg == "node" else skip,
moveit_rivz if moveit_arg == "rviz" else skip,
rviz if moveit_arg == "rviz" else skip,
Expand Down

0 comments on commit 8b7207b

Please sign in to comment.