Arduino Heading determination only from GPS data

Job Description:

I would like to execute code in arduino that allows you to get to your destination from point A to point B using only GPS (without any IMU).

We have a starting point A and a destination point B. The vehicle's task is to go from point A to point B.

For those who say it's impossible:

https:// www. youtube. com/watch?v=vAiZuJWzUTE

I have this autopilot and there is no IMU, only the GPS module is connected

I tried something like this but no result :)

void loop() {

while ([login to view URL]()) {

[login to view URL]([login to view URL]());


if ([login to view URL]()) {

currentLat = [login to view URL]();

currentLon = [login to view URL]();

if (currentLat != 0 && currentLon != 0 && lastLat != 0 && lastLon != 0) {

Heading = TinyGPSPlus::bearing(lastLat, lastLon, currentLat, currentLon);

Bearing = [login to view URL](currentLat, currentLon, gotoLat, gotoLon);


lastLat = currentLat;

lastLon = currentLon;


errorBH = heading_error(int(Bearing), int(Heading));

motorSpeed1 = (motorSpeed - errorBH *2);

motorSpeed2 = (motorSpeed + errorBH *2);


int heading_error(int headGPS, int current_heading)


int error = current_heading - headGPS;

error = (error + 540)%360-180;

return error;


Habilidades: Arduino, GPS, A-GPS

Sobre o Cliente:
( 0 comentários ) Mikołów, Poland

ID do Projeto: #35921914

Concedido a:

(31 Comentários)

19 freelancers estão ofertando em média $141 nesse trabalho


Hello, I read your project description very well and it's very interesting to me, I have built drones already from scratch using Arduino, STM32 and esp32 projects when I used GPS for navigation. get to me inbox so that Mais

$100 USD in 7 dias
(12 Comentários)

I'll do Arduino programming & sensor interfacing Are you tired of programming? Leave this tedious task for me. I can do programming for your project. I have 1.5+ years of hands on experience with Arduino and making Mais

$100 USD in 3 dias
(20 Comentários)

Hi! I have understood your requirements about your project with every detail of it. I am an Electrical Engineer with more than 9 years of experience in electronics, circuit design, PCB layout, Verilog, FPGA, Embedded Mais

$250 USD in 7 dias
(3 Comentários)

Hello! As a skilled Automation Engineer and PhD, I have extensive experience in programming and working with Arduino boards and GPS modules. I understand the complexities of heading determination from GPS data and I am Mais

$150 USD in 4 dias
(11 Comentários)

Greetings thanks for posting the project there i am electrical engineer i have expertise in embedded systems, PCB designing and circuit designing. I can work on latest engineering tools to complete your task. In my exp Mais

$140 USD in 7 dias
(5 Comentários)

As an Electromechanical Engineer , I bid on your project because I have the expertise and experience to provide high quality work. I can achieve the results that you are asking for. So , respond to the offer so that we Mais

$120 USD in 2 dias
(3 Comentários)

Hey there! I'm a professional electrical engineer having more than 5 years of experience in arduino. I'll be waiting to hear back from you

$30 USD em 1 dia
(5 Comentários)

Hi, I am a professional mechatronics engineer and matlab expert .I'm here to help you with your project. I have more than 3 years working experience in this field. I am confident that I can deliver you best quality wor Mais

$250 USD in 7 dias
(1 Comentário)

I will give you the updated code that fixes a few issues with the original code you have tried . For example, the original code had a few typos and syntax errors. Additionally, i will improve the heading_error() funct Mais

$40 USD in 7 dias
(3 Comentários)

Hey ! I can help you out. I have designed the exact same system for vehicle. I designed data acquisition system for two wheeler. Thankyou

$40 USD in 7 dias
(0 Comentários)

I can do it. As 9+ years experiences in these field. I can give good quality work. I have read the guidelines of your work.I believe that i can provide you the best quality works you are anticipating from this platfrom Mais

$240 USD in 7 dias
(0 Comentários)