Ignoring cmake generated files.
[GraspThread] Fixing possible indexoutofbounds exception