Using LM324 amplilfer for GPS navigation mobile robot

Hi, I am doing a project on Navigation of Mobile Robot Using GPS and my objective is to design an autonomous mobile robot that can navigate itself from its own position into specific position using GPS.
 
I am using Arduino UNO as my micro controller and my GPS module is the Adafruit Ultimate GPS Logger Shield.

Small breifing of my process
I am planning to divide the path in several waypoint which will be pre-determined. And then, when the GPS gets the current location,
the current location will be compared with the location of the first waypoint. If they are not identical, the Arduino will give commands to the robot to move toward the waypoint. When reaching the waypoint, the current location will be automatically compared with the location of the second waypoint. and like that until it reaches the final destination.

However, my lecturer told me to use comparator (such as LM324) to compare the current location with the waypoints

but I could not connect them together. So, please, can anyone help me and tell me how can connect the LM324 with GPS and Arduino UNO

Thanks

Thanks for your

Thanks for your replies.

Actually, my lecturer did not tell to use LM324 literally. He told me to use a comparator and I ask him: Is this chip (LM324) suitable? and he said yes.

However, how can I compare between the actual location and the reference location (location of the waypoint)? Is there any suitable device or it can be done by programming?