Hi,

I've created a working antenna tracker for my hexacopter with a MultiWii controller using a spare Arduino Nano V3 and an XBee Pro 900 pair.  MW protocol is decoded and GPS LAT/LON/Speed and ALT and extracted.  The issue I have is that the positions are updated with an amount of lag that can become an issue performing close fast passes. 

After watching a number of videos of the various trackers out there it is fairly apparent that they all show the same lag.  The antenna's all seem to point behind the drone as it is travelling along perpendicular to a zero bearing.

Read quite a few posts and it does appear that a few of you have tried looking at a solution to this.

What I would like to propose is to calculate an estimate of the actual drone position based on the last three positions and the current speed.  using three positions can give you the angle of a curve.  The distance traveled from the last point along that curve can be estimated from the current speed.  In the time between the last GPS pos and the next one to arrive, you could estimate where it should currently be.  You could also filter out repeat coordinates based on where you estimate it should be next.  In my case, the hexacopter can be speeding along and then come to a stand still at one position.  If the last three GPS positions are the same then the curve and distance calculations should resolve to the same position.

The question to put out there is if anyone has come up with any related maths to work this one out?  

When you think about it, most GPS car navigation systems would use this method to show your position moving along smoothly on a freeway, so there must be some maths already out there to work this out.

Input greatly appreciated. 

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

Join diydrones

Email me when people reply –

Replies

  • Now looks like the latest MultiWii dev code (1311) contains GPS filtering developed by Jason Short which gives me this approximation. Hoping the filtered coordinates are sent out in the MW serial protocol to the antenna tracker.
  • I've done some very basic look ahead while playing around with ardustation's antenna tracker functionality. Some thoughts on this

    - My lookahead was only on pan since tilt is mostly close enough. I looked at the average of the 2 previous pan movements, calculated the new one and then added 20% of the previous average to the new one to get a pan angle with some look ahead. Playing around with the 20% to suit your pan servo setup is the trick, using velocity instead of a fixed % would be better. It works well enough for me.

    - You can build in some fat with antenna choice. I'm using a helical antenna, it has a coverage cone of around 60 degrees, so it is not critical to be pointed directly at the plane.

    - Another option that is working really well for me is using a diversity receiver. With a directional and cloverleaf antenna on the reciever, it chooses the strongest signal. When the plane is in close, it mostly uses the cloverleaf.

    Using velocity and adjusting pan and tilt would be the ultimate. I'd be keen to see what others have to say.

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @TinkerGen_: "The Tinkergen MARK ($199) is my new favorite starter robocar. It’s got everything — computer vision, deep learning, sensor…
Monday
DIY Robocars via Twitter
Monday
DIY Robocars via Twitter
RT @roboton_io: Join our FREE Sumo Competition 🤖🏆 👉 https://roboton.io/ranking/vsc2020 #sumo #robot #edtech #competition #games4ed https://t.co/WOx…
Nov 16
DIY Drones via Twitter
First impressions of Tinkergen MARK robocar https://ift.tt/36IeZHc
Nov 16
DIY Robocars via Twitter
Our review of the @TinkerGen_ MARK robocar, which is the best on the market right now https://diyrobocars.com/2020/11/15/first-impressions-of-tinkergen-mark-robocar/ https://t.co/ENIlU5SfZ2
Nov 15
DIY Robocars via Twitter
RT @Ingmar_Stapel: I have now explained the OpenBot project in great detail on my blog with 12 articles step by step. I hope you enjoy read…
Nov 15
DIY Robocars via Twitter
RT @DAVGtech: This is a must attend. Click the link, follow link to read the story, sign up. #chaos2020 #digitalconnection #digitalworld ht…
Nov 15
DIY Robocars via Twitter
RT @a1k0n: Got a new chassis for outdoor races (hobbyking Quantum Vandal) but I totally didn't expect that it might cause problems for my g…
Nov 11
DIY Drones via Twitter
First impressions of the Intel OpenBot https://ift.tt/36qkVV4
Nov 10
DIY Robocars via Twitter
Nov 9
DIY Robocars via Twitter
Excellent use of cardboard instead of 3D printing! https://twitter.com/Ingmar_Stapel/status/1324960595318333441
Nov 7
DIY Robocars via Twitter
RT @chr1sa: We've got a record 50 teams competing in this month's @DIYRobocars @donkey_car virtual AI car race. Starting today at 10:00am…
Nov 7
DIY Robocars via Twitter
Nov 6
DIY Robocars via Twitter
RT @a1k0n: Car's view, using a fisheye camera. The ceiling light tracking algorithm gave me some ideas to improve ConeSLAM, and having grou…
Nov 5
DIY Robocars via Twitter
RT @a1k0n: To get ground truth I measured the rug, found the pixel coordinates of its corners, calibrated my phone camera with my standard…
Nov 5
DIY Robocars via Twitter
RT @a1k0n: @DIYRobocars is back in December, but outside. Time to reinvestigate ConeSLAM! I rigged up a quick and dirty ground-truth captur…
Nov 5
More…