-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Feature/add tong simulator #5243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
|
|
||
| import isaaclab.sim as sim_utils | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 Missing license header. All files in Isaac Lab require the BSD-3-Clause license header: # Copyright (c) 2022-2026, The Isaac Lab Project Developers (...)
# All rights reserved.
#
# SPDX-License-Identifier: BSD-3-ClauseAlso, |
||
| from isaaclab.actuators import DelayedPDActuatorCfg, RemotizedPDActuatorCfg | ||
| from isaaclab.assets.articulation import ArticulationCfg | ||
|
|
||
| TONG_SYSTEM_CFG = ArticulationCfg( | ||
| spawn=sim_utils.UsdFileCfg( | ||
| usd_path="/workspace/isaaclab/source/isaaclab_assets/isaaclab_assets/robots/usd/tong_system/tong_system.usd", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔴 Critical: Hardcoded absolute container path. This path Consider using a path relative to this module or a standard Isaac Lab asset directory variable. |
||
| activate_contact_sensors=False, | ||
| rigid_props=sim_utils.RigidBodyPropertiesCfg( | ||
| disable_gravity=True, | ||
| retain_accelerations=True, | ||
| max_depenetration_velocity=1000.0, | ||
| ), | ||
| articulation_props=sim_utils.ArticulationRootPropertiesCfg( | ||
| enabled_self_collisions=True, | ||
| solver_position_iteration_count=8, | ||
| solver_velocity_iteration_count=0, | ||
| sleep_threshold=0.005, | ||
| stabilization_threshold=0.0005, | ||
| ), | ||
| ), | ||
| init_state=ArticulationCfg.InitialStateCfg( | ||
| joint_pos={ | ||
| ".*_joint": 0.0, | ||
| }, | ||
| joint_vel={".*": 0.0}, | ||
| ), | ||
| actuators={ | ||
| "actuator": DelayedPDActuatorCfg( | ||
| joint_names_expr=[".*"], | ||
| stiffness=100.0, | ||
| damping=1.0, | ||
| ), | ||
| }, | ||
| ) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| # Blender MTL File: 'None' | ||
| # Material Count: 1 | ||
|
|
||
| newmtl None | ||
| Ns 0 | ||
| Ka 0.000000 0.000000 0.000000 | ||
| Kd 0.8 0.8 0.8 | ||
| Ks 0.8 0.8 0.8 | ||
| d 1 | ||
| illum 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 Warning: Unconditional import of non-standard class.
OnPolicyRunnerWithDepthdoesn't exist in the officialrsl_rlpackage (leggedrobotics/rsl_rl). This unconditional import will causeImportErrorfor every user with the standardrsl_rlinstallation.Consider a conditional import: