isaac-sim / IsaacLab

Unified framework for robot learning built on NVIDIA Isaac Sim
https://isaac-sim.github.io/IsaacLab
Other
2.32k stars 960 forks source link

How to achieve six degrees of freedom motion through state machine? #1449

Open rese-eser opened 1 week ago

rese-eser commented 1 week ago

Hello everyone! I am following Isaaclab's tutorial to reproduce the script related to liftcube sm. py, but I have found that the angle of each step in the process of grabbing the cube by the robotic arm remains basically unchanged. In other words, I have changed the rotation angle of the cube about the z-axis. I hope that the end of the robotic arm can also calculate the corresponding rotation angle during the grabbing process to achieve more accurate grabbing.

I tried to add the pose quaternion of an object in the state machine, but the calculated action looks strange. Why is this? 图片

录屏 2024年11月22日 15时02分54秒.webm

StrainFlow commented 6 days ago

It looks to me like the orientation of the manipulator is close but is running up against joint limits and it looks like there's something wrong with the desired_position calculation that's not in the code you shared.

Have you looked at the object following sample?

rese-eser commented 6 days ago

@StrainFlow Thank you for your reply. What do I mean by implementing the six degree of freedom motion of the robotic arm in the lift cube sm script? Currently, the motion of the robotic arm seems to only change in the xyz position, while the rotation angle seems to be fixed.