Hello forum,
I'm trying to do something which I'm finding to be above my current abilities. I need to set up a simulation of an irrigation center pivot on a Ubidots dashboard. I monitor center pivots with actual GPS monitors, but for debugging I need to come up with a simulated circular path, around a set center point and adjustable radius.
For the actual monitors I use an UNO connected to a NRO6 GPS module which uploads the GPS coordinates to the Ubidots server every few minutes where I have a widget set up that displays the current location on a map.
So for this debugging unit ideally I would be able to define the centre point like this:
static double centreLat = 13.301499, centreLon = 28.816740;
and then I need to define the specific radius, anything between 300 and 600 meters, and the code needs to generate the coordinates of the circle, one LAT / LON coordinate generated at set interval so I can upload it to my map widget in order to have a simulated center pivot doing its rounds.
Any pointers would be welcome!