Hey everyone! I am currently trying to implement some sort of vision offset pick & place simulation, but currently having trouble where when my program hits line 9, it will do some crazy rotations when it should be moving towards the object to pick it up. I am new to FANUC so I honestly have no idea what is going on and what I have to do.
I did have an issue earlier with the Offset Data Calculation Tool where I was unable to set a ref. pos. status because the camera will capture at the position where it should be picking up the shell (thus not being able to see the shell itself because the camera is mounted on the robot).
Anyone know how to solve this problem by any chance? Any feedback will be appreciated. Thank you!
Video of simulation: Video