NVlabs / curobo

CUDA Accelerated Robot Library
https://curobo.org
Other
798 stars 125 forks source link

Error when testing a new robot: Configuring a mobile manipulator #16

Closed cedricgoubard closed 1 year ago

cedricgoubard commented 1 year ago

Good morning,

I wanted to test curobo with a robot we are using (ur10e arm with a gripper on a mobile base). I followed the tutorial and everything worked until the last test, when I run omni_python curobo/examples/isaac_sim/motion_gen_reacher.py --robot /{PATH}/ur5e.yml --visualize_spheres

This might be related with the IsaacSim setup I am using:

As mentioned, everything builds correctly, and I am able to run IsaacSim to generate the USD and the spheres. Here is the yaml file, and here is full log of the error I get:

Full Log ``` # /isaac-sim/python.sh curobo/examples/isaac_sim/motion_gen_reacher.py --robot /root/ros_ws/src/curobo_ros/cfg/amiga.yaml --visualize_spheres [Warning] [omni.isaac.kit.simulation_app] Modules: ['pxr', 'pxr.Tf._tf', 'pxr.Tf', 'pxr.Trace._trace', 'pxr.Trace', 'pxr.Work._work', 'pxr.Work', 'pxr.Plug._plug', 'pxr.Plug', 'pxr.Gf._gf', 'pxr.Gf', 'pxr.Vt._vt', 'pxr.Vt', 'pxr.Ar._ar', 'pxr.Ar', 'pxr.Kind._kind', 'pxr.Kind', 'pxr.Sdf._sdf', 'pxr.Sdf', 'pxr.Pcp._pcp', 'pxr.Pcp', 'pxr.Usd._usd', 'pxr.Usd', 'pxr.UsdGeom._usdGeom', 'pxr.UsdGeom', 'pxr.Ndr._ndr', 'pxr.Ndr', 'pxr.Sdr._sdr', 'pxr.Sdr', 'pxr.UsdShade._usdShade', 'pxr.UsdShade', 'pxr.UsdPhysics._usdPhysics', 'pxr.UsdPhysics'] were loaded before SimulationApp was started and might not be loaded correctly. [Warning] [omni.isaac.kit.simulation_app] Please check to make sure no extra omniverse or pxr modules are imported before the call to SimulationApp(...) [Info] [carb] Logging to file: /isaac-sim/kit/logs/Kit/Isaac-Sim/2023.1/kit_20231102_114656.log 2023-11-02 11:46:56 [0ms] [Warning] [omni.kit.app.plugin] No crash reporter present, dumps uploading isn't available. [0.137s] [ext: omni.kit.async_engine-0.0.0] startup [1.409s] [ext: omni.activity.core-1.0.1] startup [1.418s] [ext: omni.assets.plugins-0.0.0] startup [1.423s] [ext: omni.stats-0.0.0] startup [1.426s] [ext: omni.client-1.0.1] startup [1.453s] [ext: omni.activity.profiler-1.0.2] startup [1.458s] [ext: omni.gpu_foundation-0.0.0] startup [1.502s] [ext: omni.rtx.shadercache.vulkan-1.0.0] startup [1.505s] [ext: carb.windowing.plugins-1.0.0] startup 2023-11-02 11:46:58 [2,064ms] [Warning] [carb.windowing-glfw.gamepad] Joystick with unknown remapping detected (will be ignored): Corsair CORSAIR K60 RGB PRO Low Profile Mechanical Gaming Keyboard [030000001c1b0000ad1b000011010000] [2.102s] [ext: omni.kit.renderer.init-0.0.0] startup |---------------------------------------------------------------------------------------------| | Driver Version: 535.113.01 | Graphics API: Vulkan |=============================================================================================| | GPU | Name | Active | LDA | GPU Memory | Vendor-ID | LUID | | | | | | | Device-ID | UUID | | | | | | | Bus-ID | | |---------------------------------------------------------------------------------------------| | 0 | NVIDIA GeForce RTX 3060 | Yes: 0 | | 12534 MB | 10de | 0 | | | | | | | 2503 | f55b400e.. | | | | | | | 65 | | |=============================================================================================| | OS: 20.04.4 LTS (Focal Fossa) ubuntu, Version: 20.04.4, Kernel: 5.15.0-87-generic | XServer Vendor: The X.Org Foundation, XServer Version: 12013000 (1.20.13.0) | Processor: Intel(R) Core(TM) i9-10920X CPU @ 3.50GHz | Cores: 12 | Logical: 24 |---------------------------------------------------------------------------------------------| | Total Memory (MB): 31768 | Free Memory: 15125 | Total Page/Swap (MB): 2047 | Free Page/Swap: 530 |---------------------------------------------------------------------------------------------| [2.810s] [ext: omni.kit.pipapi-0.0.0] startup [2.812s] [ext: omni.kit.pip_archive-0.0.0] startup [2.812s] [ext: omni.pip.compute-1.2.0] startup [2.813s] [ext: omni.pip.torch-2_0_1-2.0.2] startup [2.845s] [ext: omni.pip.cloud-1.0.1] startup [2.847s] [ext: omni.isaac.core_archive-2.2.1] startup [2.847s] [ext: omni.kit.loop-isaac-1.0.2] startup [2.849s] [ext: omni.kit.test-0.0.0] startup [2.851s] [ext: omni.kit.telemetry-0.4.0] startup [2.902s] [ext: omni.isaac.ml_archive-1.1.3] startup [2.904s] [ext: omni.mtlx-0.1.0] startup [2.906s] [ext: omni.usd.config-1.0.3] startup [2.919s] [ext: omni.gpucompute.plugins-0.0.0] startup [2.922s] [ext: omni.usd.libs-1.0.0] startup [3.180s] [ext: omni.appwindow-1.1.5] startup [3.496s] [ext: omni.kit.renderer.core-0.0.0] startup [4.599s] [ext: omni.kit.renderer.capture-0.0.0] starWarning: in Tf_PyLoadScriptModule at line 123 of /buildAgent/work/ac88d7d902b57417/USD/pxr/base/tf/pyUtils.cpp -- Import failed for module 'pxr.UsdSkel'! tup [4.606s] [ext: omni.kit.renderer.imgui-0.0.0] startup [4.823s] [ext: carb.audio-0.1.0] startup [4.852s] [ext: omni.ui-2.17.3] startup [4.886s] [ext: omni.uiaudio-1.0.0] startup [4.889s] [ext: omni.kit.mainwindow-1.0.0] startup [4.893s] [ext: omni.kit.uiapp-0.0.0] startup [4.893s] [ext: omni.usd.schema.anim-0.0.0] startup Traceback (most recent call last): File "/isaac-sim/kit/exts/omni.usd.libs/pxr/UsdSkel/__init__.py", line 25, in Tf.PreparePythonModule() File "/isaac-sim/kit/python/lib/python3.10/site-packages/pxr/Tf/__init__.py", line 89, in PreparePythonModule module = importlib.import_module( File "/isaac-sim/kit/python/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) RuntimeError: extension class wrapper for base class pxrInternal_v0_22__pxrReserved__::UsdTyped has not been created yet 2023-11-02 11:47:00 [4,891ms] [Error] [omni.ext._impl._internal] Failed to import python module pxr.AnimationSchema from /isaac-sim/kit/exts/omni.usd.schema.anim. Error: extension class wrapper for base class pxrInternal_v0_22__pxrReserved__::UsdGeomBoundable has not been created yet. Traceback: Traceback (most recent call last): File "/isaac-sim/kit/kernel/py/omni/ext/_impl/_internal.py", line 187, in _custom_importer return _import_public(ext_module.path, ext_module.name, reload_enabled) File "/isaac-sim/kit/kernel/py/omni/ext/_impl/_internal.py", line 94, in _import_public module = import_module(module_name) File "/isaac-sim/kit/kernel/py/omni/ext/_impl/custom_importer.py", line 76, in import_module return importlib.import_module(name) File "/isaac-sim/kit/python/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/isaac-sim/kit/exts/omni.usd.schema.anim/pxr/AnimationSchema/__init__.py", line 40, in from . import _animationSchema RuntimeError: extension class wrapper for base class pxrInternal_v0_22__pxrReserved__::UsdGeomBoundable has not been created yet 2023-11-02 11:47:00 [4,891ms] [Error] [carb.scripting-python.plugin] Exception: Extension python module: 'pxr.AnimationSchema' in '/isaac-sim/kit/exts/omni.usd.schema.anim' failed to load. At: /isaac-sim/kit/kernel/py/omni/ext/_impl/_internal.py(213): startup /isaac-sim/kit/kernel/py/omni/ext/_impl/_internal.py(328): startup_extension PythonExtension.cpp::startup()(2): /isaac-sim/exts/omni.isaac.kit/omni/isaac/kit/simulation_app.py(303): _start_app /isaac-sim/exts/omni.isaac.kit/omni/isaac/kit/simulation_app.py(192): __init__ /curobo/curobo/examples/isaac_sim/motion_gen_reacher_nvblox.py(52): 2023-11-02 11:47:00 [4,891ms] [Error] [omni.ext.plugin] [ext: omni.usd.schema.anim-0.0.0] Failed to startup python extension. [5.038s] [ext: omni.usd.schema.physics-0.0.0] startup [5.040s] [ext: omni.usd.schema.semantics-0.0.0] startup 2023-11-02 11:47:01 [5,005ms] [Error] [omni.ext._impl._internal] Failed to import python module usd.schema.semantics from /isaac-sim/kit/exts/omni.usd.schema.semantics. Error: extension class wrapper for base class pxrInternal_v0_22__pxrReserved__::UsdTyped has not been created yet. Traceback: Traceback (most recent call last): File "/isaac-sim/kit/kernel/py/omni/ext/_impl/_internal.py", line 187, in _custom_importer return _import_public(ext_module.path, ext_module.name, reload_enabled) File "/isaac-sim/kit/kernel/py/omni/ext/_impl/_internal.py", line 94, in _import_public module = import_module(module_name) File "/isaac-sim/kit/kernel/py/omni/ext/_impl/custom_importer.py", line 76, in import_module return importlib.import_module(name) File "/isaac-sim/kit/python/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/isaac-sim/kit/exts/omni.usd.schema.semantics/usd/schema/semantics/__init__.py", line 4, in import pxr.UsdSkel File "/isaac-sim/kit/exts/omni.usd.libs/pxr/UsdSkel/__init__.py", line 25, in Tf.PreparePythonModule() File "/isaac-sim/kit/python/lib/python3.10/site-packages/pxr/Tf/__init__.py", line 89, in PreparePythonModule module = importlib.import_module( File "/Isaac-sim/kit/python/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) RuntimeError: extension class wrapper for base class pxrInternal_v0_22__pxrReserved__::UsdTyped has not been created yet [...MANY MORE ERRORS LIKE THIS...] 2023-11-02 11:47:04 [8,438ms] [Error] [omni.ext.plugin] [ext: omni.kit.material.library-1.3.39] Failed to startup python extension. [8.577s] [ext: omni.hydra.engine.stats-1.0.1] startup [8.584s] [ext: omni.kit.manipulator.viewport-104.0.8] startup [8.585s] [ext: omni.kit.viewport.window-105.1.9] startup 2023-11-02 11:47:04 [8,552ms] [Error] [omni.ext._impl._internal] Failed to import python module omni.kit.viewport.window from /isaac-sim/kit/exts/omni.kit.viewport.window. Error: No to_python (by-value) converter found for C++ type: std::vector >. Traceback: Traceback (most recent call last): File "/isaac-sim/kit/kernel/py/omni/ext/_impl/_internal.py", line 187, in _custom_importer return _import_public(ext_module.path, ext_module.name, reload_enabled) File "/isaac-sim/kit/kernel/py/omni/ext/_impl/_internal.py", line 94, in _import_public module = import_module(module_name) File "/isaac-sim/kit/kernel/py/omni/ext/_impl/custom_importer.py", line 76, in import_module return importlib.import_module(name) File "/isaac-sim/kit/python/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/isaac-sim/kit/exts/omni.kit.viewport.window/omni/kit/viewport/window/__init__.py", line 1, in from .extension import ViewportWindowExtension File "/isaac-sim/kit/exts/omni.kit.viewport.window/omni/kit/viewport/window/extension.py", line 17, in from .dragdrop.usd_file_drop_delegate import UsdFileDropDelegate File "/isaac-sim/kit/exts/omni.kit.viewport.window/omni/kit/viewport/window/dragdrop/usd_file_drop_delegate.py", line 13, in from .scene_drop_delegate import SceneDropDelegate File "/isaac-sim/kit/exts/omni.kit.viewport.window/omni/kit/viewport/window/dragdrop/scene_drop_delegate.py", line 14, in import omni.usd File "/isaac-sim/kit/exts/omni.usd/omni/usd/__init__.py", line 1, in from ._impl import * File "/isaac-sim/kit/exts/omni.usd/omni/usd/_impl/__init__.py", line 3, in from .api import * File "/isaac-sim/kit/exts/omni.usd/omni/usd/_impl/api.py", line 16, in from pxr import Usd, UsdUtils File "/isaac-sim/kit/exts/omni.usd.libs/pxr/UsdUtils/__init__.py", line 25, in Tf.PreparePythonModule() File "/isaac-sim/kit/python/lib/python3.10/site-packages/pxr/Tf/__init__.py", line 89, in PreparePythonModule module = importlib.import_module( File "/isaac-sim/kit/python/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) TypeError: No to_python (by-value) converter found for C++ type: std::vector > 2023-11-02 11:47:04 [8,552ms] [Error] [carb.scripting-python.plugin] Exception: Extension python module: 'omni.kit.viewport.window' in '/isaac-sim/kit/exts/omni.kit.viewport.window' failed to load. At: /isaac-sim/kit/kernel/py/omni/ext/_impl/_internal.py(213): startup /isaac-sim/kit/kernel/py/omni/ext/_impl/_internal.py(328): startup_extension PythonExtension.cpp::startup()(2): /isaac-sim/exts/omni.isaac.kit/omni/isaac/kit/simulation_app.py(303): _start_app /isaac-sim/exts/omni.isaac.kit/omni/isaac/kit/simulation_app.py(192): __init__ /curobo/curobo/examples/isaac_sim/motion_gen_reacher_nvblox.py(52): 2023-11-02 11:47:04 [8,552ms] [Error] [omni.ext.plugin] [ext: omni.kit.viewport.window-105.1.9] Failed to startup python extension. [8.692s] [ext: omni.physics.tensors-0.1.0] startup [8.704s] [ext: omni.kit.widget.graph-1.8.4] startup [8.710s] [ext: omni.kit.usd_undo-0.1.2] startup [8.711s] [ext: omni.kit.viewport.utility-1.0.16] startup [8.711s] [ext: omni.physx.tensors-0.1.0] startup 2023-11-02 11:47:04 [8,687ms] [Error] [omni.physx.cooking.plugin] Trying to create a context with name "omni.physx" that already exists [8.731s] [ext: omni.kit.window.extensions-1.3.0] startup [8.738s] [ext: omni.graph-1.106.0] startup 2023-11-02 11:47:04 [8,716ms] [Error] [omni.ext._impl._internal] Failed to import python module omni.graph.core from /isaac-sim/kit/exts/omni.graph. Error: No to_python (by-value) converter found for C++ type: std::vector >. Traceback: Traceback (most recent call last): File "/isaac-sim/kit/kernel/py/omni/ext/_impl/_internal.py", line 187, in _custom_importer return _import_public(ext_module.path, ext_module.name, reload_enabled) File "/isaac-sim/kit/kernel/py/omni/ext/_impl/_internal.py", line 94, in _import_public module = import_module(module_name) File "/isaac-sim/kit/kernel/py/omni/ext/_impl/custom_importer.py", line 76, in import_module return importlib.import_module(name) File "/isaac-sim/kit/python/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/isaac-sim/kit/exts/omni.graph/omni/graph/core/__init__.py", line 20, in from ._impl.extension import _PublicExtension # noqa: F401 File "/isaac-sim/kit/exts/omni.graph/omni/graph/core/_impl/extension.py", line 19, in from .file_format_1_6 import migrate_compound_node_schema_data File "/isaac-sim/kit/exts/omni.graph/omni/graph/core/_impl/file_format_1_6.py", line 4, in import omni.usd File "/isaac-sim/kit/exts/omni.usd/omni/usd/__init__.py", line 1, in from ._impl import * File "/isaac-sim/kit/exts/omni.usd/omni/usd/_impl/__init__.py", line 3, in from .api import * File "/isaac-sim/kit/exts/omni.usd/omni/usd/_impl/api.py", line 16, in from pxr import Usd, UsdUtils File "/isaac-sim/kit/exts/omni.usd.libs/pxr/UsdUtils/__init__.py", line 25, in Tf.PreparePythonModule() File "/isaac-sim/kit/python/lib/python3.10/site-packages/pxr/Tf/__init__.py", line 89, in PreparePythonModule module = importlib.import_module( File "/isaac-sim/kit/python/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) TypeError: No to_python (by-value) converter found for C++ type: std::vector > 2023-11-02 11:47:04 [8,716ms] [Error] [carb.scripting-python.plugin] Exception: Extension python module: 'omni.graph.core' in '/isaac-sim/kit/exts/omni.graph' failed to load. At: /isaac-sim/kit/kernel/py/omni/ext/_impl/_internal.py(213): startup /isaac-sim/kit/kernel/py/omni/ext/_impl/_internal.py(328): startup_extension PythonExtension.cpp::startup()(2): /isaac-sim/exts/omni.isaac.kit/omni/isaac/kit/simulation_app.py(303): _start_app /isaac-sim/exts/omni.isaac.kit/omni/isaac/kit/simulation_app.py(192): __init__ /curobo/curobo/examples/isaac_sim/motion_gen_reacher_nvblox.py(52): 2023-11-02 11:47:04 [8,716ms] [Error] [omni.ext.plugin] [ext: omni.graph-1.106.0] Failed to startup python extension. Fatal Python error: Segmentation fault Current thread 0x00007f4e0a4cfb80 (most recent call first): File "/isaac-sim/kit/exts/omni.debugdraw/omni/debugdraw/__init__.py", line 6 in _get_interface File "/isaac-sim/kit/exts/omni.debugdraw/omni/debugdraw/__init__.py", line 10 in get_debug_draw_interface File "/isaac-sim/kit/exts/omni.debugdraw/omni/debugdraw/scripts/extension.py", line 7 in on_startup File "/isaac-sim/kit/kernel/py/omni/ext/_impl/_internal.py", line 166 in _startup_ext File "/isaac-sim/kit/kernel/py/omni/ext/_impl/_internal.py", line 224 in startup File "/isaac-sim/kit/kernel/py/omni/ext/_impl/_internal.py", line 328 in startup_extension File "PythonExtension.cpp::startup()", line 2 in File "/isaac-sim/exts/omni.isaac.kit/omni/isaac/kit/simulation_app.py", line 303 in _start_app File "/isaac-sim/exts/omni.isaac.kit/omni/isaac/kit/simulation_app.py", line 192 in __init__ File "/curobo/curobo/examples/isaac_sim/motion_gen_reacher_nvblox.py", line 52 in Extension modules: numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, torch._C, torch._C._fft, torch._C._linalg, torch._C._nested, torch._C._nn, torch._C._sparse, torch._C._special, xxhash._xxhash, scipy._lib._ccallback_c, scipy.sparse._sparsetools, _csparsetools, scipy.sparse._csparsetools, scipy.sparse.linalg._isolve._iterative, scipy.linalg._fblas, scipy.linalg._flapack, scipy.linalg._cythonized_array_utils, scipy.linalg._flinalg, scipy.linalg._solve_toeplitz, scipy.linalg._matfuncs_sqrtm_triu, scipy.linalg.cython_lapack, scipy.linalg.cython_blas, scipy.linalg._matfuncs_expm, scipy.linalg._decomp_update, scipy.sparse.linalg._dsolve._superlu, scipy.sparse.linalg._eigen.arpack._arpack, scipy.sparse.csgraph._tools, scipy.sparse.csgraph._shortest_path, scipy.sparse.csgraph._traversal, scipy.sparse.csgraph._min_spanning_tree, scipy.sparse.csgraph._flow, scipy.sparse.csgraph._matching, scipy.sparse.csgraph._reordering, scipy.spatial._ckdtree, scipy._lib.messagestream, scipy.spatial._qhull, scipy.spatial._voronoi, scipy.spatial._distance_wrap, scipy.spatial._hausdorff, scipy.special._ufuncs_cxx, scipy.special._ufuncs, scipy.special._specfun, scipy.special._comb, scipy.special._ellip_harm_2, scipy.spatial.transform._rotation, scipy.optimize._minpack2, scipy.optimize._group_columns, scipy.optimize._trlib._trlib, numpy.linalg.lapack_lite, scipy.optimize._lbfgsb, _moduleTNC, scipy.optimize._moduleTNC, scipy.optimize._cobyla, scipy.optimize._slsqp, scipy.optimize._minpack, scipy.optimize._lsq.givens_elimination, scipy.optimize._zeros, scipy.optimize.__nnls, scipy.optimize._highs.cython.src._highs_wrapper, scipy.optimize._highs._highs_wrapper, scipy.optimize._highs.cython.src._highs_constants, scipy.optimize._highs._highs_constants, scipy.linalg._interpolative, scipy.optimize._bglu_dense, scipy.optimize._lsap, scipy.optimize._direct, psutil._psutil_linux, psutil._psutil_posix, PIL._imaging, embreex.rtcore, embreex.rtcore_scene, embreex.mesh_construction, lxml._elementpath, lxml.etree, shapely.lib, shapely._geos, shapely._geometry_helpers, scipy.ndimage._nd_image, _ni_label, scipy.ndimage._ni_label, yaml._yaml, scipy.interpolate._fitpack, scipy.interpolate.dfitpack, scipy.interpolate._bspl, scipy.interpolate._ppoly, scipy.interpolate.interpnd, scipy.interpolate._rbfinterp_pythran, scipy.interpolate._rgi_cython, scipy.integrate._odepack, scipy.integrate._quadpack, scipy.integrate._vode, scipy.integrate._dop, scipy.integrate._lsoda, scipy.special.cython_special, scipy.stats._stats, scipy.stats.beta_ufunc, scipy.stats._boost.beta_ufunc, scipy.stats.binom_ufunc, scipy.stats._boost.binom_ufunc, scipy.stats.nbinom_ufunc, scipy.stats._boost.nbinom_ufunc, scipy.stats.hypergeom_ufunc, scipy.stats._boost.hypergeom_ufunc, scipy.stats.ncf_ufunc, scipy.stats._boost.ncf_ufunc, scipy.stats.ncx2_ufunc, scipy.stats._boost.ncx2_ufunc, scipy.stats.nct_ufunc, scipy.stats._boost.nct_ufunc, scipy.stats.skewnorm_ufunc, scipy.stats._boost.skewnorm_ufunc, scipy.stats.invgauss_ufunc, scipy.stats._boost.invgauss_ufunc, scipy.stats._biasedurn, scipy.stats._levy_stable.levyst, scipy.stats._stats_pythran, scipy._lib._uarray._uarray, scipy.stats._statlib, scipy.stats._mvn, scipy.stats._sobol, scipy.stats._qmc_cy, scipy.stats._rcont.rcont, pydantic.typing, pydantic.validators, pydantic.networks, pydantic.types, pydantic.json, pydantic.error_wrappers, pydantic.fields, pydantic.parse, pydantic.main, pydantic.dataclasses, pydantic.decorator, omni.mdl.pymdlsdk._pymdlsdk (total: 146) /isaac-sim/python.sh: line 41: 1111 Segmentation fault (core dumped) $python_exe "$@" $args There was an error running python ```

