Closed piao-0429 closed 6 months ago
Not an expert on this issue. But have you tried a smaller planning timestep like 1/250? ref
If that doesn't work, maybe @fbxiang can help
It seems not work as well.
I just pinged fanbo and he can probably give you a better answer. Meanwhile, can you attach the trajectory in the result returned by plan? This does sound like a simulation issue
result['position']
result['time']
I have attached two txt files above. The result is based on self.plan_timestep = 1/250
Thanks!
Are you balancing passive forces as describe in the tutorial here https://sapien.ucsd.edu/docs/2.2/tutorial/robotics/basic_robot.html#compensate-passive-forces-e-g-gravity ?
If the forces are balanced, the issue may be the robot reached certain join limit that you should be able to check in the viewer.
I've fixed this problem by balancing passive force! Thanks for your help!
Thanks for the follow-up! Closing for now.
System: OS version: Ubuntu 20.04 Python version (if applicable): Python 3.8 SAPIEN version (pip freeze | grep sapien): 2.2.2 Environment: Desktop
Describe the bug I create an env with sapien but when I execute a planned action with env.step(action), where action is the target pose of the end effector (8-dim: 3 for pos, 4 for quat, 1 for gripper), it cannot reach my desired pose (but it manages to move in the correct direction). I guess it may be some problem with my simulation time or planning timestep, etc. But I cannot discover how to fix this problem.
Additional context Some reference code here: