Comments (5)
Thanks for finding this bug. We have a fix that will be pushed soon. In the meantime, to unblock you:
- Remove this line
curobo/examples/isaac_sim/helper.py
Line 107 in 774dcfd
robot_p = Robot(
prim_path=robot_path + "/" + base_link_name,
name=robot_name,
)
from curobo.util.usd_helper import set_prim_transform
robot_prim = robot_p.prim
stage = robot_prim.GetStage()
linkp = stage.GetPrimAtPath(robot_path)
set_prim_transform(linkp, [position[0], position[1], position[2], 1, 0, 0, 0])
from curobo.
@balakumar-s I followed your modification. The robots are placed in the right positions now. However, Isaac-sim crashed when I moved the target cube.
[ERROR] [curobo] changing goal type, breaking previous cuda graph.
NoneType: None
Stack (most recent call last):
File "examples/isaac_sim/batch_motion_gen_reacher.py", line 298, in <module>
main()
File "examples/isaac_sim/batch_motion_gen_reacher.py", line 252, in main
result = motion_gen.plan_batch_env(full_js, ik_goal, plan_config.clone())
File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/motion_gen.py", line 1418, in plan_batch_env
plan_config,
File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/motion_gen.py", line 1243, in _plan_batch_attempts
solve_state, start_state, goal_pose, plan_config
File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/motion_gen.py", line 2082, in _plan_from_solve_state_batch
return_all_solutions=True,
File "/home/songlin/.local/share/ov/pkg/isaac_sim-2022.2.1/kit/python/lib/python3.7/contextlib.py", line 74, in inner
return func(*args, **kwds)
File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/motion_gen.py", line 991, in _solve_trajopt_from_solve_state
newton_iters=newton_iters,
File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/trajopt.py", line 560, in solve_any
newton_iters=newton_iters,
File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/trajopt.py", line 762, in solve_batch_env
newton_iters=newton_iters,
File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/trajopt.py", line 590, in solve_from_solve_state
goal_buffer = self.update_goal_buffer(solve_state, goal)
File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/trajopt.py", line 492, in update_goal_buffer
log_error("changing goal type, breaking previous cuda graph.")
File "/home/songlin/Projects/curobo/src/curobo/util/logger.py", line 44, in log_error
logger.error(txt, exc_info=exc_info, stack_info=stack_info, *args, **kwargs)
Traceback (most recent call last):
File "examples/isaac_sim/batch_motion_gen_reacher.py", line 298, in <module>
main()
File "examples/isaac_sim/batch_motion_gen_reacher.py", line 252, in main
result = motion_gen.plan_batch_env(full_js, ik_goal, plan_config.clone())
File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/motion_gen.py", line 1418, in plan_batch_env
plan_config,
File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/motion_gen.py", line 1243, in _plan_batch_attempts
solve_state, start_state, goal_pose, plan_config
File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/motion_gen.py", line 2082, in _plan_from_solve_state_batch
return_all_solutions=True,
File "/home/songlin/.local/share/ov/pkg/isaac_sim-2022.2.1/kit/python/lib/python3.7/contextlib.py", line 74, in inner
return func(*args, **kwds)
File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/motion_gen.py", line 991, in _solve_trajopt_from_solve_state
newton_iters=newton_iters,
File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/trajopt.py", line 560, in solve_any
newton_iters=newton_iters,
File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/trajopt.py", line 762, in solve_batch_env
newton_iters=newton_iters,
File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/trajopt.py", line 590, in solve_from_solve_state
goal_buffer = self.update_goal_buffer(solve_state, goal)
File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/trajopt.py", line 492, in update_goal_buffer
log_error("changing goal type, breaking previous cuda graph.")
File "/home/songlin/Projects/curobo/src/curobo/util/logger.py", line 45, in log_error
raise
RuntimeError: No active exception to reraise
/home/songlin/.local/share/ov/pkg/isaac_sim-2022.2.1/python.sh: line 41: 368592 Segmentation fault (core dumped) $python_exe "$@" $args
There was an error running python
Can you help please? I am using Issac-sim 2022.2.1 and installed latest curobo commit
from curobo.
@balakumar-s I followed your modification. The robots are placed in the right positions now. However, Isaac-sim crashed when I moved the target cube.
[ERROR] [curobo] changing goal type, breaking previous cuda graph. NoneType: None Stack (most recent call last): File "examples/isaac_sim/batch_motion_gen_reacher.py", line 298, in <module> main() File "examples/isaac_sim/batch_motion_gen_reacher.py", line 252, in main result = motion_gen.plan_batch_env(full_js, ik_goal, plan_config.clone()) File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/motion_gen.py", line 1418, in plan_batch_env plan_config, File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/motion_gen.py", line 1243, in _plan_batch_attempts solve_state, start_state, goal_pose, plan_config File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/motion_gen.py", line 2082, in _plan_from_solve_state_batch return_all_solutions=True, File "/home/songlin/.local/share/ov/pkg/isaac_sim-2022.2.1/kit/python/lib/python3.7/contextlib.py", line 74, in inner return func(*args, **kwds) File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/motion_gen.py", line 991, in _solve_trajopt_from_solve_state newton_iters=newton_iters, File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/trajopt.py", line 560, in solve_any newton_iters=newton_iters, File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/trajopt.py", line 762, in solve_batch_env newton_iters=newton_iters, File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/trajopt.py", line 590, in solve_from_solve_state goal_buffer = self.update_goal_buffer(solve_state, goal) File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/trajopt.py", line 492, in update_goal_buffer log_error("changing goal type, breaking previous cuda graph.") File "/home/songlin/Projects/curobo/src/curobo/util/logger.py", line 44, in log_error logger.error(txt, exc_info=exc_info, stack_info=stack_info, *args, **kwargs) Traceback (most recent call last): File "examples/isaac_sim/batch_motion_gen_reacher.py", line 298, in <module> main() File "examples/isaac_sim/batch_motion_gen_reacher.py", line 252, in main result = motion_gen.plan_batch_env(full_js, ik_goal, plan_config.clone()) File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/motion_gen.py", line 1418, in plan_batch_env plan_config, File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/motion_gen.py", line 1243, in _plan_batch_attempts solve_state, start_state, goal_pose, plan_config File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/motion_gen.py", line 2082, in _plan_from_solve_state_batch return_all_solutions=True, File "/home/songlin/.local/share/ov/pkg/isaac_sim-2022.2.1/kit/python/lib/python3.7/contextlib.py", line 74, in inner return func(*args, **kwds) File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/motion_gen.py", line 991, in _solve_trajopt_from_solve_state newton_iters=newton_iters, File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/trajopt.py", line 560, in solve_any newton_iters=newton_iters, File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/trajopt.py", line 762, in solve_batch_env newton_iters=newton_iters, File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/trajopt.py", line 590, in solve_from_solve_state goal_buffer = self.update_goal_buffer(solve_state, goal) File "/home/songlin/Projects/curobo/src/curobo/wrap/reacher/trajopt.py", line 492, in update_goal_buffer log_error("changing goal type, breaking previous cuda graph.") File "/home/songlin/Projects/curobo/src/curobo/util/logger.py", line 45, in log_error raise RuntimeError: No active exception to reraise /home/songlin/.local/share/ov/pkg/isaac_sim-2022.2.1/python.sh: line 41: 368592 Segmentation fault (core dumped) $python_exe "$@" $args There was an error running python
Can you help please? I am using Issac-sim 2022.2.1 and installed latest curobo commit
Faced the same issue.
Workaround:
Replace this line
use_cuda_graph=False,
from curobo.
from curobo.
We fixed the robot location in latest release.
from curobo.
Related Issues (20)
- nvblox issue with isaac_sim_4.0.0 docker HOT 3
- how to use cumotion with multi plan group HOT 2
- Even for simple end effector approaching "straight-line motion," Curubo still plans very distant and laborious trajectories.
- Encounter Runtime Error CUDA error invalid argument while trying "Motion Generation" example HOT 3
- How to initiate the base position of robot
- Does cuRobo support robot with prismatic joint? HOT 2
- Fail to configure cumotion
- Inconsistent Data Handling in get_spline_interpolated_trajectory Function
- Configuring a new robot HOT 1
- AttributeError: 'CudaRobotModel' object has no attribute 'attach_object' in trajopt.py
- Curobo collision geometry differs from IsaacSim approximation
- curobo failed to parse urdf HOT 1
- UR5 robot does not work motion_gen_reacher.py HOT 2
- Small bug in examples/isaac_sim/multi_arm_reacher.py (with fix)
- remove_obstacle() function seems to fail work
- Collision Mesh of curobo
- curobo/examples/isaac_sim/mpc_example.py can not run in isaac-sim 4.1.0-rc.7+
- isaac sim 4.1 examples error HOT 1
- example motion_gen_reacher.py error
- /nvblox_node/tsdf_layer and /curobo/voxels seem to have an offset?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from curobo.