Do you have any ideas where this might come from? Thank you!

balakumar-s commented 1 year ago

You would need IsaacSim 2022.2.1 to run the example. We are working on getting the examples to run on 2023.1. I am glad that the sphere tutorial worked in 2023.

cedricgoubard commented 1 year ago

Thank you for your reply; I am building the 2022 image now, will let you know if it fixes the issue.

Also, here are a couple of typos I noticed in the tutorial:

cedricgoubard commented 1 year ago

I got past the error with 2022.2.1 :partying_face: I am now having a problem with my yaml file, but I should be able to fix this myself. I'll close the issue when I manage to finish the tutorial.

FYI, I have also identified the problem in 2023.1, it was caused by this line in my Dockerfile:

RUN /isaac-sim/python.sh -m pip install tomli tqdm usd-core wheel cloudpickle farama-notifications jax-jumpy botocore==1.19.52  boto3==1.16.52

I had to add this to fix a ModuleNotFoundError: No module named 'tomli' error.

balakumar-s commented 1 year ago

Thanks, yes you do have to install tomli. You actually shouldn't install usd-core as isaac sim comes with it's own usd-core. pip installing usd-core will break isaac sim.

cedricgoubard commented 1 year ago

That is weird; I am still stuck even with version 2022.2.1, but I am not really getting an error message this time... The error is:

...
/isaac-sim/python.sh: line 41:    36 Killed                  $python_exe "$@" $args
There was an error running python

I am getting a warning about usd-core at the beginning though:

USDParser failed to import, install curobo with pip install .[usd] or pip install usd-core

To be clear, this is without installing it with pip.

