Added the 'getClosestObject' function to PerceptionSearch.h file so that the bump condition can call that function