Thanks for the quick reply.
I appreciate your suggestion i remembered that, i just wanted to understand the flow of the code, where i was stucked in irq_handler method.
By the way that was cleared.
May i ask you another doubt, it can be weird but just to clarify.
If we go with pixhawk and run the ardurover for waypoint navigation having motors with Quadrature encoder.
So if we made our waypoints in APMPlanner/Qgroundcontrol, how does the rover gets the heading and its home position only with encoders? After providing the points, i am putting this in Auto mode? Is this correct?