Full log ```bash /isaac-sim/python.sh curobo/examples/isaac_sim/motion_gen_reacher.py --robot /root/ros_ws/src/curobo_ros/cfg/amiga.yaml --visualize_spheres torchtyping could not be imported, falling back to basic types USDParser failed to import, install curobo with pip install .[usd] or pip install usd-core [Warning] [omni.isaac.kit.simulation_app] Modules: ['omni.isaac.kit.app_framework'] were loaded before SimulationApp was started and might not be loaded correctly. [Warning] [omni.isaac.kit.simulation_app] Please check to make sure no extra omniverse or pxr modules are imported before the call to SimulationApp(...) Starting kit application with the following args: ['/isaac-sim/exts/omni.isaac.kit/omni/isaac/kit/simulation_app.py', '/isaac-sim/apps/omni.isaac.sim.python.kit', '--/app/tokens/exe-path=/isaac-sim/kit', '--/persistent/app/viewport/displayOptions=3094', '--/rtx/materialDb/syncLoads=True', '--/rtx/hydra/materialSyncLoads=True--/omni.kit.plugin/syncUsdLoads=True', '--/app/renderer/resolution/width=1920', '--/app/renderer/resolution/height=1080', '--/app/window/width=1440', '--/app/window/height=900', '--/renderer/multiGpu/enabled=True', '--/app/fastShutdown=True', '--ext-folder', '/isaac-sim/exts', '--ext-folder', '/isaac-sim/apps', '--/physics/cudaDevice=0', '--portable', '--allow-root'] Passing the following args to the base kit application: ['--robot', '/root/ros_ws/src/curobo_ros/cfg/amiga.yaml', '--visualize_spheres'] [Warning] [omni.kit.app.plugin] No crash reporter present, dumps uploading isn't available. [Info] [carb] Logging to file: /isaac-sim/kit/logs/Kit/Isaac-Sim/2022.2/kit_20231102_190109.log 2023-11-02 19:01:09 [35ms] [Warning] [omni.ext.plugin] [ext: omni.sensors.nv.lidar] Extensions config 'extension.toml' doesn't exist '/isaac-sim/exts/omni.sensors.nv.lidar' or '/isaac-sim/exts/omni.sensors.nv.lidar/config' 2023-11-02 19:01:09 [35ms] [Warning] [omni.ext.plugin] [ext: omni.sensors.nv.radar] Extensions config 'extension.toml' doesn't exist '/isaac-sim/exts/omni.sensors.nv.radar' or '/isaac-sim/exts/omni.sensors.nv.radar/config' [0.236s] [ext: omni.stats-0.0.0] startup [0.252s] [ext: omni.rtx.shadercache-1.0.0] startup [0.258s] [ext: omni.assets.plugins-0.0.0] startup [0.259s] [ext: omni.gpu_foundation-0.0.0] startup [0.266s] [ext: carb.windowing.plugins-1.0.0] startup 2023-11-02 19:01:09 [716ms] [Warning] [carb.windowing-glfw.gamepad] Joystick with unknown remapping detected (will be ignored): Corsair CORSAIR K60 RGB PRO Low Profile Mechanical Gaming Keyboard [030000001c1b0000ad1b000011010000] [0.726s] [ext: omni.kit.renderer.init-0.0.0] startup |---------------------------------------------------------------------------------------------| | Driver Version: 535.113.01 | Graphics API: Vulkan |=============================================================================================| | GPU | Name | Active | LDA | GPU Memory | Vendor-ID | LUID | | | | | | | Device-ID | UUID | |---------------------------------------------------------------------------------------------| | 0 | NVIDIA GeForce RTX 3060 | Yes: 0 | | 12534 MB | 10de | 0 | | | | | | | 2503 | e405bf50.. | |=============================================================================================| | OS: Linux gladOS, Version: 5.15.0-87-generic | XServer Vendor: The X.Org Foundation, XServer Version: 12013000 (1.20.13.0) | Processor: Intel(R) Core(TM) i9-10920X CPU @ 3.50GHz | Cores: Unknown | Logical: 24 |---------------------------------------------------------------------------------------------| | Total Memory (MB): 31768 | Free Memory: 19545 | Total Page/Swap (MB): 2047 | Free Page/Swap: 2047 |---------------------------------------------------------------------------------------------| [1.295s] [ext: omni.kit.pipapi-0.0.0] startup [1.309s] [ext: omni.kit.pip_archive-0.0.0] startup [1.331s] [ext: omni.kit.loop-isaac-1.0.0] startup [1.332s] [ext: omni.kit.async_engine-0.0.0] startup [1.333s] [ext: omni.kit.test-0.0.0] startup [1.418s] [ext: omni.usd.config-1.0.0] startup [1.422s] [ext: omni.usd.libs-1.0.0] startup [1.609s] [ext: omni.isaac.core_archive-2.0.1] startup [1.612s] [ext: omni.pip.torch-1_13_1-0.1.4] startup [1.614s] [ext: omni.isaac.ml_archive-1.1.0] startup [1.677s] [ext: omni.client-0.1.1] startup [1.689s] [ext: omni.appwindow-1.0.1] startup [1.691s] [ext: omni.kit.renderer.core-0.0.0] startup [1.813s] [ext: omni.kit.renderer.capture-0.0.0] startup [1.818s] [ext: omni.kit.renderer.imgui-0.0.0] startup [2.012s] [ext: carb.audio-0.1.0] startup [2.035s] [ext: omni.ui-2.14.4] startup [2.058s] [ext: omni.uiaudio-1.0.0] startup [2.060s] [ext: omni.kit.mainwindow-1.0.0] startup [2.062s] [ext: omni.kit.uiapp-0.0.0] startup [2.062s] [ext: omni.usd.schema.physics-1.0.0] startup [2.109s] [ext: omni.usd.schema.isaac-1.1.0] startup [2.127s] [ext: omni.usd.schema.semantics-0.0.0] startup [2.138s] [ext: omni.usd.schema.omnigraph-1.0.0] startup [2.147s] [ext: omni.usd.schema.forcefield-0.0.0] startup [2.155s] [ext: omni.usd.schema.omniscripting-1.0.0] startup [2.163s] [ext: omni.usd.schema.geospatial-0.0.0] startup [2.171s] [ext: omni.usd.schema.anim-0.0.0] startup [2.232s] [ext: omni.usd.schema.audio-0.0.0] startup [2.238s] [ext: omni.usd.schema.scene.visualization-1.0.0] startup [2.240s] [ext: omni.usd.schema.physx-0.0.0] startup [2.343s] [ext: omni.gpucompute.plugins-0.0.0] startup [2.343s] [ext: omni.timeline-1.0.5] startup [2.345s] [ext: omni.kit.search_core-1.0.2] startup [2.347s] [ext: omni.hydra.scene_delegate-0.3.0] startup [2.355s] [ext: omni.kit.widget.path_field-2.0.4] startup [2.361s] [ext: omni.kit.widget.filebrowser-2.3.10] startup [2.382s] [ext: omni.kit.widget.browser_bar-2.0.5] startup [2.384s] [ext: omni.kit.window.popup_dialog-2.0.16] startup [2.393s] [ext: omni.kit.actions.core-1.0.0] startup [2.396s] [ext: omni.usd.core-1.0.4] startup [2.399s] [ext: omni.kit.audiodeviceenum-1.0.0] startup [2.401s] [ext: omni.kit.widget.nucleus_connector-1.0.3] startup [2.405s] [ext: omni.kit.commands-1.4.5] startup [2.414s] [ext: omni.hydra.usdrt_delegate-4.3.2] startup [2.435s] [ext: omni.kit.notification_manager-1.0.5] startup [2.440s] [ext: omni.usd-1.6.30] startup [2.543s] [ext: omni.kit.widget.versioning-1.3.8] startup [2.551s] [ext: omni.iray.libs-0.0.0] startup [2.555s] [ext: omni.kit.window.filepicker-2.7.15] startup [2.633s] [ext: omni.mdl.neuraylib-0.1.0] startup [2.636s] [ext: omni.kit.collaboration.channel_manager-1.0.9] startup [2.641s] [ext: omni.kit.window.file_importer-1.0.10] startup [2.643s] [ext: omni.mdl-0.1.0] startup [2.758s] [ext: omni.kit.usd.layers-2.0.11] startup [2.784s] [ext: omni.kit.menu.utils-1.4.7] startup [2.805s] [ext: omni.kit.material.library-1.3.21] startup [2.816s] [ext: omni.kit.menu.create-1.0.8] startup [2.820s] [ext: omni.kit.clipboard-1.0.0] startup [2.820s] [ext: omni.kit.widget.graph-1.5.6-104_2] startup [2.899s] [ext: omni.kit.context_menu-1.5.12] startup [2.914s] [ext: omni.kit.window.extensions-1.1.1] startup [2.941s] [ext: omni.inspect-1.0.1] startup [2.945s] [ext: omni.kit.window.property-1.8.2] startup [2.950s] [ext: omni.kit.primitive.mesh-1.0.8] startup [2.964s] [ext: omni.graph.core-2.65.4] startup [2.968s] [ext: omni.isaac.version-1.0.0] startup [2.969s] [ext: omni.kit.stage_templates-1.1.13] startup [2.974s] [ext: omni.kit.usd_undo-0.1.2] startup [2.976s] [ext: omni.graph.tools-1.17.2] startup [3.039s] [ext: omni.ui.scene-1.5.18] startup [3.045s] [ext: omni.graph-1.50.2] startup [3.167s] [ext: omni.ui_query-1.1.1] startup [3.170s] [ext: omni.volume-0.1.0] startup [3.261s] [ext: omni.kit.ui_test-1.2.9] startup [3.266s] [ext: omni.hydra.rtx-0.1.0] startup [3.274s] [ext: omni.kit.widget.searchfield-1.0.10] startup [3.277s] [ext: omni.kit.graph.delegate.default-1.0.18] startup [3.279s] [ext: omni.debugdraw-0.1.1] startup [3.285s] [ext: omni.kit.graph.editor.core-1.4.7] startup [3.296s] [ext: omni.hydra.pxr-1.1.2] startup [3.302s] [ext: omni.activity.core-1.0.1] startup [3.306s] [ext: omni.kit.hydra_texture-1.0.11] startup [3.312s] [ext: omni.kit.viewport.legacy_gizmos-1.0.10] startup [3.318s] [ext: omni.kit.viewport.registry-104.0.2] startup [3.319s] [ext: omni.kit.widget.viewport-104.1.16] startup [3.333s] [ext: omni.kit.window.drop_support-1.0.1] startup [3.334s] [ext: omni.kit.window.file_exporter-1.0.10] startup [3.338s] [ext: omni.hydra.engine.stats-1.0.0] startup [3.342s] [ext: omni.kit.window.content_browser_registry-0.0.1] startup [3.344s] [ext: omni.kit.window.file-1.3.32] startup [3.355s] [ext: omni.kit.viewport.window-104.1.23] startup [3.416s] [ext: omni.kit.widget.settings-1.0.1] startup [3.423s] [ext: omni.kit.widget.stage-2.7.24] startup [3.444s] [ext: omni.kit.window.content_browser-2.6.8] startup [3.470s] [ext: omni.kit.viewport.utility-1.0.14] startup [3.475s] [ext: omni.kit.window.preferences-1.3.8] startup [3.528s] [ext: omni.kit.widget.text_editor-1.0.2] startup [3.531s] [ext: omni.kit.widget.prompt-1.0.5] startup [3.533s] [ext: omni.kit.property.usd-3.18.17] startup [3.579s] [ext: omni.kit.graph.delegate.modern-1.6.5] startup [3.587s] [ext: omni.graph.ui-1.24.2] startup [3.713s] [ext: omni.physics.tensors-0.1.0] startup [3.729s] [ext: omni.kit.graph.widget.variables-2.0.4] startup [3.734s] [ext: omni.kit.graph.usd.commands-1.2.0] startup [3.736s] [ext: omni.convexdecomposition-104.2.4-5.1] startup [3.739s] [ext: omni.graph.window.core-1.43.3] startup [3.780s] [ext: omni.kit.widget.zoombar-1.0.4] startup [3.782s] [ext: omni.kvdb-0.0.0] startup [3.785s] [ext: omni.usdphysics-104.2.4-5.1] startup [3.789s] [ext: omni.localcache-0.0.0] startup [3.791s] [ext: omni.graph.scriptnode-0.10.0] startup [3.797s] [ext: omni.physx-104.2.4-5.1] startup [3.823s] [ext: omni.command.usd-1.0.2] startup [3.832s] [ext: omni.physx.tensors-0.1.0] startup [4.251s] [ext: omni.graph.window.generic-1.3.15] startup [4.255s] [ext: omni.kit.browser.core-2.2.2] startup [4.270s] [ext: omni.graph.action-1.31.1] startup [4.286s] [ext: omni.kit.browser.folder.core-1.7.3] startup [4.299s] [ext: omni.kit.window.cursor-1.1.1] startup [4.300s] [ext: omni.kit.widget.spinner-1.0.4] startup [4.303s] [ext: omni.kit.browser.sample-1.2.5] startup [4.306s] [ext: omni.graph.nodes-1.48.3] startup [4.328s] [ext: omni.kit.viewport.menubar.core-104.4.3] startup [4.379s] [ext: omni.kit.numpy.common-0.1.0] startup [4.381s] [ext: omni.warp-0.6.3] startup Warp 0.10.1 initialized: CUDA Toolkit: 11.5, Driver: 12.2 Devices: "cpu" | x86_64 "cuda:0" | NVIDIA GeForce RTX 3060 (sm_86) Kernel cache: /root/.cache/warp/0.10.1 WARNING: Attribute 'inputs:resolution' description should not be empty WARNING: Attribute 'inputs:speed' description should not be empty WARNING: Attribute 'inputs:damp' description should not be empty WARNING: Attribute 'inputs:grid' description should not be empty WARNING: Attribute 'inputs:collider_0' description should not be empty WARNING: Attribute 'inputs:collider_1' description should not be empty WARNING: Attribute 'inputs:collider_2' description should not be empty WARNING: Attribute 'inputs:collider_3' description should not be empty WARNING: Attribute 'inputs:buoyancy_enabled' description should not be empty WARNING: Attribute 'inputs:density_0' description should not be empty WARNING: Attribute 'inputs:density_1' description should not be empty WARNING: Attribute 'inputs:density_2' description should not be empty WARNING: Attribute 'inputs:density_3' description should not be empty WARNING: Attribute 'inputs:displace' description should not be empty WARNING: Attribute 'inputs:gravity' description should not be empty WARNING: Attribute 'inputs:buoyancy' description should not be empty WARNING: Attribute 'inputs:buoyancy_damp' description should not be empty WARNING: Attribute 'inputs:delay' description should not be empty WARNING: Attribute 'outputs:vertices' description should not be empty WARNING: Attribute 'outputs:face_indices' description should not be empty WARNING: Attribute 'outputs:face_counts' description should not be empty WARNING: Attribute 'inputs:execIn' description should not be empty WARNING: Attribute 'inputs:sdf_min' description should not be empty WARNING: Attribute 'inputs:sdf_max' description should not be empty WARNING: Attribute 'inputs:spacing' description should not be empty WARNING: Attribute 'inputs:spacing_jitter' description should not be empty WARNING: Attribute 'inputs:velocity' description should not be empty WARNING: Attribute 'inputs:max_points' description should not be empty WARNING: Attribute 'inputs:collider_offset' description should not be empty WARNING: Attribute 'inputs:ground' description should not be empty WARNING: Attribute 'inputs:ground_plane' description should not be empty WARNING: Attribute 'inputs:density' description should not be empty WARNING: Attribute 'inputs:k_tri_elastic' description should not be empty WARNING: Attribute 'inputs:k_tri_area' description should not be empty WARNING: Attribute 'inputs:k_tri_damp' description should not be empty WARNING: Attribute 'inputs:k_edge_bend' description should not be empty WARNING: Attribute 'inputs:k_edge_damp' description should not be empty WARNING: Attribute 'inputs:k_contact_elastic' description should not be empty WARNING: Attribute 'inputs:k_contact_damp' description should not be empty WARNING: Attribute 'inputs:k_contact_friction' description should not be empty WARNING: Attribute 'inputs:k_contact_mu' description should not be empty WARNING: Attribute 'inputs:num_substeps' description should not be empty WARNING: Attribute 'inputs:gravity' description should not be empty WARNING: Attribute 'inputs:mass' description should not be empty WARNING: Attribute 'inputs:radius' description should not be empty WARNING: Attribute 'inputs:k_contact_elastic' description should not be empty WARNING: Attribute 'inputs:k_contact_damp' description should not be empty WARNING: Attribute 'inputs:k_contact_friction' description should not be empty WARNING: Attribute 'inputs:k_contact_mu' description should not be empty WARNING: Attribute 'inputs:k_contact_cohesion' description should not be empty WARNING: Attribute 'inputs:k_contact_adhesion' description should not be empty WARNING: Attribute 'inputs:num_substeps' description should not be empty WARNING: Attribute 'inputs:gravity' description should not be empty WARNING: Attribute 'inputs:ground' description should not be empty WARNING: Attribute 'inputs:ground_plane' description should not be empty WARNING: Attribute 'inputs:asynchronous' description should not be empty WARNING: Attribute 'inputs:fps' description should not be empty WARNING: Attribute 'inputs:start' description should not be empty WARNING: Attribute 'inputs:end' description should not be empty WARNING: Attribute 'outputs:time' description should not be empty WARNING: Node description should not be empty [5.000s] [ext: omni.syntheticdata-0.2.4] startup 2023-11-02 19:01:14 [5,023ms] [Warning] [omni.kit.viewport.menubar.core.menu_item.viewport_menu_item] ViewportMenuItem order argument is deprecated, use order_setting_path [5.042s] [ext: omni.isaac.dynamic_control-1.2.3] startup [5.064s] [ext: omni.replicator.core-1.7.8] startup 2023-11-02 19:01:14 [5,316ms] [Warning] [omni.replicator.core.scripts.annotators] Annotator PostProcessDispatch is already registered, overwriting annotator template [5.464s] [ext: omni.isaac.core-1.46.3] startup [5.604s] [ext: omni.kit.manipulator.viewport-104.0.7] startup [5.607s] [ext: omni.isaac.core_nodes-0.23.2] startup [5.644s] [ext: omni.isaac.cloner-0.4.1] startup [5.647s] [ext: omni.isaac.lula-1.2.1] startup [5.658s] [ext: omni.graph.visualization.nodes-2.0.0] startup [5.671s] [ext: omni.isaac.debug_draw-0.2.3] startup [5.677s] [ext: omni.isaac.gym-0.3.3] startup [5.678s] [ext: omni.graph.window.action-1.5.5] startup [5.681s] [ext: omni.isaac.ui-0.8.0] startup [5.699s] [ext: usdrt.scenegraph-4.3.2] startup [5.719s] [ext: omni.isaac.motion_planning-0.2.2] startup [5.729s] [ext: omni.isaac.surface_gripper-0.4.0] startup [5.746s] [ext: omni.isaac.range_sensor-0.8.1] startup [5.817s] [ext: omni.isaac.motion_generation-4.5.6] startup [5.846s] [ext: omni.isaac.manipulators-1.1.0] startup [5.850s] [ext: omni.isaac.sensor-5.6.3] startup 2023-11-02 19:01:15 [5,840ms] [Warning] [omni.ext.plugin] [ext: omni.isaac.sensor-5.6.3] Native plugin search dir contains several files: /isaac-sim/exts/omni.isaac.sensor/bin . It makes dir walk slow, replace with the exact path to the plugin instead of a wildcard. [6.065s] [ext: omni.isaac.dofbot-0.3.0] startup [6.067s] [ext: omni.isaac.occupancy_map-0.2.7] startup [6.084s] [ext: omni.isaac.quadruped-1.3.0] startup [6.628s] [ext: omni.isaac.scene_blox-0.1.0] startup [6.629s] [ext: omni.isaac.synthetic_utils-0.4.3] startup [6.637s] [ext: omni.isaac.universal_robots-0.3.2] startup [6.639s] [ext: omni.isaac.isaac_sensor-2.0.0] startup 2023-11-02 19:01:15 [6,630ms] [Warning] [omni.isaac.isaac_sensor] omni.isaac.isaac_sensor is deprecated and was renamed; use omni.isaac.sensor [6.640s] [ext: omni.kit.widget.live_session_management-1.1.3] startup [6.649s] [ext: omni.kit.hotkeys.core-1.0.8] startup [6.662s] [ext: omni.isaac.wheeled_robots-0.6.3] startup [6.703s] [ext: omni.kit.widget.stage_icons-1.0.2] startup [6.705s] [ext: omni.kit.widget.layers-1.6.11] startup [6.748s] [ext: omni.kit.selection-0.1.0] startup [6.752s] [ext: omni.isaac.mjcf-0.3.1] startup [6.764s] [ext: omni.kit.window.stage-2.3.12] startup [6.769s] [ext: omni.kit.property.layer-1.1.4] startup [6.775s] [ext: omni.kit.menu.edit-1.1.6] startup [6.781s] [ext: omni.kit.menu.file-1.1.4] startup [6.784s] [ext: omni.kit.menu.stage-1.2.1] startup [6.787s] [ext: omni.kit.property.audio-1.0.6] startup [6.791s] [ext: omni.kit.property.camera-1.0.3] startup [6.795s] [ext: omni.kit.property.geometry-1.2.2] startup [6.801s] [ext: omni.kit.property.light-1.0.6] startup [6.804s] [ext: omni.hydra.scene_api-0.1.1] startup [6.812s] [ext: omni.kit.property.material-1.8.19] startup [6.822s] [ext: omni.kit.property.render-1.1.0] startup [6.824s] [ext: omni.kit.property.skel-1.0.1] startup [6.827s] [ext: omni.kit.property.transform-1.3.5] startup [6.844s] [ext: omni.kit.manipulator.transform-104.6.12] startup [6.848s] [ext: omni.kit.widget.toolbar-1.4.0] startup [6.865s] [ext: omni.kit.profiler.window-2.0.5] startup [7.042s] [ext: omni.kit.property.bundle-1.2.6] startup [7.045s] [ext: omni.kit.manipulator.selector-1.0.1] startup [7.048s] [ext: omni.kit.manipulator.tool.snap-1.2.4] startup [7.070s] [ext: omni.kit.window.toolbar-1.4.0] startup [7.074s] [ext: omni.kit.property.isaac-0.2.0] startup [7.078s] [ext: omni.kit.stage_column.payload-1.0.8] startup [7.082s] [ext: omni.kit.manipulator.camera-104.0.23] startup [7.082s] [ext: omni.kit.manipulator.prim-104.10.7] startup [7.102s] [ext: omni.kit.manipulator.selection-104.0.6] startup [7.102s] [ext: omni.kit.viewport.menubar.display-104.1.11] startup [7.108s] [ext: omni.kit.viewport.menubar.camera-104.1.9] startup [7.121s] [ext: omni.rtx.window.settings-0.6.2] startup [7.132s] [ext: omni.kit.viewport.menubar.settings-104.3.5] startup [7.147s] [ext: omni.kit.viewport.menubar.render-104.0.20] startup [7.155s] [ext: omni.physx.commands-104.2.4-5.1] startup [7.173s] [ext: omni.kit.stage_column.variant-1.0.9] startup [7.177s] [ext: omni.hydra.pxr.settings-1.0.3] startup [7.180s] [ext: omni.kit.viewport.bundle-104.0.2] startup [7.180s] [ext: omni.physx.ui-104.2.4-5.1] startup [7.264s] [ext: omni.kit.viewport.menubar.lighting-104.0.9] startup [7.273s] [ext: omni.kit.viewport.pxr-104.0.1] startup [7.273s] [ext: omni.kit.viewport.ready-1.0.2] startup [7.274s] [ext: omni.physx.demos-104.2.4-5.1] startup [7.283s] [ext: omni.kit.property.physx-0.1.0] startup [7.379s] [ext: omni.isaac.urdf-0.5.9] startup [7.418s] [ext: omni.kit.widget.highlight_label-1.0.0] startup [7.420s] [ext: omni.physx.supportui-104.2.4-5.1] startup [7.452s] [ext: omni.physx.vehicle-104.2.4-5.1] startup [7.489s] [ext: omni.physx.cct-104.2.4-5.1] startup [7.502s] [ext: omni.physx.camera-104.2.4-5.1] startup [7.512s] [ext: omni.kit.actions.window-1.1.0] startup [7.520s] [ext: omni.kit.window.commands-0.2.4] startup [7.525s] [ext: omni.kit.window.console-0.2.3] startup [7.537s] [ext: omni.physx.bundle-104.2.4-5.1] startup [7.537s] [ext: omni.graph.bundle.action-1.3.0] startup [7.537s] [ext: omni.kit.window.script_editor-1.7.2] startup [7.541s] [ext: omni.kit.hotkeys.window-1.1.3] startup [7.561s] [ext: omni.kit.window.status_bar-0.1.5] startup [7.566s] [ext: omni.kit.window.title-1.1.2] startup [7.568s] [ext: omni.replicator.composer-1.2.10] startup [7.586s] [ext: omni.replicator.isaac-1.7.4] startup [7.646s] [ext: omni.resourcemonitor-1.0.0] startup [7.654s] [ext: omni.rtx.settings.core-0.5.8] startup [7.667s] [ext: omni.isaac.franka-0.4.0] startup [7.669s] [ext: omni.kit.viewport.rtx-104.0.0] startup [7.669s] [ext: semantics.schema.editor-0.3.3] startup [7.676s] [ext: omni.kit.widget.live-2.0.3] startup 2023-11-02 19:01:16 [7,672ms] [Warning] [omni.kit.widget.live.cache_state_menu] Unable to detect Omniverse Cache Server. Consider installing it for better IO performance. [7.681s] [ext: omni.isaac.utils-0.2.4] startup [7.688s] [ext: omni.isaac.kit-1.4.1] startup [7.689s] [ext: omni.isaac.cortex-0.3.2] startup [7.689s] [ext: omni.kit.window.stats-0.1.2] startup [7.692s] [ext: omni.isaac.sim.python-2022.2.1] startup [7.693s] Simulation App Starting [10.527s] [ext: omni.isaac.sim.python-2022.2.1] shutdown [10.527s] [ext: omni.isaac.universal_robots-0.3.2] shutdown [10.688s] [ext: omni.isaac.cortex-0.3.2] shutdown [10.850s] [ext: omni.isaac.franka-0.4.0] shutdown [11.012s] [ext: omni.isaac.dofbot-0.3.0] shutdown [11.177s] [ext: omni.isaac.manipulators-1.1.0] shutdown [11.338s] [ext: omni.isaac.surface_gripper-0.4.0] shutdown 2023-11-02 19:01:20 [11,554ms] [Warning] [omni.ext._impl._internal] omni.isaac.surface_gripper-0.4.0 -> : extension object is still alive, something holds a reference on it. References: ["[0]:type: , id: 140072460026576"] [11.723s] [ext: omni.isaac.wheeled_robots-0.6.3] shutdown [11.894s] [ext: omni.isaac.surface_gripper-0.4.0] startup [11.903s] [ext: omni.isaac.manipulators-1.1.0] startup [11.904s] [ext: omni.isaac.dofbot-0.3.0] startup [11.905s] [ext: omni.isaac.universal_robots-0.3.2] startup [11.907s] [ext: omni.isaac.wheeled_robots-0.6.3] startup [11.913s] [ext: omni.isaac.franka-0.4.0] startup [11.914s] [ext: omni.isaac.cortex-0.3.2] startup [11.914s] [ext: omni.isaac.sim.python-2022.2.1] startup 2023-11-02 19:01:56 [47,101ms] [Warning] [gpu.foundation.plugin] Waiting for compilation of ray tracing shaders by GPU driver: 30 seconds so far 2023-11-02 19:02:26 [77,102ms] [Warning] [gpu.foundation.plugin] Waiting for compilation of ray tracing shaders by GPU driver: 60 seconds so far 2023-11-02 19:02:56 [107,102ms] [Warning] [gpu.foundation.plugin] Waiting for compilation of ray tracing shaders by GPU driver: 90 seconds so far 2023-11-02 19:03:26 [137,102ms] [Warning] [gpu.foundation.plugin] Waiting for compilation of ray tracing shaders by GPU driver: 120 seconds so far 2023-11-02 19:03:56 [167,103ms] [Warning] [gpu.foundation.plugin] Waiting for compilation of ray tracing shaders by GPU driver: 150 seconds so far 2023-11-02 19:04:26 [197,103ms] [Warning] [gpu.foundation.plugin] Waiting for compilation of ray tracing shaders by GPU driver: 180 seconds so far 2023-11-02 19:04:56 [227,103ms] [Warning] [gpu.foundation.plugin] Waiting for compilation of ray tracing shaders by GPU driver: 210 seconds so far 2023-11-02 19:05:26 [257,104ms] [Warning] [gpu.foundation.plugin] Waiting for compilation of ray tracing shaders by GPU driver: 240 seconds so far 2023-11-02 19:05:48 [279,134ms] [Warning] [gpu.foundation.plugin] Ray tracing shader compilation finished after 262 seconds [279.732s] app ready [280.410s] RTX ready [280.641s] Simulation App Startup Complete [280.763s] [ext: omni.kit.asset_converter-1.3.4] startup [281.097s] [ext: omni.kit.tool.asset_importer-2.4.0] startup [281.188s] [ext: omni.isaac.asset_browser-0.2.4] startup 2023-11-02 19:05:51 [281,941ms] [Warning] [omni.isaac.urdf] The path amiga_arm_base_link-base_link_inertia is not a valid usd path, modifying to amiga_arm_base_link_base_link_inertia 2023-11-02 19:05:51 [281,942ms] [Warning] [omni.isaac.urdf] The path amiga_arm_base_link-base_fixed_joint is not a valid usd path, modifying to amiga_arm_base_link_base_fixed_joint 2023-11-02 19:05:51 [281,942ms] [Warning] [omni.isaac.urdf] The path amiga_arm_wrist_3-flange is not a valid usd path, modifying to amiga_arm_wrist_3_flange 2023-11-02 19:05:51 [281,942ms] [Warning] [omni.isaac.urdf] The path amiga_arm_flange-tool0 is not a valid usd path, modifying to amiga_arm_flange_tool0 2023-11-02 19:05:51 [281,942ms] [Warning] [omni.isaac.urdf] The path amig_arm_wrist_3_link-amiga_grip_camera_mount_link is not a valid usd path, modifying to amig_arm_wrist_3_link_amiga_grip_camera_mount_link /World/amiga/Looks/material_Material_001_1 2023-11-02 19:05:52 [282,993ms] [Warning] [omni.isaac.urdf] The path material_Part__Feature002 4 is not a valid usd path, modifying to material_Part__Feature002_4 /isaac-sim/python.sh: line 41: 36 Killed $python_exe "$@" $args There was an error running python ```
Curobo & NVBlox installation in Dockerfile ```dockerfile #################################################################################################### ############################################## nvblox ############################################## #################################################################################################### RUN git clone https://github.com/valtsblukis/nvblox.git RUN apt-get install -y libgoogle-glog-dev libgtest-dev libgflags-dev python3-dev libsqlite3-dev RUN cd /usr/src/googletest && DEBIAN_FRONTEND=noninteractive apt-get install -y cmake && cmake . && cmake --build . --target install RUN cd nvblox && cd nvblox && mkdir build && cd build && \ cmake .. \ -DPRE_CXX11_ABI_LINKABLE=ON \ -DCMAKE_CUDA_FLAGS="-gencode=arch=compute_86,code=sm_86" \ -DCMAKE_CUDA_ARCHITECTURES="86" \ -DSTDGPU_CUDA_ARCHITECTURE_FLAGS_USER="86" \ -DBUILD_FOR_ALL_ARCHS=ON &&\ make -j `nproc` &&\ make install ENV TORCH_CUDA_ARCH_LIST "8.6+PTX" RUN git clone https://github.com/nvlabs/nvblox_torch.git RUN cd nvblox_torch && \ sh install_isaac_sim.sh $(/isaac-sim/python.sh -c 'import torch.utils; print(torch.utils.cmake_prefix_path)') RUN cd nvblox_torch && /isaac-sim/python.sh -m pip install -e . #################################################################################################### ############################################## curobo ############################################## #################################################################################################### RUN git clone https://github.com/NVlabs/curobo.git ENV PATH="${PATH}:/opt/hpcx/ompi/bin" ENV LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/hpcx/ompi/lib" ENV TORCH_CUDA_ARCH_LIST "8.6+PTX" ENV LD_LIBRARY_PATH="/usr/local/lib:${LD_LIBRARY_PATH}" RUN /isaac-sim/python.sh -m pip install wheel RUN cd curobo && /isaac-sim/python.sh -m pip install -e . --no-build-isolation ENTRYPOINT [ "" ] ```
balakumar-s commented 1 year ago

