Cannot enable collision #1544
-
|
I tried to run reinforcement learning program with robotic arm, referenced on example code. My scene Please tell me how to enable collisions. dt=0.01
gravity=(0.0,0.0,-9.81)
enable_collision=True
enable_joint_limit=True
enable_self_collision=True
enable_adjacent_collision=False
disable_constraint=False
max_collision_pairs=300
integrator=<gs.integrator.approximate_implicitfast:2>
IK_max_targets=6
batch_links_info=False
batch_joints_info=False
batch_dofs_info=False
constraint_solver=<gs.constraint_solver.Newton:1>
iterations=50
tolerance=1e-08
ls_iterations=50
ls_tolerance=0.01
sparse_solve=False
contact_resolve_time=None
constraint_timeconst=0.01
use_contact_island=False
box_box_detection=True
use_hibernation=False
hibernation_thresh_vel=0.001
hibernation_thresh_acc=0.01
max_dynamic_constraints=8
enable_multi_contact=True
enable_mujoco_compatibility=False
use_gjk_collision=TrueUntitled.Project.mp4 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
|
Can you share a reproduction script? Collision is supposed to be enabled by default, so there must be something wrong happening here. |
Beta Was this translation helpful? Give feedback.
-
|
This is actually due to a bug in the implementation of the frictionloss. Nothing is wrong with this code. It will work without any modification once the bug is fixed. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @kaaatsu32329, I am trying out a similar environment with the SO-101 arm, if you’re open to it, I’d love to see how you adapted the manipulation example code, especially the Manipulator class, or whether you have code you’d be willing to share. Thank you! |
Beta Was this translation helpful? Give feedback.
This is actually due to a bug in the implementation of the frictionloss. Nothing is wrong with this code. It will work without any modification once the bug is fixed.