GPS Tuning
Since this tractor is being sold at a reasonable price, we need to see where we can use cheaper components. This blog post outlines how we compared multiple GPS brands with different antennas and how we troubleshot the problems that came with it.
Note: In the next software iteration, we will include support for as many GPS systems as possible, allowing the user to choose the precision level they want.
How can GPS be accurate?
You often see GPS brands advertising sub-centimetre precision, and it is hard to believe that this accuracy comes from satellites 20000 km above the surface. This technology is always evolving, and its accuracy is improving. They are so precise that they need to account for both special and general relativity [source: What If].
That being said, error still exists, so we need to use a static basestation which we know its coordinates to a very high degree of accuracy. If the base station is roughly in the same area as the tractor, then the satellite's GPS position estimation error on the base station will be the same as the error on our tractor, so since we know the base station coordinates, we can reverse the offset, thus giving us really high accuracy.
Why are there still issues?
If we get centimetre precision, then one might assume that we wouldn't need any other sensors. The problem is that when you go under trees and reduce the number of satellites that can see you, you lose the precision you want, so you have to extrapolate your position estimate from non-global sources. This includes IMU, camera point tracking, and wheel odometry. GPS points arrive slowly, so to get points between the GPS points, we need to interpolate.
Position Comparison

This image shows the comparison between two position estimation sources. One of them is a fully packaged fusion of camera, imu, and GPS (GPS brand 1), and the other is a cheaper GPS source fused only with wheel_odometry (GPS brand 2). If we can get the second GPS with so much less data close to the first brand, then we know that we can achieve similar accuracy for a fraction of the price. You can see that there is still work to do.
EKF Tuning
An EKF is a way of combining multiple sensors that each have noise and producing the best output based on each sensor's confidence. This tuning is required because we can see in the image below that the wheel odometry, at high speeds, tends to diverge to the left. Still a lot of work to be done.



Comments