I think this is because the path to your urdf is not getting loaded correctly in Isaac Sim's urdf importer. Is it possible for me to get access to the urdf folder and the configuration file you generated?

lianghongzhuo commented 1 year ago

Thanks, yes you do have to install tomli. You actually shouldn't install usd-core as isaac sim comes with it's own usd-core. pip installing usd-core will break isaac sim.

I also mislead by the terminal output and install usd-core mannully using pip. I have to remove isacc sim and reinstall it. Hope that isacc sim can provide a clean python binding that make isacc sim independent. Do you have the opputunity to forward this wish? Thank you!

lianghongzhuo commented 1 year ago

The down side also includes, currently using isacc sim means binding the torch version ,python version to the isaac provided version.

balakumar-s commented 1 year ago

Thanks, yes you do have to install tomli. You actually shouldn't install usd-core as isaac sim comes with it's own usd-core. pip installing usd-core will break isaac sim.

I also mislead by the terminal output and install usd-core mannully using pip. I have to remove isacc sim and reinstall it. Hope that isacc sim can provide a clean python binding that make isacc sim independent. Do you have the opputunity to forward this wish? Thank you!

You can leave feedback for Isaac Sim here: https://forums.developer.nvidia.com/t/feedback-request-from-isaac-sim-users/267919

cedricgoubard commented 1 year ago

Hi @balakumar-s,

I found the error thanks to your feedback; it was a typo in the YAML file (I had declared a sphere with a centre but no radius).

The simulation starts now, but the robot gets immediately stuck and I see a lot of PhysX errors like this one:

2023-11-06 14:59:30 [519,081ms] [Error] [omni.physx.plugin] PhysX error: Illegal BroadPhaseUpdateData 
, FILE /buildAgent/work/16dcef52b68a730f/source/lowlevelaabb/src/BpBroadPhaseABP.cpp, LINE 4024
2023-11-06 14:59:30 [519,083ms] [Warning] [omni.physx.plugin] Invalid PhysX transform detected for /World/amiga/castor_back_left.
2023-11-06 14:59:30 [519,083ms] [Warning] [omni.physx.plugin] Invalid PhysX transform detected for /World/amiga/castor_back_right.
2023-11-06 14:59:30 [519,083ms] [Warning] [omni.physx.plugin] Invalid PhysX transform detected for /World/amiga/castor_front_left.
2023-11-06 14:59:30 [519,083ms] [Warning] [omni.physx.plugin] Invalid PhysX transform detected for /World/amiga/castor_front_right.
2023-11-06 14:59:30 [519,083ms] [Warning] [omni.physx.plugin] Invalid PhysX transform detected for /World/amiga/back_wheel_left.
2023-11-06 14:59:30 [519,083ms] [Warning] [omni.physx.plugin] Invalid PhysX transform detected for /World/amiga/back_wheel_right.
2023-11-06 14:59:30 [519,083ms] [Warning] [omni.physx.plugin] Invalid PhysX transform detected for /World/amiga/front_wheel_left.
2023-11-06 14:59:30 [519,083ms] [Warning] [omni.physx.plugin] Invalid PhysX transform detected for /World/amiga/front_wheel_right.

The links mentioned are all the ones with passive joints, and this answer says that the error is related to invalid transforms... Should I publish those transforms with ROS? IS there an alternative?

Also, they seem to be colliding with the ground (see below) which makes sense since my root link is located roughly in the centre of the base, but that might be creating issues?

231106_isaac_amiga

balakumar-s commented 1 year ago

The examples will put the base link at 0,0,0 so that is definitely a problem. You can add an extra link that will have an offset on z axis and make it the root. Have a 5cm gap between the floor and the base.

Regarding passive joints, I'm not sure if they work in sim. You can make them as fixed just to check if everything else works.

cedricgoubard commented 1 year ago

Hi,

I have changed the passive joints to fixed, and I am spawning the robot above the floor (I added position=np.array([0.4, 0.4, 0.4]) to this line).

The arm is still not moving when I move the red cube - I am suppose to do something to make it move other than starting the simulation?

I think this could be linked to 2 things:

2023-11-07 13:53:10 [33,058ms] [Warning] [omni.physx.plugin] The rigid body at /World/amiga/amiga_arm_base has a possibly invalid inertia tensor of {1.0, 1.0, 1.0} and a negative mass, small sphere approximated inertia was used. Either specify correct values in the mass properties, or add collider(s) to any shape(s) that you wish to automatically compute mass properties for. If you do not want the objects to collide, add colliders regardless then disable the 'enable collision' property.

Also, interestingly, the robot does not fall to the floor when I start the simulation...

Any advice would be greatly appreciated, thank you for your help :pray:

balakumar-s commented 1 year ago

I'm not sure if this is the problem but we can check.

Remove this check off velocities being less than threshold here https://github.com/NVlabs/curobo/blob/e0e804e9062da33c13aa262a1da253d364b8768a/examples/isaac_sim/motion_gen_reacher.py#L268

This is used to make sure the robot is static before querying a motion plan. I've noticed that some robots can have non zero velocity at start due to some physics issues. I thought I fixed it but maybe it still exists.

If it still doesn't work, can you run the mpc example? Or the IK example to see if they work for your robot?

cedricgoubard commented 1 year ago

Good morning,

Removing the line you mentioned fixed the problem, the end effector is now following the red cube! I also had to remove the 40cm position offset I added previously, otherwise the end effector was always off by the same amount.

The collision behaviour is looking odd though:

Any idea why?

balakumar-s commented 1 year ago

Regarding position offset, you need to convert the pose from the world frame to the position offset as it's not being done in the example.

Regarding self collisions, did you add the colliding links to the ignore list?

Can you paste your t robot configuration file ?

