Collision_Detection Implementation of the Collision Detection Unit for motion planning of a robot in gem5-SALAM