I need to implement a follow algorithm so that the UAV follows a test car using the GPS data it receives through the Car-to-X module. The goal is to follow the car and produce good quality video recording of the car and it's surroundings. I am using PX4 firmware and qGround control as my ground station. Is there anyone who can help me with the implementation part,as to different follow algorithms and which part of the source code should I focus on ?
Thanx in advance!