Skip to content

Commit 09f68da

Browse files
Merge pull request #17 from NVIDIA-ISAAC-ROS/release-3.2
Update Isaac ROS MoveIt Benchmark
2 parents 5381864 + b69af70 commit 09f68da

File tree

7 files changed

+34
-11
lines changed

7 files changed

+34
-11
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ Please visit the [Isaac ROS Documentation](https://nvidia-isaac-ros.github.io/re
4040
* [`isaac_ros_benchmark`](https://nvidia-isaac-ros.github.io/repositories_and_packages/isaac_ros_benchmark/isaac_ros_benchmark/index.html)
4141
* [Quickstart](https://nvidia-isaac-ros.github.io/repositories_and_packages/isaac_ros_benchmark/isaac_ros_benchmark/index.html#quickstart)
4242
* [Troubleshooting](https://nvidia-isaac-ros.github.io/repositories_and_packages/isaac_ros_benchmark/isaac_ros_benchmark/index.html#troubleshooting)
43+
* [`isaac_ros_moveit_benchmark`](https://nvidia-isaac-ros.github.io/repositories_and_packages/isaac_ros_benchmark/benchmarks/isaac_ros_moveit_benchmark/index.html)
44+
* [Overview](https://nvidia-isaac-ros.github.io/repositories_and_packages/isaac_ros_benchmark/benchmarks/isaac_ros_moveit_benchmark/index.html#overview)
45+
* [Setup](https://nvidia-isaac-ros.github.io/repositories_and_packages/isaac_ros_benchmark/benchmarks/isaac_ros_moveit_benchmark/index.html#setup)
46+
* [Running the Benchmark](https://nvidia-isaac-ros.github.io/repositories_and_packages/isaac_ros_benchmark/benchmarks/isaac_ros_moveit_benchmark/index.html#running-the-benchmark)
47+
* [Available Metrics](https://nvidia-isaac-ros.github.io/repositories_and_packages/isaac_ros_benchmark/benchmarks/isaac_ros_moveit_benchmark/index.html#available-metrics)
4348

4449
## Latest
4550

benchmarks/isaac_ros_moveit_benchmark/isaac_ros_moveit_benchmark/isaac_ros_moveit_benchmark/planner_benchmark_mbm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# limitations under the License.
1515
#
1616
# SPDX-License-Identifier: Apache-2.0
17+
import time
1718
from typing import Any, Dict, List
1819

1920
from curobo.geom.sdf.world import WorldConfig
@@ -91,6 +92,7 @@ def test_benchmark(self) -> None:
9192
pose,
9293
planner)
9394
planner_response_list.append(planner_response)
95+
time.sleep(5)
9496
self._resource_profiler.stop_profiling()
9597
self.get_logger().info('Resource profiling stopped.')
9698

@@ -165,8 +167,6 @@ def get_available_planners(self, planning_pipline: str) -> List[str]:
165167
'TRRTkConfigDefault',
166168
'PRMkConfigDefault',
167169
'ESTkConfigDefault',
168-
'RRTstarkConfigDefault',
169-
'PRMstarkConfigDefault',
170170
]
171171
elif planning_pipline == 'isaac_ros_cumotion':
172172
available_planners = ['cuMotion']

benchmarks/isaac_ros_moveit_benchmark/isaac_ros_moveit_benchmark/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ SPDX-License-Identifier: Apache-2.0
2121
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
2222
<package format="3">
2323
<name>isaac_ros_moveit_benchmark</name>
24-
<version>3.2.5</version>
24+
<version>3.2.6</version>
2525
<description>Scripts for benchmarking moveit planners</description>
2626

2727
<maintainer email="[email protected]">Isaac ROS Maintainers</maintainer>

benchmarks/isaac_ros_moveit_benchmark/isaac_ros_moveit_robot_benchmark/ur5/isaac_ros_ur5_cumotion_benchmark/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ SPDX-License-Identifier: Apache-2.0
2121
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
2222
<package format="3">
2323
<name>isaac_ros_ur5_cumotion_benchmark</name>
24-
<version>3.2.5</version>
24+
<version>3.2.6</version>
2525
<description>Benchmarking scripts for cuMotion with UR5 robot</description>
2626

2727
<maintainer email="[email protected]">Isaac ROS Maintainers</maintainer>

benchmarks/isaac_ros_moveit_benchmark/isaac_ros_moveit_robot_benchmark/ur5/isaac_ros_ur5_cumotion_benchmark/ur5_cumotion_benchmark_scripts/ur5_cumotion_mbm.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
from isaac_ros_moveit_benchmark import PlanningPipeline, RobotGroup, TestPlannerMBM
2222

23-
from launch.actions import IncludeLaunchDescription
23+
from launch.actions import GroupAction, IncludeLaunchDescription, SetEnvironmentVariable
2424
from launch.launch_description_sources import PythonLaunchDescriptionSource
2525
from launch_ros.actions import Node
2626

@@ -66,12 +66,21 @@ def launch_setup(container_prefix, container_sigterm_timeout):
6666
cumotion_move_group_launch = IncludeLaunchDescription(
6767
PythonLaunchDescriptionSource(
6868
[robot_moveit_launch_dir, '/demo.launch.py']),
69-
launch_arguments={'default_planning_pipeline': 'isaac_ros_cumotion'}.items()
69+
launch_arguments={
70+
'default_planning_pipeline': 'isaac_ros_cumotion',
71+
'use_rviz': 'False'}.items()
72+
)
73+
74+
cumotion_move_group_action = GroupAction(
75+
actions=[
76+
SetEnvironmentVariable(name='DISPLAY', value='""'),
77+
cumotion_move_group_launch,
78+
]
7079
)
7180

7281
return [
7382
cumotion_planner_node,
74-
cumotion_move_group_launch
83+
cumotion_move_group_action,
7584
]
7685

7786

benchmarks/isaac_ros_moveit_benchmark/isaac_ros_moveit_robot_benchmark/ur5/isaac_ros_ur5_ompl_benchmark/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ SPDX-License-Identifier: Apache-2.0
2121
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
2222
<package format="3">
2323
<name>isaac_ros_ur5_ompl_benchmark</name>
24-
<version>3.2.5</version>
24+
<version>3.2.6</version>
2525
<description>Benchmarking scripts for OMPL planners with UR5 robot</description>
2626

2727
<maintainer email="[email protected]">Isaac ROS Maintainers</maintainer>

benchmarks/isaac_ros_moveit_benchmark/isaac_ros_moveit_robot_benchmark/ur5/isaac_ros_ur5_ompl_benchmark/ur5_ompl_benchmark_scripts/ur5_ompl_mbm.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
from isaac_ros_moveit_benchmark import PlanningPipeline, RobotGroup, TestPlannerMBM
2222

23-
from launch.actions import IncludeLaunchDescription
23+
from launch.actions import GroupAction, IncludeLaunchDescription, SetEnvironmentVariable
2424
from launch.launch_description_sources import PythonLaunchDescriptionSource
2525

2626

@@ -37,11 +37,20 @@ def launch_setup(container_prefix, container_sigterm_timeout):
3737
get_package_share_directory('ur5_gripper_moveit_config'), 'launch')
3838
ompl_move_group_launch = IncludeLaunchDescription(
3939
PythonLaunchDescriptionSource([robot_moveit_launch_dir, '/demo.launch.py']),
40-
launch_arguments={'default_planning_pipeline': 'ompl'}.items()
40+
launch_arguments={
41+
'default_planning_pipeline': 'ompl',
42+
'use_rviz': 'False'}.items()
43+
)
44+
45+
ompl_move_group_action = GroupAction(
46+
actions=[
47+
SetEnvironmentVariable(name='DISPLAY', value='""'),
48+
ompl_move_group_launch,
49+
]
4150
)
4251

4352
return [
44-
ompl_move_group_launch,
53+
ompl_move_group_action,
4554
]
4655

4756

0 commit comments

Comments
 (0)