real-stanford / diffusion_policy

[RSS 2023] Diffusion Policy Visuomotor Policy Learning via Action Diffusion
https://diffusion-policy.cs.columbia.edu/
MIT License
1.1k stars 206 forks source link

Real Robot Data Collection Issue #39

Open chadwick-yao opened 6 months ago

chadwick-yao commented 6 months ago

Hello 🤝 , @cheng-chi . I encountered an issue while applying your code to collect data on the iiwa7 robot. When the machine reaches certain specific positions, I noticed a problem with using Euler angles for interpolation. It causes sudden jerks or acceleration, which can be potentially dangerous. I suggest using quaternions for interpolation. I have tested this and found that using quaternion interpolation resolves the problem I described.