cedricgoubard commented 1 year ago
Here is the configuration file ```yaml ## ## Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. ## ## NVIDIA CORPORATION, its affiliates and licensors retain all intellectual ## property and proprietary rights in and to this material, related ## documentation and any modifications thereto. Any use, reproduction, ## disclosure or distribution of this material and related documentation ## without an express license agreement from NVIDIA CORPORATION or ## its affiliates is strictly prohibited. ## robot_cfg: kinematics: usd_path: "/ros_ws/src/amiga_description/robots/usd/amiga.usd" usd_robot_root: "/robot" isaac_usd_path: "" usd_flip_joints: {} usd_flip_joint_limits: [] urdf_path: "/ros_ws/src/amiga_description/robots/urdf/amiga_curobo.urdf" asset_root_path: "/ros_ws/src/" base_link: "base_link" ee_link: "amiga_gripper_palm" link_names: null lock_joints: null extra_links: null collision_link_names: null # List[str] collision_sphere_buffer: 0.005 extra_collision_spheres: {} self_collision_ignore: amiga_arm_base_link: - amiga_arm_shoulder_link - amiga_arm_upper_arm_link - amiga_arm_wrist_1_link - back_wheel_left - back_wheel_right - base_link - castor_back_left - castor_back_right - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right amiga_arm_base_link_inertia: - amiga_arm_shoulder_link - amiga_arm_upper_arm_link - amiga_arm_wrist_1_link - back_wheel_left - back_wheel_right - base_link - castor_back_left - castor_back_right - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right amiga_arm_flange: - amiga_arm_wrist_1_link - amiga_arm_wrist_2_link - amiga_arm_wrist_3_link - amiga_grip_camera_mount_base_link - amiga_gripper_finger_1_link_0 - amiga_gripper_finger_1_link_1 - amiga_gripper_finger_1_link_2 - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_arm_forearm_link: - amiga_arm_upper_arm_link - amiga_arm_wrist_1_link amiga_arm_shoulder_link: - amiga_arm_upper_arm_link - amiga_arm_wrist_1_link - back_wheel_left - back_wheel_right - base_link - castor_back_left - castor_back_right - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right amiga_arm_wrist_1_link: - amiga_arm_wrist_2_link - amiga_arm_wrist_3_link - amiga_grip_camera_mount_base_link - amiga_gripper_finger_1_link_0 - amiga_gripper_finger_1_link_1 - amiga_gripper_finger_1_link_2 - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_arm_wrist_2_link: - amiga_arm_wrist_3_link - amiga_grip_camera_mount_base_link - amiga_gripper_finger_1_link_0 - amiga_gripper_finger_1_link_1 - amiga_gripper_finger_1_link_2 - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_arm_wrist_3_link: - amiga_grip_camera_mount_base_link - amiga_gripper_finger_1_link_0 - amiga_gripper_finger_1_link_1 - amiga_gripper_finger_1_link_2 - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_grip_camera_mount_base_link: - amiga_gripper_finger_1_link_0 - amiga_gripper_finger_1_link_1 - amiga_gripper_finger_1_link_2 - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_1_link_0: - amiga_gripper_finger_1_link_1 - amiga_gripper_finger_1_link_2 - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_1_link_1: - amiga_gripper_finger_1_link_2 - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_1_link_2: - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_1_link_3: - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_2_link_0: - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_2_link_1: - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_2_link_2: - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_2_link_3: - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_middle_link_0: - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_middle_link_1: - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_middle_link_2: - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_middle_link_3: - amiga_gripper_palm - zed2_camera_center amiga_gripper_palm: - zed2_camera_center back_wheel_left: - back_wheel_right - base_link - castor_back_left - castor_back_right - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right - l515_l_link - l515_r_link - t265_link back_wheel_right: - base_link - castor_back_left - castor_back_right - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right - l515_l_link - l515_r_link - t265_link base_link: - castor_back_left - castor_back_right - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right - l515_l_link - l515_r_link - t265_link castor_back_left: - castor_back_right - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right castor_back_right: - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right castor_front_left: - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right castor_front_right: - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right drive_wheel_left: - drive_wheel_right - front_wheel_left - front_wheel_right drive_wheel_right: - front_wheel_left - front_wheel_right front_wheel_left: - front_wheel_right self_collision_buffer: null # Dict[str, float] use_global_cumul: True mesh_link_names: null # List[str] collision_spheres: base_link: - "center": [-0.176, 0.0, 0.12] "radius": 0.2 - "center": [0.067, 0.0, 0.12] "radius": 0.2 - "center": [-0.095, 0.0, 0.12] "radius": 0.2 - "center": [-0.014, 0.0, 0.12] "radius": 0.2 - "center": [0.325, 0.207, 0.158] "radius": 0.04 - "center": [0.325, 0.207, 0.055] "radius": 0.04 - "center": [0.325, 0.207, 0.123] "radius": 0.04 - "center": [0.325, 0.207, 0.089] "radius": 0.04 - "center": [0.326, -0.213, 0.071] "radius": 0.04 - "center": [0.324, -0.206, 0.154] "radius": 0.04 - "center": [0.325, -0.211, 0.099] "radius": 0.04 - "center": [0.325, -0.209, 0.127] "radius": 0.04 - "center": [0.306, -0.197, 0.075] "radius": 0.052 - "center": [0.28, -0.175, 0.061] "radius": 0.068 - "center": [0.246, -0.147, 0.036] "radius": 0.07 - "center": [0.201, -0.111, 0.095] "radius": 0.09 - "center": [0.143, -0.063, 0.106] "radius": 0.1 - "center": [0.305, 0.168, 0.06] "radius": 0.052 - "center": [0.279, 0.147, 0.053] "radius": 0.05 - "center": [0.245, 0.143, 0.029] "radius": 0.065 - "center": [0.201, 0.108, 0.026] "radius": 0.09 - "center": [0.143, 0.061, 0.101] "radius": 0.11 - "center": [-0.388, 0.176, 0.072] "radius": 0.04 - "center": [-0.364, 0.178, 0.164] "radius": 0.04 - "center": [-0.38, 0.184, 0.123] "radius": 0.04 - "center": [-0.383, -0.166, 0.163] "radius": 0.04 - "center": [-0.391, -0.176, 0.054] "radius": 0.04 - "center": [-0.385, -0.169, 0.127] "radius": 0.04 - "center": [-0.388, -0.172, 0.091] "radius": 0.04 - "center": [-0.274, -0.116, 0.274] "radius": 0.04 - "center": [0.215, -0.128, 0.274] "radius": 0.04 - "center": [0.208, 0.124, 0.276] "radius": 0.04 - "center": [-0.273, 0.125, 0.271] "radius": 0.04 - "center": [-0.275, -0.101, 0.272] "radius": 0.04 - "center": [-0.275, -0.074, 0.272] "radius": 0.04 - "center": [-0.275, -0.048, 0.271] "radius": 0.04 - "center": [-0.275, -0.021, 0.271] "radius": 0.04 - "center": [-0.275, 0.006, 0.271] "radius": 0.04 - "center": [-0.274, 0.033, 0.27] "radius": 0.04 - "center": [-0.274, 0.059, 0.27] "radius": 0.04 - "center": [-0.274, 0.086, 0.269] "radius": 0.04 - "center": [0.214, -0.1, 0.274] "radius": 0.04 - "center": [0.213, -0.072, 0.274] "radius": 0.04 - "center": [0.212, -0.044, 0.274] "radius": 0.04 - "center": [0.212, -0.016, 0.275] "radius": 0.04 - "center": [0.211, 0.012, 0.275] "radius": 0.04 - "center": [0.21, 0.04, 0.275] "radius": 0.04 - "center": [0.209, 0.068, 0.275] "radius": 0.04 - "center": [0.208, 0.088, 0.274] "radius": 0.04 - "center": [0.17, -0.134, 0.272] "radius": 0.04 - "center": [0.126, -0.133, 0.272] "radius": 0.04 - "center": [0.082, -0.132, 0.272] "radius": 0.04 - "center": [0.037, -0.131, 0.272] "radius": 0.04 - "center": [-0.007, -0.13, 0.272] "radius": 0.04 - "center": [-0.052, -0.129, 0.272] "radius": 0.04 - "center": [-0.096, -0.128, 0.272] "radius": 0.04 - "center": [-0.141, -0.127, 0.272] "radius": 0.04 - "center": [-0.185, -0.126, 0.272] "radius": 0.04 - "center": [-0.229, -0.125, 0.272] "radius": 0.04 - "center": [-0.231, -0.09, 0.275] "radius": 0.04 - "center": [-0.186, -0.09, 0.275] "radius": 0.04 - "center": [-0.142, -0.09, 0.275] "radius": 0.04 - "center": [-0.097, -0.09, 0.275] "radius": 0.04 - "center": [-0.053, -0.09, 0.276] "radius": 0.04 - "center": [-0.009, -0.089, 0.276] "radius": 0.04 - "center": [0.036, -0.089, 0.276] "radius": 0.04 - "center": [0.08, -0.089, 0.276] "radius": 0.04 - "center": [0.124, -0.089, 0.276] "radius": 0.04 - "center": [0.169, -0.088, 0.277] "radius": 0.04 - "center": [0.164, 0.116, 0.283] "radius": 0.04 - "center": [0.12, 0.116, 0.283] "radius": 0.04 - "center": [0.077, 0.116, 0.282] "radius": 0.04 - "center": [0.033, 0.116, 0.282] "radius": 0.04 - "center": [-0.011, 0.116, 0.282] "radius": 0.04 - "center": [-0.054, 0.116, 0.281] "radius": 0.04 - "center": [-0.098, 0.117, 0.281] "radius": 0.04 - "center": [-0.142, 0.117, 0.28] "radius": 0.04 - "center": [-0.185, 0.117, 0.28] "radius": 0.04 - "center": [-0.229, 0.117, 0.279] "radius": 0.04 - "center": [-0.23, 0.06, 0.282] "radius": 0.04 - "center": [-0.186, 0.061, 0.282] "radius": 0.04 - "center": [-0.142, 0.062, 0.283] "radius": 0.04 - "center": [-0.098, 0.062, 0.283] "radius": 0.04 - "center": [-0.055, 0.063, 0.284] "radius": 0.04 - "center": [-0.011, 0.064, 0.284] "radius": 0.04 - "center": [0.033, 0.065, 0.285] "radius": 0.04 - "center": [0.077, 0.065, 0.285] "radius": 0.04 - "center": [0.121, 0.066, 0.286] "radius": 0.04 - "center": [0.165, 0.067, 0.286] "radius": 0.04 - "center": [0.156, -0.016, 0.274] "radius": 0.06 - "center": [-0.189, -0.122, 0.047] "radius": 0.134 - "center": [-0.324, -0.177, 0.061] "radius": 0.089 - "center": [-0.364, -0.154, 0.063] "radius": 0.06 - "center": [-0.212, 0.154, 0.066] "radius": 0.134 - "center": [-0.323, 0.183, 0.086] "radius": 0.089 - "center": [-0.362, 0.154, 0.078] "radius": 0.06 amiga_arm_base_link_inertia: - "center": [-0.01, -0.013, 0.05] "radius": 0.069 - "center": [0.009, 0.027, 0.058] "radius": 0.069 - "center": [0.035, -0.006, 0.047] "radius": 0.067 - "center": [-0.036, -0.002, 0.053] "radius": 0.067 - "center": [-0.006, -0.033, 0.048] "radius": 0.068 - "center": [-0.014, 0.044, 0.04] "radius": 0.059 amiga_arm_shoulder_link: - "center": [-0.0, -0.004, 0.012] "radius": 0.1 - "center": [0.001, -0.027, -0.014] "radius": 0.093 - "center": [-0.001, 0.004, -0.01] "radius": 0.096 amiga_arm_upper_arm_link: - "center": [-0.031, 0.0, 0.176] "radius": 0.099 - "center": [-0.589, 0.0, 0.177] "radius": 0.083 - "center": [-0.418, -0.0, 0.176] "radius": 0.079 - "center": [-0.224, -0.0, 0.176] "radius": 0.079 - "center": [-0.309, 0.002, 0.176] "radius": 0.078 - "center": [-0.14, -0.001, 0.177] "radius": 0.079 - "center": [-0.516, 0.0, 0.176] "radius": 0.079 - "center": [0.008, -0.001, 0.184] "radius": 0.092 - "center": [-0.617, -0.002, 0.167] "radius": 0.078 amiga_arm_forearm_link: - "center": [-0.04, -0.002, 0.045] "radius": 0.08 - "center": [-0.559, 0.0, 0.039] "radius": 0.069 - "center": [-0.226, -0.0, 0.039] "radius": 0.067 - "center": [-0.419, -0.001, 0.039] "radius": 0.067 - "center": [-0.317, -0.0, 0.04] "radius": 0.067 - "center": [-0.0, 0.004, 0.088] "radius": 0.079 - "center": [-0.153, 0.003, 0.038] "radius": 0.065 - "center": [-0.496, 0.001, 0.038] "radius": 0.066 amiga_arm_wrist_1_link: - "center": [-0.0, -0.008, 0.0] "radius": 0.069 - "center": [0.0, 0.001, -0.049] "radius": 0.069 amiga_arm_wrist_2_link: - "center": [-0.0, 0.005, -0.004] "radius": 0.065 - "center": [0.001, 0.0, -0.035] "radius": 0.064 amiga_arm_wrist_3_link: - "center": [-0.003, 0.001, -0.047] "radius": 0.061 amiga_grip_camera_mount_base_link: - "center": [-0.003, 0.002, -0.0] "radius": 0.06 - "center": [-0.001, -0.002, 0.054] "radius": 0.036 - "center": [-0.0, 0.005, 0.106] "radius": 0.036 zed2_camera_center: - "center": [-0.001, -0.04, -0.0] "radius": 0.024 - "center": [-0.001, 0.037, -0.0] "radius": 0.024 - "center": [0.0, -0.015, 0.0] "radius": 0.024 - "center": [-0.002, -0.074, -0.0] "radius": 0.023 - "center": [-0.001, 0.019, -0.0] "radius": 0.024 - "center": [-0.003, 0.074, 0.002] "radius": 0.022 - "center": [-0.004, 0.059, 0.002] "radius": 0.023 - "center": [-0.004, -0.061, 0.002] "radius": 0.022 amiga_gripper_finger_1_link_0: - "center": [0.013, 0.012, 0.003] "radius": 0.03 amiga_gripper_finger_1_link_1: - "center": [0.054, -0.045, -0.006] "radius": 0.02 - "center": [0.009, -0.027, 0.0] "radius": 0.028 - "center": [0.031, -0.033, -0.0] "radius": 0.028 amiga_gripper_finger_1_link_2: - "center": [-0.001, -0.014, -0.0] "radius": 0.024 - "center": [0.036, -0.009, -0.001] "radius": 0.024 amiga_gripper_finger_1_link_3: - "center": [0.0, -0.01, 0.002] "radius": 0.022 - "center": [0.006, 0.003, -0.002] "radius": 0.021 - "center": [0.018, 0.011, -0.002] "radius": 0.02 amiga_gripper_finger_2_link_0: - "center": [0.013, 0.012, 0.003] "radius": 0.025 amiga_gripper_finger_2_link_1: - "center": [0.052, -0.04, -0.001] "radius": 0.02 - "center": [0.021, -0.017, 0.001] "radius": 0.023 - "center": [0.037, -0.029, -0.001] "radius": 0.023 - "center": [-0.017, -0.016, 0.0] "radius": 0.023 amiga_gripper_finger_2_link_2: - "center": [-0.001, -0.014, -0.0] "radius": 0.024 - "center": [0.036, -0.009, -0.001] "radius": 0.024 amiga_gripper_finger_2_link_3: - "center": [0.016, 0.012, -0.0] "radius": 0.022 amiga_gripper_finger_middle_link_0: - "center": [0.018, 0.004, -0.002] "radius": 0.025 amiga_gripper_finger_middle_link_1: - "center": [0.051, -0.038, -0.001] "radius": 0.02 - "center": [0.021, -0.023, 0.004] "radius": 0.023 amiga_gripper_finger_middle_link_2: - "center": [-0.001, -0.014, -0.0] "radius": 0.024 - "center": [0.036, -0.009, -0.001] "radius": 0.024 amiga_gripper_finger_middle_link_3: - "center": [0.015, 0.01, -0.0] "radius": 0.022 drive_wheel_left: - "center": [-0.017, 0.028, -0.018] "radius": 0.067 - "center": [0.008, 0.028, 0.01] "radius": 0.067 - "center": [-0.055, 0.029, -0.125] "radius": 0.063 - "center": [-0.022, 0.035, 0.134] "radius": 0.063 - "center": [-0.136, 0.026, -0.004] "radius": 0.063 - "center": [0.116, 0.024, -0.073] "radius": 0.063 - "center": [0.045, 0.025, 0.128] "radius": 0.063 - "center": [0.039, 0.034, -0.131] "radius": 0.063 - "center": [0.112, 0.032, 0.078] "radius": 0.063 - "center": [0.136, 0.035, -0.011] "radius": 0.063 - "center": [-0.099, 0.035, -0.093] "radius": 0.063 - "center": [-0.13, 0.023, 0.043] "radius": 0.063 - "center": [0.081, 0.035, -0.108] "radius": 0.063 - "center": [-0.102, 0.036, 0.089] "radius": 0.062 - "center": [-0.014, 0.028, -0.136] "radius": 0.063 drive_wheel_right: - "center": [-0.004, 0.028, -0.019] "radius": 0.067 - "center": [0.103, 0.024, 0.09] "radius": 0.063 - "center": [-0.121, 0.028, -0.064] "radius": 0.063 - "center": [-0.114, 0.028, 0.075] "radius": 0.063 - "center": [-0.081, 0.03, -0.109] "radius": 0.063 - "center": [-0.031, 0.035, 0.132] "radius": 0.063 - "center": [0.131, 0.031, 0.039] "radius": 0.063 - "center": [-0.135, 0.029, 0.007] "radius": 0.063 - "center": [0.126, 0.031, -0.052] "radius": 0.063 - "center": [0.094, 0.032, -0.099] "radius": 0.063 - "center": [-0.027, 0.024, -0.134] "radius": 0.063 - "center": [0.029, 0.03, -0.133] "radius": 0.063 - "center": [0.021, 0.028, -0.002] "radius": 0.067 - "center": [0.02, 0.023, 0.136] "radius": 0.062 - "center": [0.136, 0.027, -0.01] "radius": 0.063 castor_back_left: - "center": [-0.012, -0.045, -0.005] "radius": 0.106 back_wheel_left: - "center": [0.014, 0.0, 0.001] "radius": 0.097 castor_back_right: - "center": [-0.012, -0.043, -0.005] "radius": 0.106 back_wheel_right: - "center": [0.029, 0.006, -0.008] "radius": 0.08 castor_front_left: - "center": [-0.012, -0.053, -0.005] "radius": 0.106 front_wheel_left: - "center": [-0.011, 0.006, -0.01] "radius": 0.097 castor_front_right: - "center": [0.013, -0.04, 0.011] "radius": 0.086 front_wheel_right: - "center": [-0.021, 0.006, -0.01] "radius": 0.097 amiga_gripper_palm: - "center": [0.011, -0.012, -0.03] "radius": 0.04 - "center": [-0.025, -0.015, -0.006] "radius": 0.039 - "center": [0.008, -0.0, 0.035] "radius": 0.037 - "center": [0.004, 0.022, -0.034] "radius": 0.036 - "center": [0.032, -0.015, 0.024] "radius": 0.036 - "center": [0.003, 0.027, 0.032] "radius": 0.034 - "center": [0.04, 0.011, -0.038] "radius": 0.033 - "center": [-0.028, -0.019, 0.033] "radius": 0.032 - "center": [0.04, 0.018, 0.037] "radius": 0.032 - "center": [0.0, 0.029, 0.002] "radius": 0.032 - "center": [0.035, -0.016, -0.015] "radius": 0.033 - "center": [-0.038, 0.023, 0.001] "radius": 0.028 - "center": [-0.032, -0.018, -0.035] "radius": 0.03 - "center": [-0.004, -0.031, -0.0] "radius": 0.033 - "center": [-0.038, -0.007, 0.006] "radius": 0.034 - "center": [0.009, -0.015, 0.032] "radius": 0.037 - "center": [0.029, 0.031, -0.035] "radius": 0.029 - "center": [0.034, 0.029, 0.036] "radius": 0.03 - "center": [0.036, 0.005, 0.037] "radius": 0.034 - "center": [-0.041, 0.036, -0.0] "radius": 0.025 cspace: joint_names: ['amiga_arm_shoulder_pan_joint', 'amiga_arm_shoulder_lift_joint', 'amiga_arm_elbow_joint', 'amiga_arm_wrist_1_joint', 'amiga_arm_wrist_2_joint', 'amiga_arm_wrist_3_joint'] retract_config: [-0.00, 0.00, 0.00, 0.00, 0.00, 0.00] null_space_weight: [1.0, 1.0, 1.0, 1.0, 1.0, 1.0] cspace_distance_weight: [1.0, 1.0, 1.0, 1.0, 1.0, 1.0] max_jerk: 500.0 max_acceleration: 30.0 ```

I generated the self_collision_ignore list from my previous MoveIt configuration file; it includes links that are both always and never colliding.

In the picture, the links colliding are amiga_arm_upper_arm_link and amiga_gripper_finger_[1 or 2]_link_[probably 2 and 3].

EDIT: I do not think the problem is with my self_collision_ignore; when I comment it and set self_collision_ignore: null, everything is still colliding:

balakumar-s commented 1 year ago

I missed a step in the tutorial.

In your configuration file, can you add the names of all links you want to enable collision checking as a list to collision_link_names ?

cedricgoubard commented 1 year ago

I have added them, and I also had to add self_collision_buffer as a dictionary with each link and 0.02 as value.

