GPS integration & W...
 
Notifications
Clear all

GPS integration & Way point navigation

3 Posts
2 Users
0 Likes
1,406 Views
Alba Tito
(@alba-tito)
Member
Joined: 4 years ago
Posts: 3
Topic starter  

i am doing a bunch of projects where GPS is involved. one being JPLs open source rover. I have been doing a lot of research on the internet. The information is out there but nothing as well put together as a DroneBot workshop production. I am trying to integrate GPS and have the rover drive to way points. lately i am feeling stuck in the mud, perhaps i am overwhelmed by all the information. I was trying to avoid using ardupilot and pixhawk boards to keep the cost lower. I  would like to be able to share this where people could produce this unit for under 200$. I have started producing a 3D printable body for the rover, full and half scale version. With computers, other electronic components, and all the PLA, the bot costs around 150$.  the GO Pi GO  Git Hub page has some pretty good stuff. I would like to use Arduino as a slave to Raspberry PI but there seems to be about 100 ways to do that. I watched a lot of the i2c videos. Those videos were great and i think i2c might be the way to go. I really have no idea though. Thank you for your time

This topic was modified 4 years ago by Alba Tito

"And the days that I keep my gratitude higher than my expectations
Well, I have really good days" Mother Blues ~ Ray Wylie Hubbard


   
Quote
byron
(@byron)
No Title
Joined: 5 years ago
Posts: 1121
 

@alba-tito

Your project seems a bit like one I started a while back, but put it on hold as my time is now taken up with a house conversion project. (and at my current rate of progress I will not get back to it for another year 🙁 ). So this will not be much help but I will give a few observations for what they are worth as your research and knowledge is probably more advanced anyway.

Firstly normal GPS is only accurate to with a few meters. This may be enough for you, but for me I wanted centimetre accuracy. This can be done (differential GPS etc) but the expense starts rise quite a lot and at this point my project was put on hold.

From two known GPS co-ordinates a compass bearing can be calculated. However for an outdoor rover robot (and I assume outdoors as GPS is no good for indoors) to be kept on track using encoders or a compass sensor etc (some sort of PID) is not really going to work assuming a variety of rough surfaces as the rover will get bounced about quite a bit (this technique is ok for smooth surfaces) and just bringing the bot back to the original bearing will mean it will probably miss the target point by quite a bit. The way to navigate the rover will be to constantly check its current GPS co-ordinates, and make a new bearing calculation for the bot to follow.

For a flying drone a few metres will not not matter much and they can fly to way points and return the the start where they then can use some sort of object recognition via its camera, like a landing circle on the ground, to make an accurate landing. You could incorporate and object recognising camera such as a Pixy2 into you design to work alongside the GPS.

To find the co-ordinates of the desired way-points you could take a reading from you GPS sensor when placed on the way-point point, or look up the GPS co-ordinates using google maps.

For Arduino to Rpi communications there are indeed a host of ways to go, but the i2c route is a good one to use for its low power requirements and if the boards are in close proximity. See the dronebots info on this where Bill is having to use i2c boosters as his boards are not so close. I would probably use the CAN bus instead instead of i2c boosters, but I would need to research this a bit more. I used serial communications for my bot that had an arduino and a Rpi, but this was just for a prototype and I will probably use i2c or a CAN bus depending on the size of my bot. Indeed the larger the bot, the bigger the battery, and the more options you will have.

OK these thoughts are just what comes to mind off the top of my head in my tea break. Good luck with your project and I would be very interested to see how you make out. Keep some project updates coming.


   
ReplyQuote
Alba Tito
(@alba-tito)
Member
Joined: 4 years ago
Posts: 3
Topic starter  

@byron

thank you for the advice it is very helpful. 

"And the days that I keep my gratitude higher than my expectations
Well, I have really good days" Mother Blues ~ Ray Wylie Hubbard


   
ReplyQuote