Intelligent follow algorithm

Hi All,

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!

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Thank you! The requirement is to use qGroundControl as the ground station and PX4 firmware is in C/C++.

    Russ said:

    Hi Anjum if you command the drone to go to the current GPS position of the car, the robot will always be behind of the car because the drone will take some time to reach that position and the car will be moving.

    By sending a 'predicted' future position of the car continuously the drone would keep up with the moving car.

    I think it will be simple to do with Python and Dronekit, but down know if that will be enough for your needs.

  • Hi Anjum if you command the drone to go to the current GPS position of the car, the robot will always be behind of the car because the drone will take some time to reach that position and the car will be moving.

    By sending a 'predicted' future position of the car continuously the drone would keep up with the moving car.

    I think it will be simple to do with Python and Dronekit, but down know if that will be enough for your needs.

  • Could you eleborate what you mean by 'correction speed' ? Does it mean updating the GPS co-ordinates. I'm sorry if that is a stupid question. I am a noob here! The UAV can travel around 30mph, the car can obviously travel much faster.



    Russ said:

    Hi Anjum, just sending the GPS points at a fixed interval with a correction speed is not enough? I did it before to follow a person with a GPS in hand using the Dronekit API for Python. Every X seconds the GPS connected to a XBEE sent the data to a PC with the Dronekit, the software verifies the GPS point and if all checks passed it sent it to the drone.

    By the way, what are the speeds you are going to travel?

  • Hi Anjum, just sending the GPS points at a fixed interval with a correction speed is not enough? I did it before to follow a person with a GPS in hand using the Dronekit API for Python. Every X seconds the GPS connected to a XBEE sent the data to a PC with the Dronekit, the software verifies the GPS point and if all checks passed it sent it to the drone.

    By the way, what are the speeds you are going to travel?

This reply was deleted.