Updated file ```yaml ## ## Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. ## ## NVIDIA CORPORATION, its affiliates and licensors retain all intellectual ## property and proprietary rights in and to this material, related ## documentation and any modifications thereto. Any use, reproduction, ## disclosure or distribution of this material and related documentation ## without an express license agreement from NVIDIA CORPORATION or ## its affiliates is strictly prohibited. ## robot_cfg: kinematics: usd_path: "/ros_ws/src/amiga_description/robots/usd/amiga.usd" usd_robot_root: "/robot" isaac_usd_path: "" usd_flip_joints: {} usd_flip_joint_limits: [] urdf_path: "/ros_ws/src/amiga_description/robots/urdf/amiga_curobo.urdf" asset_root_path: "/ros_ws/src/" base_link: "base_link" ee_link: "amiga_gripper_palm" link_names: null lock_joints: null extra_links: null collision_link_names: - amiga_arm_shoulder_link - amiga_arm_upper_arm_link - amiga_arm_forearm_link - amiga_arm_wrist_1_link - amiga_arm_wrist_2_link - amiga_arm_wrist_3_link - back_wheel_left - back_wheel_right - front_wheel_left - front_wheel_right - base_link - castor_back_left - castor_back_right - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - amiga_gripper_finger_1_link_0 - amiga_gripper_finger_1_link_1 - amiga_gripper_finger_1_link_2 - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center - amiga_grip_camera_mount_base_link - amiga_arm_base_link_inertia self_collision_buffer: amiga_arm_shoulder_link: 0.02 amiga_arm_upper_arm_link: 0.02 amiga_arm_forearm_link: 0.02 amiga_arm_wrist_1_link: 0.02 amiga_arm_wrist_2_link: 0.02 amiga_arm_wrist_3_link: 0.02 back_wheel_left: 0.02 back_wheel_right: 0.02 front_wheel_left: 0.02 front_wheel_right: 0.02 base_link: 0.02 castor_back_left: 0.02 castor_back_right: 0.02 castor_front_left: 0.02 castor_front_right: 0.02 drive_wheel_left: 0.02 drive_wheel_right: 0.02 amiga_gripper_finger_1_link_0: 0.02 amiga_gripper_finger_1_link_1: 0.02 amiga_gripper_finger_1_link_2: 0.02 amiga_gripper_finger_1_link_3: 0.02 amiga_gripper_finger_2_link_0: 0.02 amiga_gripper_finger_2_link_1: 0.02 amiga_gripper_finger_2_link_2: 0.02 amiga_gripper_finger_2_link_3: 0.02 amiga_gripper_finger_middle_link_0: 0.02 amiga_gripper_finger_middle_link_1: 0.02 amiga_gripper_finger_middle_link_2: 0.02 amiga_gripper_finger_middle_link_3: 0.02 amiga_gripper_palm: 0.02 zed2_camera_center: 0.02 amiga_grip_camera_mount_base_link: 0.02 amiga_arm_base_link_inertia: 0.02 collision_sphere_buffer: 0.005 extra_collision_spheres: {} self_collision_ignore: amiga_arm_base_link: - amiga_arm_shoulder_link - amiga_arm_upper_arm_link - amiga_arm_wrist_1_link - back_wheel_left - back_wheel_right - base_link - castor_back_left - castor_back_right - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right amiga_arm_base_link_inertia: - amiga_arm_shoulder_link - amiga_arm_upper_arm_link - amiga_arm_wrist_1_link - back_wheel_left - back_wheel_right - base_link - castor_back_left - castor_back_right - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right amiga_arm_flange: - amiga_arm_wrist_1_link - amiga_arm_wrist_2_link - amiga_arm_wrist_3_link - amiga_grip_camera_mount_base_link - amiga_gripper_finger_1_link_0 - amiga_gripper_finger_1_link_1 - amiga_gripper_finger_1_link_2 - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_arm_forearm_link: - amiga_arm_upper_arm_link - amiga_arm_wrist_1_link amiga_arm_shoulder_link: - amiga_arm_upper_arm_link - amiga_arm_wrist_1_link - back_wheel_left - back_wheel_right - base_link - castor_back_left - castor_back_right - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right amiga_arm_wrist_1_link: - amiga_arm_wrist_2_link - amiga_arm_wrist_3_link - amiga_grip_camera_mount_base_link - amiga_gripper_finger_1_link_0 - amiga_gripper_finger_1_link_1 - amiga_gripper_finger_1_link_2 - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_arm_wrist_2_link: - amiga_arm_wrist_3_link - amiga_grip_camera_mount_base_link - amiga_gripper_finger_1_link_0 - amiga_gripper_finger_1_link_1 - amiga_gripper_finger_1_link_2 - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_arm_wrist_3_link: - amiga_grip_camera_mount_base_link - amiga_gripper_finger_1_link_0 - amiga_gripper_finger_1_link_1 - amiga_gripper_finger_1_link_2 - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_grip_camera_mount_base_link: - amiga_gripper_finger_1_link_0 - amiga_gripper_finger_1_link_1 - amiga_gripper_finger_1_link_2 - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_1_link_0: - amiga_gripper_finger_1_link_1 - amiga_gripper_finger_1_link_2 - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_1_link_1: - amiga_gripper_finger_1_link_2 - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_1_link_2: - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_1_link_3: - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_2_link_0: - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_2_link_1: - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_2_link_2: - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_2_link_3: - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_middle_link_0: - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_middle_link_1: - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_middle_link_2: - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_middle_link_3: - amiga_gripper_palm - zed2_camera_center amiga_gripper_palm: - zed2_camera_center back_wheel_left: - back_wheel_right - base_link - castor_back_left - castor_back_right - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right - l515_l_link - l515_r_link - t265_link back_wheel_right: - base_link - castor_back_left - castor_back_right - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right - l515_l_link - l515_r_link - t265_link base_link: - castor_back_left - castor_back_right - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right - l515_l_link - l515_r_link - t265_link castor_back_left: - castor_back_right - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right castor_back_right: - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right castor_front_left: - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right castor_front_right: - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right drive_wheel_left: - drive_wheel_right - front_wheel_left - front_wheel_right drive_wheel_right: - front_wheel_left - front_wheel_right front_wheel_left: - front_wheel_right use_global_cumul: True mesh_link_names: null # List[str] collision_spheres: base_link: - "center": [-0.176, 0.0, 0.12] "radius": 0.2 - "center": [0.067, 0.0, 0.12] "radius": 0.2 - "center": [-0.095, 0.0, 0.12] "radius": 0.2 - "center": [-0.014, 0.0, 0.12] "radius": 0.2 - "center": [0.325, 0.207, 0.158] "radius": 0.04 - "center": [0.325, 0.207, 0.055] "radius": 0.04 - "center": [0.325, 0.207, 0.123] "radius": 0.04 - "center": [0.325, 0.207, 0.089] "radius": 0.04 - "center": [0.326, -0.213, 0.071] "radius": 0.04 - "center": [0.324, -0.206, 0.154] "radius": 0.04 - "center": [0.325, -0.211, 0.099] "radius": 0.04 - "center": [0.325, -0.209, 0.127] "radius": 0.04 - "center": [0.306, -0.197, 0.075] "radius": 0.052 - "center": [0.28, -0.175, 0.061] "radius": 0.068 - "center": [0.246, -0.147, 0.036] "radius": 0.07 - "center": [0.201, -0.111, 0.095] "radius": 0.09 - "center": [0.143, -0.063, 0.106] "radius": 0.1 - "center": [0.305, 0.168, 0.06] "radius": 0.052 - "center": [0.279, 0.147, 0.053] "radius": 0.05 - "center": [0.245, 0.143, 0.029] "radius": 0.065 - "center": [0.201, 0.108, 0.026] "radius": 0.09 - "center": [0.143, 0.061, 0.101] "radius": 0.11 - "center": [-0.388, 0.176, 0.072] "radius": 0.04 - "center": [-0.364, 0.178, 0.164] "radius": 0.04 - "center": [-0.38, 0.184, 0.123] "radius": 0.04 - "center": [-0.383, -0.166, 0.163] "radius": 0.04 - "center": [-0.391, -0.176, 0.054] "radius": 0.04 - "center": [-0.385, -0.169, 0.127] "radius": 0.04 - "center": [-0.388, -0.172, 0.091] "radius": 0.04 - "center": [-0.274, -0.116, 0.274] "radius": 0.04 - "center": [0.215, -0.128, 0.274] "radius": 0.04 - "center": [0.208, 0.124, 0.276] "radius": 0.04 - "center": [-0.273, 0.125, 0.271] "radius": 0.04 - "center": [-0.275, -0.101, 0.272] "radius": 0.04 - "center": [-0.275, -0.074, 0.272] "radius": 0.04 - "center": [-0.275, -0.048, 0.271] "radius": 0.04 - "center": [-0.275, -0.021, 0.271] "radius": 0.04 - "center": [-0.275, 0.006, 0.271] "radius": 0.04 - "center": [-0.274, 0.033, 0.27] "radius": 0.04 - "center": [-0.274, 0.059, 0.27] "radius": 0.04 - "center": [-0.274, 0.086, 0.269] "radius": 0.04 - "center": [0.214, -0.1, 0.274] "radius": 0.04 - "center": [0.213, -0.072, 0.274] "radius": 0.04 - "center": [0.212, -0.044, 0.274] "radius": 0.04 - "center": [0.212, -0.016, 0.275] "radius": 0.04 - "center": [0.211, 0.012, 0.275] "radius": 0.04 - "center": [0.21, 0.04, 0.275] "radius": 0.04 - "center": [0.209, 0.068, 0.275] "radius": 0.04 - "center": [0.208, 0.088, 0.274] "radius": 0.04 - "center": [0.17, -0.134, 0.272] "radius": 0.04 - "center": [0.126, -0.133, 0.272] "radius": 0.04 - "center": [0.082, -0.132, 0.272] "radius": 0.04 - "center": [0.037, -0.131, 0.272] "radius": 0.04 - "center": [-0.007, -0.13, 0.272] "radius": 0.04 - "center": [-0.052, -0.129, 0.272] "radius": 0.04 - "center": [-0.096, -0.128, 0.272] "radius": 0.04 - "center": [-0.141, -0.127, 0.272] "radius": 0.04 - "center": [-0.185, -0.126, 0.272] "radius": 0.04 - "center": [-0.229, -0.125, 0.272] "radius": 0.04 - "center": [-0.231, -0.09, 0.275] "radius": 0.04 - "center": [-0.186, -0.09, 0.275] "radius": 0.04 - "center": [-0.142, -0.09, 0.275] "radius": 0.04 - "center": [-0.097, -0.09, 0.275] "radius": 0.04 - "center": [-0.053, -0.09, 0.276] "radius": 0.04 - "center": [-0.009, -0.089, 0.276] "radius": 0.04 - "center": [0.036, -0.089, 0.276] "radius": 0.04 - "center": [0.08, -0.089, 0.276] "radius": 0.04 - "center": [0.124, -0.089, 0.276] "radius": 0.04 - "center": [0.169, -0.088, 0.277] "radius": 0.04 - "center": [0.164, 0.116, 0.283] "radius": 0.04 - "center": [0.12, 0.116, 0.283] "radius": 0.04 - "center": [0.077, 0.116, 0.282] "radius": 0.04 - "center": [0.033, 0.116, 0.282] "radius": 0.04 - "center": [-0.011, 0.116, 0.282] "radius": 0.04 - "center": [-0.054, 0.116, 0.281] "radius": 0.04 - "center": [-0.098, 0.117, 0.281] "radius": 0.04 - "center": [-0.142, 0.117, 0.28] "radius": 0.04 - "center": [-0.185, 0.117, 0.28] "radius": 0.04 - "center": [-0.229, 0.117, 0.279] "radius": 0.04 - "center": [-0.23, 0.06, 0.282] "radius": 0.04 - "center": [-0.186, 0.061, 0.282] "radius": 0.04 - "center": [-0.142, 0.062, 0.283] "radius": 0.04 - "center": [-0.098, 0.062, 0.283] "radius": 0.04 - "center": [-0.055, 0.063, 0.284] "radius": 0.04 - "center": [-0.011, 0.064, 0.284] "radius": 0.04 - "center": [0.033, 0.065, 0.285] "radius": 0.04 - "center": [0.077, 0.065, 0.285] "radius": 0.04 - "center": [0.121, 0.066, 0.286] "radius": 0.04 - "center": [0.165, 0.067, 0.286] "radius": 0.04 - "center": [0.156, -0.016, 0.274] "radius": 0.06 - "center": [-0.189, -0.122, 0.047] "radius": 0.134 - "center": [-0.324, -0.177, 0.061] "radius": 0.089 - "center": [-0.364, -0.154, 0.063] "radius": 0.06 - "center": [-0.212, 0.154, 0.066] "radius": 0.134 - "center": [-0.323, 0.183, 0.086] "radius": 0.089 - "center": [-0.362, 0.154, 0.078] "radius": 0.06 amiga_arm_base_link_inertia: - "center": [-0.01, -0.013, 0.05] "radius": 0.069 - "center": [0.009, 0.027, 0.058] "radius": 0.069 - "center": [0.035, -0.006, 0.047] "radius": 0.067 - "center": [-0.036, -0.002, 0.053] "radius": 0.067 - "center": [-0.006, -0.033, 0.048] "radius": 0.068 - "center": [-0.014, 0.044, 0.04] "radius": 0.059 amiga_arm_shoulder_link: - "center": [-0.0, -0.004, 0.012] "radius": 0.1 - "center": [0.001, -0.027, -0.014] "radius": 0.093 - "center": [-0.001, 0.004, -0.01] "radius": 0.096 amiga_arm_upper_arm_link: - "center": [-0.031, 0.0, 0.176] "radius": 0.099 - "center": [-0.589, 0.0, 0.177] "radius": 0.083 - "center": [-0.418, -0.0, 0.176] "radius": 0.079 - "center": [-0.224, -0.0, 0.176] "radius": 0.079 - "center": [-0.309, 0.002, 0.176] "radius": 0.078 - "center": [-0.14, -0.001, 0.177] "radius": 0.079 - "center": [-0.516, 0.0, 0.176] "radius": 0.079 - "center": [0.008, -0.001, 0.184] "radius": 0.092 - "center": [-0.617, -0.002, 0.167] "radius": 0.078 amiga_arm_forearm_link: - "center": [-0.04, -0.002, 0.045] "radius": 0.08 - "center": [-0.559, 0.0, 0.039] "radius": 0.069 - "center": [-0.226, -0.0, 0.039] "radius": 0.067 - "center": [-0.419, -0.001, 0.039] "radius": 0.067 - "center": [-0.317, -0.0, 0.04] "radius": 0.067 - "center": [-0.0, 0.004, 0.088] "radius": 0.079 - "center": [-0.153, 0.003, 0.038] "radius": 0.065 - "center": [-0.496, 0.001, 0.038] "radius": 0.066 amiga_arm_wrist_1_link: - "center": [-0.0, -0.008, 0.0] "radius": 0.069 - "center": [0.0, 0.001, -0.049] "radius": 0.069 amiga_arm_wrist_2_link: - "center": [-0.0, 0.005, -0.004] "radius": 0.065 - "center": [0.001, 0.0, -0.035] "radius": 0.064 amiga_arm_wrist_3_link: - "center": [-0.003, 0.001, -0.047] "radius": 0.061 amiga_grip_camera_mount_base_link: - "center": [-0.003, 0.002, -0.0] "radius": 0.06 - "center": [-0.001, -0.002, 0.054] "radius": 0.036 - "center": [-0.0, 0.005, 0.106] "radius": 0.036 zed2_camera_center: - "center": [-0.001, -0.04, -0.0] "radius": 0.024 - "center": [-0.001, 0.037, -0.0] "radius": 0.024 - "center": [0.0, -0.015, 0.0] "radius": 0.024 - "center": [-0.002, -0.074, -0.0] "radius": 0.023 - "center": [-0.001, 0.019, -0.0] "radius": 0.024 - "center": [-0.003, 0.074, 0.002] "radius": 0.022 - "center": [-0.004, 0.059, 0.002] "radius": 0.023 - "center": [-0.004, -0.061, 0.002] "radius": 0.022 amiga_gripper_finger_1_link_0: - "center": [0.013, 0.012, 0.003] "radius": 0.03 amiga_gripper_finger_1_link_1: - "center": [0.054, -0.045, -0.006] "radius": 0.02 - "center": [0.009, -0.027, 0.0] "radius": 0.028 - "center": [0.031, -0.033, -0.0] "radius": 0.028 amiga_gripper_finger_1_link_2: - "center": [-0.001, -0.014, -0.0] "radius": 0.024 - "center": [0.036, -0.009, -0.001] "radius": 0.024 amiga_gripper_finger_1_link_3: - "center": [0.0, -0.01, 0.002] "radius": 0.022 - "center": [0.006, 0.003, -0.002] "radius": 0.021 - "center": [0.018, 0.011, -0.002] "radius": 0.02 amiga_gripper_finger_2_link_0: - "center": [0.013, 0.012, 0.003] "radius": 0.025 amiga_gripper_finger_2_link_1: - "center": [0.052, -0.04, -0.001] "radius": 0.02 - "center": [0.021, -0.017, 0.001] "radius": 0.023 - "center": [0.037, -0.029, -0.001] "radius": 0.023 - "center": [-0.017, -0.016, 0.0] "radius": 0.023 amiga_gripper_finger_2_link_2: - "center": [-0.001, -0.014, -0.0] "radius": 0.024 - "center": [0.036, -0.009, -0.001] "radius": 0.024 amiga_gripper_finger_2_link_3: - "center": [0.016, 0.012, -0.0] "radius": 0.022 amiga_gripper_finger_middle_link_0: - "center": [0.018, 0.004, -0.002] "radius": 0.025 amiga_gripper_finger_middle_link_1: - "center": [0.051, -0.038, -0.001] "radius": 0.02 - "center": [0.021, -0.023, 0.004] "radius": 0.023 amiga_gripper_finger_middle_link_2: - "center": [-0.001, -0.014, -0.0] "radius": 0.024 - "center": [0.036, -0.009, -0.001] "radius": 0.024 amiga_gripper_finger_middle_link_3: - "center": [0.015, 0.01, -0.0] "radius": 0.022 drive_wheel_left: - "center": [-0.017, 0.028, -0.018] "radius": 0.067 - "center": [0.008, 0.028, 0.01] "radius": 0.067 - "center": [-0.055, 0.029, -0.125] "radius": 0.063 - "center": [-0.022, 0.035, 0.134] "radius": 0.063 - "center": [-0.136, 0.026, -0.004] "radius": 0.063 - "center": [0.116, 0.024, -0.073] "radius": 0.063 - "center": [0.045, 0.025, 0.128] "radius": 0.063 - "center": [0.039, 0.034, -0.131] "radius": 0.063 - "center": [0.112, 0.032, 0.078] "radius": 0.063 - "center": [0.136, 0.035, -0.011] "radius": 0.063 - "center": [-0.099, 0.035, -0.093] "radius": 0.063 - "center": [-0.13, 0.023, 0.043] "radius": 0.063 - "center": [0.081, 0.035, -0.108] "radius": 0.063 - "center": [-0.102, 0.036, 0.089] "radius": 0.062 - "center": [-0.014, 0.028, -0.136] "radius": 0.063 drive_wheel_right: - "center": [-0.004, 0.028, -0.019] "radius": 0.067 - "center": [0.103, 0.024, 0.09] "radius": 0.063 - "center": [-0.121, 0.028, -0.064] "radius": 0.063 - "center": [-0.114, 0.028, 0.075] "radius": 0.063 - "center": [-0.081, 0.03, -0.109] "radius": 0.063 - "center": [-0.031, 0.035, 0.132] "radius": 0.063 - "center": [0.131, 0.031, 0.039] "radius": 0.063 - "center": [-0.135, 0.029, 0.007] "radius": 0.063 - "center": [0.126, 0.031, -0.052] "radius": 0.063 - "center": [0.094, 0.032, -0.099] "radius": 0.063 - "center": [-0.027, 0.024, -0.134] "radius": 0.063 - "center": [0.029, 0.03, -0.133] "radius": 0.063 - "center": [0.021, 0.028, -0.002] "radius": 0.067 - "center": [0.02, 0.023, 0.136] "radius": 0.062 - "center": [0.136, 0.027, -0.01] "radius": 0.063 castor_back_left: - "center": [-0.012, -0.045, -0.005] "radius": 0.106 back_wheel_left: - "center": [0.014, 0.0, 0.001] "radius": 0.097 castor_back_right: - "center": [-0.012, -0.043, -0.005] "radius": 0.106 back_wheel_right: - "center": [0.029, 0.006, -0.008] "radius": 0.08 castor_front_left: - "center": [-0.012, -0.053, -0.005] "radius": 0.106 front_wheel_left: - "center": [-0.011, 0.006, -0.01] "radius": 0.097 castor_front_right: - "center": [0.013, -0.04, 0.011] "radius": 0.086 front_wheel_right: - "center": [-0.021, 0.006, -0.01] "radius": 0.097 amiga_gripper_palm: - "center": [0.011, -0.012, -0.03] "radius": 0.04 - "center": [-0.025, -0.015, -0.006] "radius": 0.039 - "center": [0.008, -0.0, 0.035] "radius": 0.037 - "center": [0.004, 0.022, -0.034] "radius": 0.036 - "center": [0.032, -0.015, 0.024] "radius": 0.036 - "center": [0.003, 0.027, 0.032] "radius": 0.034 - "center": [0.04, 0.011, -0.038] "radius": 0.033 - "center": [-0.028, -0.019, 0.033] "radius": 0.032 - "center": [0.04, 0.018, 0.037] "radius": 0.032 - "center": [0.0, 0.029, 0.002] "radius": 0.032 - "center": [0.035, -0.016, -0.015] "radius": 0.033 - "center": [-0.038, 0.023, 0.001] "radius": 0.028 - "center": [-0.032, -0.018, -0.035] "radius": 0.03 - "center": [-0.004, -0.031, -0.0] "radius": 0.033 - "center": [-0.038, -0.007, 0.006] "radius": 0.034 - "center": [0.009, -0.015, 0.032] "radius": 0.037 - "center": [0.029, 0.031, -0.035] "radius": 0.029 - "center": [0.034, 0.029, 0.036] "radius": 0.03 - "center": [0.036, 0.005, 0.037] "radius": 0.034 - "center": [-0.041, 0.036, -0.0] "radius": 0.025 cspace: joint_names: ['amiga_arm_shoulder_pan_joint', 'amiga_arm_shoulder_lift_joint', 'amiga_arm_elbow_joint', 'amiga_arm_wrist_1_joint', 'amiga_arm_wrist_2_joint', 'amiga_arm_wrist_3_joint'] retract_config: [-0.00, 0.00, 0.00, 0.00, 0.00, 0.00] null_space_weight: [1.0, 1.0, 1.0, 1.0, 1.0, 1.0] cspace_distance_weight: [1.0, 1.0, 1.0, 1.0, 1.0, 1.0] max_jerk: 500.0 max_acceleration: 30.0 ```

