plan_grasp() failing with error: cuda graph reset not available #570
Unanswered
Abhijit16
asked this question in
Software Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to use plan_grasp() function of MotionGen in cuRobo in my scene, for manipulating a Franka panda arm, to a target location(a small cube), however i am getting below error:
[Error] [omni.graph.core.plugin] ValueError: changing goal type, cuda graph reset not available, consider updating to cuda >= 12.0
When I use MotionGen's plan_single() function, it works well, & the robot is able to move to the target location, but plan_grasp() fails.
My cuda version is 12.1.
cuRobo installation mode: isaacsim
python(using in conda env) version: 3.10.16
GPU: 4080 super
OS: Windows
Isaacsim version: 4.5.0
The code snippet(used inside a script node in action graph) is as below:
`
import os
import torch
import omni.usd
from pxr import Usd, UsdPhysics, Gf
from curobo.util.usd_helper import UsdHelper
import numpy as np
from omni.isaac.core.objects import cuboid, sphere
from curobo.types.math import Pose
from curobo.types.robot import JointState
from curobo.wrap.reacher.motion_gen import MotionGen, MotionGenConfig, MotionGenPlanConfig
from scipy.spatial.transform import Rotation
from scipy.spatial.transform import Rotation as R
from curobo.types.base import TensorDeviceType
device = "cuda" if torch.cuda.is_available() else "cpu"
def world_cfg():
stage = omni.usd.get_context().get_stage() # get the current USD stage.
usd_helper = UsdHelper() # Create an instance of UsdHelper.
def execute_plan_grasp(motion_gen, goal_position, goal_orientation, start_state):
result = None
def compute(db: og.Database):
#db.outputs.trajectory = []
# (1) generate WorldConfig from current stage.
world_config = world_cfg()
`
A more detailed error log:
2025-09-27 05:14:59 [Error] [curobo] changing goal type, cuda graph reset not available, consider updating to cuda >= 12.0
2025-09-27 05:14:59 [Error] [curobo] NoneType: None
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] /World/Graphs/frankaActionGraph/motion_gen_script_node: [/World/Graphs/frankaActionGraph] OmniGraph Error: Traceback (most recent call last):
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] File "C:\Users\abhij\AppData\Local\Temp\tmpeqtcyn2a.py", line 234, in compute
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] File "C:\Users\abhij\AppData\Local\Temp\tmpeqtcyn2a.py", line 126, in execute_plan_grasp
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] File "C:\Abhijit\Programs\Pytorch\issaclab\curobo\src\curobo\wrap\reacher\motion_gen.py", line 4269, in plan_grasp
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] goalset_motion_gen_result = self.plan_goalset(
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] File "C:\Abhijit\Programs\Pytorch\issaclab\curobo\src\curobo\wrap\reacher\motion_gen.py", line 1615, in plan_goalset
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] result = self._plan_attempts(
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] File "C:\Abhijit\Programs\Pytorch\issaclab\curobo\src\curobo\wrap\reacher\motion_gen.py", line 3046, in _plan_attempts
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] result = self._plan_from_solve_state(
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] File "C:\Abhijit\Programs\Pytorch\issaclab\curobo\src\curobo\wrap\reacher\motion_gen.py", line 3308, in _plan_from_solve_state
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] ik_result = self._solve_ik_from_solve_state(
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] File "C:\Users\abhij\anaconda3\envs\issacsim\lib\contextlib.py", line 79, in inner
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] return func(*args, **kwds)
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] File "C:\Abhijit\Programs\Pytorch\issaclab\curobo\src\curobo\wrap\reacher\motion_gen.py", line 2820, in _solve_ik_from_solve_state
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] ik_result = self.ik_solver.solve_any(
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] File "C:\Abhijit\Programs\Pytorch\issaclab\curobo\src\curobo\wrap\reacher\ik_solver.py", line 1201, in solve_any
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] return self.solve_goalset(
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] File "C:\Abhijit\Programs\Pytorch\issaclab\curobo\src\curobo\wrap\reacher\ik_solver.py", line 757, in solve_goalset
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] return self._solve_from_solve_state(
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] File "C:\Abhijit\Programs\Pytorch\issaclab\curobo\src\curobo\wrap\reacher\ik_solver.py", line 1066, in _solve_from_solve_state
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] goal_buffer = self._update_goal_buffer(solve_state, goal_pose, retract_config, link_poses)
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] File "C:\Abhijit\Programs\Pytorch\issaclab\curobo\src\curobo\wrap\reacher\ik_solver.py", line 613, in _update_goal_buffer
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] log_error(
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] File "C:\Abhijit\Programs\Pytorch\issaclab\curobo\src\curobo\util\logger.py", line 103, in log_error
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] raise ValueError(txt)
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] ValueError: changing goal type, cuda graph reset not available, consider updating to cuda >= 12.0
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin]
2025-09-27 05:14:59 [Error] [omni.graph.core.plugin] (from _print_stacktrace() at line 133 in c:\users\abhij\anaconda3\envs\issacsim\lib\site-packages\isaacsim\extscache\omni.graph.scriptnode-1.40.1+106.5.0\omni\graph\scriptnode\ogn\python\nodes\OgnScriptNode.py)
Any help would be much appreciated, thank you.
Regards,
Abhijit
Beta Was this translation helpful? Give feedback.
All reactions