Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented the scenario related to moveit_task_constructor_benchmark #26

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Added zenoh router to launch file
CihatAltiparmak committed Oct 7, 2024
commit d1c49a00f403ce033d470121a82c3f851232946a
21 changes: 20 additions & 1 deletion launch/scenario_moveit_task_constructor_benchmark.launch.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import os
from launch import LaunchDescription
from launch.substitutions import LaunchConfiguration, PathJoinSubstitution
from launch.substitutions import (
LaunchConfiguration,
PathJoinSubstitution,
EnvironmentVariable,
EqualsSubstitution,
)
from launch.conditions import IfCondition
from launch_ros.actions import Node
from ament_index_python.packages import get_package_share_directory
@@ -112,6 +117,19 @@ def launch_setup(context, *args, **kwargs):
arguments=["panda_hand_controller", "-c", "/controller_manager"],
)

zenoh_router = Node(
name="zenoh_router",
package="rmw_zenoh_cpp",
executable="rmw_zenohd",
output="both",
condition=IfCondition(
EqualsSubstitution(
EnvironmentVariable("RMW_IMPLEMENTATION", default_value=""),
"rmw_zenoh_cpp",
),
),
)

benchmark_main_node = Node(
name="benchmark_main",
package="moveit_middleware_benchmark",
@@ -135,6 +153,7 @@ def launch_setup(context, *args, **kwargs):
)

return [
zenoh_router,
move_group_node,
static_tf_node,
robot_state_publisher,