I am now getting another error because the gripper joints are not in cspace.joint_names:

Traceback (most recent call last):
  File "curobo/examples/isaac_sim/motion_gen_reacher.py", line 325, in <module>
    main()
  File "curobo/examples/isaac_sim/motion_gen_reacher.py", line 163, in main
    velocity_scale=[0.25, 1, 1, 1, 1.0, 1.0, 1.0, 1.0, 1.0],
  File "/isaac-sim/kit/python/lib/python3.7/contextlib.py", line 74, in inner
    return func(*args, **kwds)
  File "/curobo/curobo/src/curobo/wrap/reacher/motion_gen.py", line 338, in load_from_robot_config
    robot_cfg = RobotConfig.from_dict(robot_cfg, tensor_args)
  File "/curobo/curobo/src/curobo/types/robot.py", line 49, in from_dict
    CudaRobotGeneratorConfig(**data_dict_in["kinematics"], tensor_args=tensor_args)
  File "/curobo/curobo/src/curobo/cuda_robot_model/cuda_robot_model.py", line 128, in from_config
    generator = CudaRobotGenerator(config)
  File "/curobo/curobo/src/curobo/cuda_robot_model/cuda_robot_generator.py", line 217, in __init__
    self.initialize_tensors()
  File "/isaac-sim/kit/python/lib/python3.7/contextlib.py", line 74, in inner
    return func(*args, **kwds)
  File "/curobo/curobo/src/curobo/cuda_robot_model/cuda_robot_generator.py", line 296, in initialize_tensors
    self.cspace.inplace_reindex(self.joint_names)
  File "/curobo/curobo/src/curobo/cuda_robot_model/types.py", line 128, in inplace_reindex
    new_index = [self.joint_names.index(j) for j in joint_names]
  File "/curobo/curobo/src/curobo/cuda_robot_model/types.py", line 128, in <listcomp>
    new_index = [self.joint_names.index(j) for j in joint_names]
ValueError: 'amiga_gripper_palm_finger_1_joint' is not in list

Should I add them? Would that not complicate the planning, since I am only interested in moving the arm?

balakumar-s commented 1 year ago

Add all actuated joints to joint names and then you can add joints to lock as below in the configuration file:

https://github.com/NVlabs/curobo/blob/e0e804e9062da33c13aa262a1da253d364b8768a/src/curobo/content/configs/robot/franka.yml#L102

cedricgoubard commented 1 year ago

Thank you; collisions spheres are now appearing, but the plan does not converge. I am guessing this is either because my starting configuration already has collisions, or because my parameters are wrong

