ethz-asl / vgn

Real-time 6 DOF grasp detection in clutter.
BSD 3-Clause "New" or "Revised" License
257 stars 55 forks source link

RuntimeWarning: invalid value encountered in arccos #38

Open blechdavier opened 4 months ago

blechdavier commented 4 months ago
/workspaces/vgn/src/vgn/simulation.py:170: RuntimeWarning: invalid value encountered in arccos
  angle = np.arccos(np.dot(approach, np.r_[0.0, 0.0, -1.0]))

I got this error while executing generate_data.py and it might be caused by numerical imprecision). Adding a min and a max could solve this.