cspace:
      joint_names: 
        - amiga_arm_shoulder_pan_joint 
        - amiga_arm_shoulder_lift_joint 
        - amiga_arm_elbow_joint 
        - amiga_arm_wrist_1_joint 
        - amiga_arm_wrist_2_joint 
        - amiga_arm_wrist_3_joint 
        - amiga_gripper_palm_finger_1_joint 
        - amiga_gripper_finger_1_joint_1 
        - amiga_gripper_finger_1_joint_2 
        - amiga_gripper_finger_1_joint_3 
        - amiga_gripper_palm_finger_2_joint 
        - amiga_gripper_finger_2_joint_1 
        - amiga_gripper_finger_2_joint_2 
        - amiga_gripper_finger_2_joint_3 
        - amiga_gripper_finger_middle_joint_1 
        - amiga_gripper_finger_middle_joint_2 
        - amiga_gripper_finger_middle_joint_3

      retract_config:  [0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00]
      null_space_weight:  [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
      cspace_distance_weight: [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
      max_jerk: 500.0
      max_acceleration: 30.0
Full file ```yaml ## ## Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. ## ## NVIDIA CORPORATION, its affiliates and licensors retain all intellectual ## property and proprietary rights in and to this material, related ## documentation and any modifications thereto. Any use, reproduction, ## disclosure or distribution of this material and related documentation ## without an express license agreement from NVIDIA CORPORATION or ## its affiliates is strictly prohibited. ## robot_cfg: kinematics: usd_path: "/ros_ws/src/amiga_description/robots/usd/amiga.usd" usd_robot_root: "/robot" isaac_usd_path: "" usd_flip_joints: {} usd_flip_joint_limits: [] urdf_path: "/ros_ws/src/amiga_description/robots/urdf/amiga_curobo.urdf" asset_root_path: "/ros_ws/src/" base_link: "base_link" ee_link: "amiga_gripper_palm" link_names: null lock_joints: amiga_gripper_palm_finger_1_joint: 0.0 amiga_gripper_finger_1_joint_1: 0.0 amiga_gripper_finger_1_joint_2: 0.0 amiga_gripper_finger_1_joint_3: 0.0 amiga_gripper_palm_finger_2_joint: 0.0 amiga_gripper_finger_2_joint_1: 0.0 amiga_gripper_finger_2_joint_2: 0.0 amiga_gripper_finger_2_joint_3: 0.0 amiga_gripper_finger_middle_joint_1: 0.0 amiga_gripper_finger_middle_joint_2: 0.0 amiga_gripper_finger_middle_joint_3: 0.0 extra_links: null collision_link_names: - amiga_arm_shoulder_link - amiga_arm_upper_arm_link - amiga_arm_forearm_link - amiga_arm_wrist_1_link - amiga_arm_wrist_2_link - amiga_arm_wrist_3_link - back_wheel_left - back_wheel_right - front_wheel_left - front_wheel_right - base_link - castor_back_left - castor_back_right - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - amiga_gripper_finger_1_link_0 - amiga_gripper_finger_1_link_1 - amiga_gripper_finger_1_link_2 - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center - amiga_grip_camera_mount_base_link - amiga_arm_base_link_inertia self_collision_buffer: amiga_arm_shoulder_link: 0.02 amiga_arm_upper_arm_link: 0.02 amiga_arm_forearm_link: 0.02 amiga_arm_wrist_1_link: 0.02 amiga_arm_wrist_2_link: 0.02 amiga_arm_wrist_3_link: 0.02 back_wheel_left: 0.02 back_wheel_right: 0.02 front_wheel_left: 0.02 front_wheel_right: 0.02 base_link: 0.02 castor_back_left: 0.02 castor_back_right: 0.02 castor_front_left: 0.02 castor_front_right: 0.02 drive_wheel_left: 0.02 drive_wheel_right: 0.02 amiga_gripper_finger_1_link_0: 0.02 amiga_gripper_finger_1_link_1: 0.02 amiga_gripper_finger_1_link_2: 0.02 amiga_gripper_finger_1_link_3: 0.02 amiga_gripper_finger_2_link_0: 0.02 amiga_gripper_finger_2_link_1: 0.02 amiga_gripper_finger_2_link_2: 0.02 amiga_gripper_finger_2_link_3: 0.02 amiga_gripper_finger_middle_link_0: 0.02 amiga_gripper_finger_middle_link_1: 0.02 amiga_gripper_finger_middle_link_2: 0.02 amiga_gripper_finger_middle_link_3: 0.02 amiga_gripper_palm: 0.02 zed2_camera_center: 0.02 amiga_grip_camera_mount_base_link: 0.02 amiga_arm_base_link_inertia: 0.02 collision_sphere_buffer: 0.005 extra_collision_spheres: {} self_collision_ignore: amiga_arm_base_link: - amiga_arm_shoulder_link - amiga_arm_upper_arm_link - amiga_arm_wrist_1_link - back_wheel_left - back_wheel_right - base_link - castor_back_left - castor_back_right - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right amiga_arm_base_link_inertia: - amiga_arm_shoulder_link - amiga_arm_upper_arm_link - amiga_arm_wrist_1_link - back_wheel_left - back_wheel_right - base_link - castor_back_left - castor_back_right - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right amiga_arm_flange: - amiga_arm_wrist_1_link - amiga_arm_wrist_2_link - amiga_arm_wrist_3_link - amiga_grip_camera_mount_base_link - amiga_gripper_finger_1_link_0 - amiga_gripper_finger_1_link_1 - amiga_gripper_finger_1_link_2 - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_arm_forearm_link: - amiga_arm_upper_arm_link - amiga_arm_wrist_1_link amiga_arm_shoulder_link: - amiga_arm_upper_arm_link - amiga_arm_wrist_1_link - back_wheel_left - back_wheel_right - base_link - castor_back_left - castor_back_right - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right amiga_arm_wrist_1_link: - amiga_arm_wrist_2_link - amiga_arm_wrist_3_link - amiga_grip_camera_mount_base_link - amiga_gripper_finger_1_link_0 - amiga_gripper_finger_1_link_1 - amiga_gripper_finger_1_link_2 - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_arm_wrist_2_link: - amiga_arm_wrist_3_link - amiga_grip_camera_mount_base_link - amiga_gripper_finger_1_link_0 - amiga_gripper_finger_1_link_1 - amiga_gripper_finger_1_link_2 - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_arm_wrist_3_link: - amiga_grip_camera_mount_base_link - amiga_gripper_finger_1_link_0 - amiga_gripper_finger_1_link_1 - amiga_gripper_finger_1_link_2 - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_grip_camera_mount_base_link: - amiga_gripper_finger_1_link_0 - amiga_gripper_finger_1_link_1 - amiga_gripper_finger_1_link_2 - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_1_link_0: - amiga_gripper_finger_1_link_1 - amiga_gripper_finger_1_link_2 - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_1_link_1: - amiga_gripper_finger_1_link_2 - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_1_link_2: - amiga_gripper_finger_1_link_3 - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_1_link_3: - amiga_gripper_finger_2_link_0 - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_2_link_0: - amiga_gripper_finger_2_link_1 - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_2_link_1: - amiga_gripper_finger_2_link_2 - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_2_link_2: - amiga_gripper_finger_2_link_3 - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_2_link_3: - amiga_gripper_finger_middle_link_0 - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_middle_link_0: - amiga_gripper_finger_middle_link_1 - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_middle_link_1: - amiga_gripper_finger_middle_link_2 - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_middle_link_2: - amiga_gripper_finger_middle_link_3 - amiga_gripper_palm - zed2_camera_center amiga_gripper_finger_middle_link_3: - amiga_gripper_palm - zed2_camera_center amiga_gripper_palm: - zed2_camera_center back_wheel_left: - back_wheel_right - base_link - castor_back_left - castor_back_right - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right - l515_l_link - l515_r_link - t265_link back_wheel_right: - base_link - castor_back_left - castor_back_right - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right - l515_l_link - l515_r_link - t265_link base_link: - castor_back_left - castor_back_right - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right - l515_l_link - l515_r_link - t265_link castor_back_left: - castor_back_right - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right castor_back_right: - castor_front_left - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right castor_front_left: - castor_front_right - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right castor_front_right: - drive_wheel_left - drive_wheel_right - front_wheel_left - front_wheel_right drive_wheel_left: - drive_wheel_right - front_wheel_left - front_wheel_right drive_wheel_right: - front_wheel_left - front_wheel_right front_wheel_left: - front_wheel_right use_global_cumul: True mesh_link_names: null # List[str] collision_spheres: base_link: - "center": [-0.176, 0.0, 0.12] "radius": 0.2 - "center": [0.067, 0.0, 0.12] "radius": 0.2 - "center": [-0.095, 0.0, 0.12] "radius": 0.2 - "center": [-0.014, 0.0, 0.12] "radius": 0.2 - "center": [0.325, 0.207, 0.158] "radius": 0.04 - "center": [0.325, 0.207, 0.055] "radius": 0.04 - "center": [0.325, 0.207, 0.123] "radius": 0.04 - "center": [0.325, 0.207, 0.089] "radius": 0.04 - "center": [0.326, -0.213, 0.071] "radius": 0.04 - "center": [0.324, -0.206, 0.154] "radius": 0.04 - "center": [0.325, -0.211, 0.099] "radius": 0.04 - "center": [0.325, -0.209, 0.127] "radius": 0.04 - "center": [0.306, -0.197, 0.075] "radius": 0.052 - "center": [0.28, -0.175, 0.061] "radius": 0.068 - "center": [0.246, -0.147, 0.036] "radius": 0.07 - "center": [0.201, -0.111, 0.095] "radius": 0.09 - "center": [0.143, -0.063, 0.106] "radius": 0.1 - "center": [0.305, 0.168, 0.06] "radius": 0.052 - "center": [0.279, 0.147, 0.053] "radius": 0.05 - "center": [0.245, 0.143, 0.029] "radius": 0.065 - "center": [0.201, 0.108, 0.026] "radius": 0.09 - "center": [0.143, 0.061, 0.101] "radius": 0.11 - "center": [-0.388, 0.176, 0.072] "radius": 0.04 - "center": [-0.364, 0.178, 0.164] "radius": 0.04 - "center": [-0.38, 0.184, 0.123] "radius": 0.04 - "center": [-0.383, -0.166, 0.163] "radius": 0.04 - "center": [-0.391, -0.176, 0.054] "radius": 0.04 - "center": [-0.385, -0.169, 0.127] "radius": 0.04 - "center": [-0.388, -0.172, 0.091] "radius": 0.04 - "center": [-0.274, -0.116, 0.274] "radius": 0.04 - "center": [0.215, -0.128, 0.274] "radius": 0.04 - "center": [0.208, 0.124, 0.276] "radius": 0.04 - "center": [-0.273, 0.125, 0.271] "radius": 0.04 - "center": [-0.275, -0.101, 0.272] "radius": 0.04 - "center": [-0.275, -0.074, 0.272] "radius": 0.04 - "center": [-0.275, -0.048, 0.271] "radius": 0.04 - "center": [-0.275, -0.021, 0.271] "radius": 0.04 - "center": [-0.275, 0.006, 0.271] "radius": 0.04 - "center": [-0.274, 0.033, 0.27] "radius": 0.04 - "center": [-0.274, 0.059, 0.27] "radius": 0.04 - "center": [-0.274, 0.086, 0.269] "radius": 0.04 - "center": [0.214, -0.1, 0.274] "radius": 0.04 - "center": [0.213, -0.072, 0.274] "radius": 0.04 - "center": [0.212, -0.044, 0.274] "radius": 0.04 - "center": [0.212, -0.016, 0.275] "radius": 0.04 - "center": [0.211, 0.012, 0.275] "radius": 0.04 - "center": [0.21, 0.04, 0.275] "radius": 0.04 - "center": [0.209, 0.068, 0.275] "radius": 0.04 - "center": [0.208, 0.088, 0.274] "radius": 0.04 - "center": [0.17, -0.134, 0.272] "radius": 0.04 - "center": [0.126, -0.133, 0.272] "radius": 0.04 - "center": [0.082, -0.132, 0.272] "radius": 0.04 - "center": [0.037, -0.131, 0.272] "radius": 0.04 - "center": [-0.007, -0.13, 0.272] "radius": 0.04 - "center": [-0.052, -0.129, 0.272] "radius": 0.04 - "center": [-0.096, -0.128, 0.272] "radius": 0.04 - "center": [-0.141, -0.127, 0.272] "radius": 0.04 - "center": [-0.185, -0.126, 0.272] "radius": 0.04 - "center": [-0.229, -0.125, 0.272] "radius": 0.04 - "center": [-0.231, -0.09, 0.275] "radius": 0.04 - "center": [-0.186, -0.09, 0.275] "radius": 0.04 - "center": [-0.142, -0.09, 0.275] "radius": 0.04 - "center": [-0.097, -0.09, 0.275] "radius": 0.04 - "center": [-0.053, -0.09, 0.276] "radius": 0.04 - "center": [-0.009, -0.089, 0.276] "radius": 0.04 - "center": [0.036, -0.089, 0.276] "radius": 0.04 - "center": [0.08, -0.089, 0.276] "radius": 0.04 - "center": [0.124, -0.089, 0.276] "radius": 0.04 - "center": [0.169, -0.088, 0.277] "radius": 0.04 - "center": [0.164, 0.116, 0.283] "radius": 0.04 - "center": [0.12, 0.116, 0.283] "radius": 0.04 - "center": [0.077, 0.116, 0.282] "radius": 0.04 - "center": [0.033, 0.116, 0.282] "radius": 0.04 - "center": [-0.011, 0.116, 0.282] "radius": 0.04 - "center": [-0.054, 0.116, 0.281] "radius": 0.04 - "center": [-0.098, 0.117, 0.281] "radius": 0.04 - "center": [-0.142, 0.117, 0.28] "radius": 0.04 - "center": [-0.185, 0.117, 0.28] "radius": 0.04 - "center": [-0.229, 0.117, 0.279] "radius": 0.04 - "center": [-0.23, 0.06, 0.282] "radius": 0.04 - "center": [-0.186, 0.061, 0.282] "radius": 0.04 - "center": [-0.142, 0.062, 0.283] "radius": 0.04 - "center": [-0.098, 0.062, 0.283] "radius": 0.04 - "center": [-0.055, 0.063, 0.284] "radius": 0.04 - "center": [-0.011, 0.064, 0.284] "radius": 0.04 - "center": [0.033, 0.065, 0.285] "radius": 0.04 - "center": [0.077, 0.065, 0.285] "radius": 0.04 - "center": [0.121, 0.066, 0.286] "radius": 0.04 - "center": [0.165, 0.067, 0.286] "radius": 0.04 - "center": [0.156, -0.016, 0.274] "radius": 0.06 - "center": [-0.189, -0.122, 0.047] "radius": 0.134 - "center": [-0.324, -0.177, 0.061] "radius": 0.089 - "center": [-0.364, -0.154, 0.063] "radius": 0.06 - "center": [-0.212, 0.154, 0.066] "radius": 0.134 - "center": [-0.323, 0.183, 0.086] "radius": 0.089 - "center": [-0.362, 0.154, 0.078] "radius": 0.06 amiga_arm_base_link_inertia: - "center": [-0.01, -0.013, 0.05] "radius": 0.069 - "center": [0.009, 0.027, 0.058] "radius": 0.069 - "center": [0.035, -0.006, 0.047] "radius": 0.067 - "center": [-0.036, -0.002, 0.053] "radius": 0.067 - "center": [-0.006, -0.033, 0.048] "radius": 0.068 - "center": [-0.014, 0.044, 0.04] "radius": 0.059 amiga_arm_shoulder_link: - "center": [-0.0, -0.004, 0.012] "radius": 0.1 - "center": [0.001, -0.027, -0.014] "radius": 0.093 - "center": [-0.001, 0.004, -0.01] "radius": 0.096 amiga_arm_upper_arm_link: - "center": [-0.031, 0.0, 0.176] "radius": 0.099 - "center": [-0.589, 0.0, 0.177] "radius": 0.083 - "center": [-0.418, -0.0, 0.176] "radius": 0.079 - "center": [-0.224, -0.0, 0.176] "radius": 0.079 - "center": [-0.309, 0.002, 0.176] "radius": 0.078 - "center": [-0.14, -0.001, 0.177] "radius": 0.079 - "center": [-0.516, 0.0, 0.176] "radius": 0.079 - "center": [0.008, -0.001, 0.184] "radius": 0.092 - "center": [-0.617, -0.002, 0.167] "radius": 0.078 amiga_arm_forearm_link: - "center": [-0.04, -0.002, 0.045] "radius": 0.08 - "center": [-0.559, 0.0, 0.039] "radius": 0.069 - "center": [-0.226, -0.0, 0.039] "radius": 0.067 - "center": [-0.419, -0.001, 0.039] "radius": 0.067 - "center": [-0.317, -0.0, 0.04] "radius": 0.067 - "center": [-0.0, 0.004, 0.088] "radius": 0.079 - "center": [-0.153, 0.003, 0.038] "radius": 0.065 - "center": [-0.496, 0.001, 0.038] "radius": 0.066 amiga_arm_wrist_1_link: - "center": [-0.0, -0.008, 0.0] "radius": 0.069 - "center": [0.0, 0.001, -0.049] "radius": 0.069 amiga_arm_wrist_2_link: - "center": [-0.0, 0.005, -0.004] "radius": 0.065 - "center": [0.001, 0.0, -0.035] "radius": 0.064 amiga_arm_wrist_3_link: - "center": [-0.003, 0.001, -0.047] "radius": 0.061 amiga_grip_camera_mount_base_link: - "center": [-0.003, 0.002, -0.0] "radius": 0.06 - "center": [-0.001, -0.002, 0.054] "radius": 0.036 - "center": [-0.0, 0.005, 0.106] "radius": 0.036 zed2_camera_center: - "center": [-0.001, -0.04, -0.0] "radius": 0.024 - "center": [-0.001, 0.037, -0.0] "radius": 0.024 - "center": [0.0, -0.015, 0.0] "radius": 0.024 - "center": [-0.002, -0.074, -0.0] "radius": 0.023 - "center": [-0.001, 0.019, -0.0] "radius": 0.024 - "center": [-0.003, 0.074, 0.002] "radius": 0.022 - "center": [-0.004, 0.059, 0.002] "radius": 0.023 - "center": [-0.004, -0.061, 0.002] "radius": 0.022 amiga_gripper_finger_1_link_0: - "center": [0.013, 0.012, 0.003] "radius": 0.03 amiga_gripper_finger_1_link_1: - "center": [0.054, -0.045, -0.006] "radius": 0.02 - "center": [0.009, -0.027, 0.0] "radius": 0.028 - "center": [0.031, -0.033, -0.0] "radius": 0.028 amiga_gripper_finger_1_link_2: - "center": [-0.001, -0.014, -0.0] "radius": 0.024 - "center": [0.036, -0.009, -0.001] "radius": 0.024 amiga_gripper_finger_1_link_3: - "center": [0.0, -0.01, 0.002] "radius": 0.022 - "center": [0.006, 0.003, -0.002] "radius": 0.021 - "center": [0.018, 0.011, -0.002] "radius": 0.02 amiga_gripper_finger_2_link_0: - "center": [0.013, 0.012, 0.003] "radius": 0.025 amiga_gripper_finger_2_link_1: - "center": [0.052, -0.04, -0.001] "radius": 0.02 - "center": [0.021, -0.017, 0.001] "radius": 0.023 - "center": [0.037, -0.029, -0.001] "radius": 0.023 - "center": [-0.017, -0.016, 0.0] "radius": 0.023 amiga_gripper_finger_2_link_2: - "center": [-0.001, -0.014, -0.0] "radius": 0.024 - "center": [0.036, -0.009, -0.001] "radius": 0.024 amiga_gripper_finger_2_link_3: - "center": [0.016, 0.012, -0.0] "radius": 0.022 amiga_gripper_finger_middle_link_0: - "center": [0.018, 0.004, -0.002] "radius": 0.025 amiga_gripper_finger_middle_link_1: - "center": [0.051, -0.038, -0.001] "radius": 0.02 - "center": [0.021, -0.023, 0.004] "radius": 0.023 amiga_gripper_finger_middle_link_2: - "center": [-0.001, -0.014, -0.0] "radius": 0.024 - "center": [0.036, -0.009, -0.001] "radius": 0.024 amiga_gripper_finger_middle_link_3: - "center": [0.015, 0.01, -0.0] "radius": 0.022 drive_wheel_left: - "center": [-0.017, 0.028, -0.018] "radius": 0.067 - "center": [0.008, 0.028, 0.01] "radius": 0.067 - "center": [-0.055, 0.029, -0.125] "radius": 0.063 - "center": [-0.022, 0.035, 0.134] "radius": 0.063 - "center": [-0.136, 0.026, -0.004] "radius": 0.063 - "center": [0.116, 0.024, -0.073] "radius": 0.063 - "center": [0.045, 0.025, 0.128] "radius": 0.063 - "center": [0.039, 0.034, -0.131] "radius": 0.063 - "center": [0.112, 0.032, 0.078] "radius": 0.063 - "center": [0.136, 0.035, -0.011] "radius": 0.063 - "center": [-0.099, 0.035, -0.093] "radius": 0.063 - "center": [-0.13, 0.023, 0.043] "radius": 0.063 - "center": [0.081, 0.035, -0.108] "radius": 0.063 - "center": [-0.102, 0.036, 0.089] "radius": 0.062 - "center": [-0.014, 0.028, -0.136] "radius": 0.063 drive_wheel_right: - "center": [-0.004, 0.028, -0.019] "radius": 0.067 - "center": [0.103, 0.024, 0.09] "radius": 0.063 - "center": [-0.121, 0.028, -0.064] "radius": 0.063 - "center": [-0.114, 0.028, 0.075] "radius": 0.063 - "center": [-0.081, 0.03, -0.109] "radius": 0.063 - "center": [-0.031, 0.035, 0.132] "radius": 0.063 - "center": [0.131, 0.031, 0.039] "radius": 0.063 - "center": [-0.135, 0.029, 0.007] "radius": 0.063 - "center": [0.126, 0.031, -0.052] "radius": 0.063 - "center": [0.094, 0.032, -0.099] "radius": 0.063 - "center": [-0.027, 0.024, -0.134] "radius": 0.063 - "center": [0.029, 0.03, -0.133] "radius": 0.063 - "center": [0.021, 0.028, -0.002] "radius": 0.067 - "center": [0.02, 0.023, 0.136] "radius": 0.062 - "center": [0.136, 0.027, -0.01] "radius": 0.063 castor_back_left: - "center": [-0.012, -0.045, -0.005] "radius": 0.106 back_wheel_left: - "center": [0.014, 0.0, 0.001] "radius": 0.097 castor_back_right: - "center": [-0.012, -0.043, -0.005] "radius": 0.106 back_wheel_right: - "center": [0.029, 0.006, -0.008] "radius": 0.08 castor_front_left: - "center": [-0.012, -0.053, -0.005] "radius": 0.106 front_wheel_left: - "center": [-0.011, 0.006, -0.01] "radius": 0.097 castor_front_right: - "center": [0.013, -0.04, 0.011] "radius": 0.086 front_wheel_right: - "center": [-0.021, 0.006, -0.01] "radius": 0.097 amiga_gripper_palm: - "center": [0.011, -0.012, -0.03] "radius": 0.04 - "center": [-0.025, -0.015, -0.006] "radius": 0.039 - "center": [0.008, -0.0, 0.035] "radius": 0.037 - "center": [0.004, 0.022, -0.034] "radius": 0.036 - "center": [0.032, -0.015, 0.024] "radius": 0.036 - "center": [0.003, 0.027, 0.032] "radius": 0.034 - "center": [0.04, 0.011, -0.038] "radius": 0.033 - "center": [-0.028, -0.019, 0.033] "radius": 0.032 - "center": [0.04, 0.018, 0.037] "radius": 0.032 - "center": [0.0, 0.029, 0.002] "radius": 0.032 - "center": [0.035, -0.016, -0.015] "radius": 0.033 - "center": [-0.038, 0.023, 0.001] "radius": 0.028 - "center": [-0.032, -0.018, -0.035] "radius": 0.03 - "center": [-0.004, -0.031, -0.0] "radius": 0.033 - "center": [-0.038, -0.007, 0.006] "radius": 0.034 - "center": [0.009, -0.015, 0.032] "radius": 0.037 - "center": [0.029, 0.031, -0.035] "radius": 0.029 - "center": [0.034, 0.029, 0.036] "radius": 0.03 - "center": [0.036, 0.005, 0.037] "radius": 0.034 - "center": [-0.041, 0.036, -0.0] "radius": 0.025 cspace: joint_names: - amiga_arm_shoulder_pan_joint - amiga_arm_shoulder_lift_joint - amiga_arm_elbow_joint - amiga_arm_wrist_1_joint - amiga_arm_wrist_2_joint - amiga_arm_wrist_3_joint - amiga_gripper_palm_finger_1_joint - amiga_gripper_finger_1_joint_1 - amiga_gripper_finger_1_joint_2 - amiga_gripper_finger_1_joint_3 - amiga_gripper_palm_finger_2_joint - amiga_gripper_finger_2_joint_1 - amiga_gripper_finger_2_joint_2 - amiga_gripper_finger_2_joint_3 - amiga_gripper_finger_middle_joint_1 - amiga_gripper_finger_middle_joint_2 - amiga_gripper_finger_middle_joint_3 retract_config: [0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00] null_space_weight: [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0] cspace_distance_weight: [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0] max_jerk: 500.0 max_acceleration: 30.0 ```

balakumar-s commented 1 year ago

Does the IK example work? That would not consider the start state and would teleport the robot to a collision-free IK solution.

Also the self collision buffer can all be set to 0.0. They can also be an empty dictionary.

cedricgoubard commented 1 year ago

When I run /isaac-sim/python.sh curobo/examples/isaac_sim/ik_reachability.py --robot /ros_ws/src/curobo_ros/cfg/amiga.yaml --visualize_spheres, the arm does not move, but there is no error message. It looks like it's spawning in the same position as before.

Also, you might want to fix the yaml file from the tutorial from self_collision_buffer: null to self_collision_buffer: {}; it raised an error before, complaining about self_collision_buffer.keys().

balakumar-s commented 1 year ago

And in the ik_reachability example, moving the target cube doesn't do anything?

I will add a check for empty dictionary in the code. For now null should work.

balakumar-s commented 1 year ago

One way to debug if links are colliding:

  1. Remove the links from collision_link_names tag and see when the plan starts to converge. Then you can debug just the link that is causing the plan to fail.
  2. You can also check MotionGenResult.invalid_query to see if the start state is in collision.
cedricgoubard commented 1 year ago

I followed your advice, it looks like the problem happens because some links' spheres collide with the plane/table obstacle.

I manually added an offset to the robot, the spheres and the target in the example code, and it works! I will refine my spheres and start testing this on the real robot next, but I think I can close this issue now.

Thank you very much for all your help :pray:

balakumar-s commented 1 year ago

Your robot looks cool. Share any videos of your robot (sim or real) working with cuRobo here: https://github.com/NVlabs/curobo/discussions/categories/community-demos

Thanks for using the tutorial and catching bugs. I have updated the tutorial to incorporating the changes from your use.