AgOpenGPS - Open source software

I know there are a few DIY GPS discussions going on so i thought i'd add one more. A quick video about AgOpenGPS which is a working guidance and up to 5 section control - software only so far. I'll be putting it up on GitHub as soon as I can, along with all the source code once i make sure it is GNU Public (not copyrighted). The application and source code will be free for anyone who wants it. It runs on Windows , is a 32 bit application, and is written in C# and graphics are handled by OpenGL. It uses the basic NMEA string from any GPS unit.

Good discussion here about some of the technical details http://www.thecombineforum.com/forums/31-technology/278810-agopengps.html

Video is a bit slow, I only had a 1 hz simulator. but it shows what it can do so far. Section control is extremely accurate. Using a 5 or 10hz antenna it is super smooth.

I would hope others post their code and share what they have learned so far, its time for many of us to work together and be able to learn new ways to accomplish many of the processes of precision Ag. That's always the goal of open source.

 
The code and application are on GitHub. Give it a try.

https://github.com/farmerbriantee/AgOpenGPS

Installation isn't required, just run it right from the directory. It will create a fields directory in your MyDocuments and the setting file is created in AppData\Low\AgOpenGPS\

It will say COM99 doesn't exist and you should change in settings. Hit ok and it will run. Note, it won't do anything till you feed it an NMEA signal containing RMC. Almost any antenna/GPS receiver will work.

Source code is in the Source directory, obviously. Enjoy.
 

aortner

New Member
i have writen a sketch for arduino for section control. at the moment it works with cerea. it needs only a string from the com port and can switch between 2-7 sections automatic.

andreas
 
What does the string that is coming from the cerea contain? Does the cerea do all the mapping and your arduino translate the on offs for booms? Will you share your code?

I've got the arduino hooked to AgOpenGPS and code done and will be posting on github soon. The more people share ideas, the better we can all do projects like these.
 

aortner

New Member
hi! will translate my comments in arduino sketch to english and will share the code with you/github.
i send it to you asap.

cerea to all the mapping and arduino swiches to booms.

the command from arduino is like this @cerea;(gpsspeed);0/1 for boom on or off;....... ;END;/R/N
 
Wow time really flies, haven't posted here in a while.

So AgOpenGPS controlled all our seeded acres this year and has really continued to develop. Many new features and streamlining the interface. Just thought i would let you know the project hasn't fizzled out, rather the opposite.

Many people from around the world are working on autosteer using everything from PID to full fuzzy logic neural net computing. Pretty exciting to see where free and open source software can go in Ag.

Available on Github: https://github.com/farmerbriantee/AgOpenGPS

See the videos, here we are seeding into unharvested flax.


v2.14 May 15
*
* June....
* Added boundary
* Fixed section, area, boundary triggers
* section going backwards turn off working much better
* NMEA log actually saving all incoming sentences
* boundary area displayed in status bar
* boundary has its own file for save/resume
* most classes have their own reset/delete functions now.
*
* File saving now done as appending rather then completely rewriting file
* File saves are text files, again. Binary was efficient, but what a pita
* Enlarged the buttons and most display values
* Resettable acre trip counter
* Error checking when loading fields
* UTM offsets are loaded when starting a new field and never changed again
* Resume button tells which field you are resuming
* Menu drawer for quick use buttons
* Alarm for trip acres
* Acres per hour status value
*

v2.13 April 15
*
* In communication, can turn on or off UDP and TCP servers
* Full Metric Imperial
* AirSeeder style hitch, double pivot position
* AutoSteerModule gets relay info, 1 module can do everything
* Turn sky on off
* PID Autosteer dialog allows adjustment of parameters on the fly and saves them
* Super Mario size the buttons, u/d counters etc
* Offset works, along with guidance
* fixed PI/2 and 2Pi constants
* fixed Snap, was in mm not cm
* Small bugs fixed

v2.1 March 2017
*
* NMEA Logging capability
* BNO055 IMU drivers for angular velocity, roll, pitch
* tilt and roll GPS compensation
* completely functional with or without IMU or relays connected, no setup reqd
* ability to set low speed section turn off
* Parse to tryParse - much faster code for all parsing
* 30 % frame speed improvements by reducing multiple OpenGLreadpixel calls
into a single.
* section minimum distance trigger no longer affected by turnOn time.
* very peculiar bug caused the sections to turn on at 26 km/hr. Individual section lookaheads
had no limits set causing overflow
* Program will now do lookahead successfully up to 36 km/hr. Sufficient for agriculture.
* Will map at any speed, sufficient for aircraft speeds.
* various bug fixes as usual
 

holwellcourtfarm

Member
Livestock Farmer
Lots of guys have been using it in the field and seems to work peachy. Latest video, rolling peas in hilly land. Tilt compensation as well as implement draft compensation working great. Full autonomous headland turns operation once headlands are set, just sleep for a few hours in the cab and wake up when its done. No operator interaction required.

Do you mind sharing your component lists?

How complicated wad it to set up?
 

clbarclay

Member
Location
Worcestershire
When spraying or fert spreading using tramlines, will the auto turn function currently do neat turns at the headland, keeping to the headland tramline and minimising the ammount of crop run down?

All the auto turn demos I can recall were shown with tractors doing cultivations rather than working in a growing crop. In your last video, it looked like the tractor should have carried on to the the far headland to cover the whole field.
 
I'm considering giving Agopengps a try (initially just for fertiliser spreading - it's never easy doing the spreading between silage cuts :unsure: - but maybe for other jobs as I learn what I'm doing).

Would this antenna be suitable?
https://www.amazon.co.uk/Channel-Ma...UTF8&qid=1549806025&sr=1-22&keywords=Evermore
Or can anyone recommend something more suitable?
I've already got a Microsoft Surface Pro which I think should handle the software side of things.
 
I'd also be really interested to see how you guys have mounted your hardware on/in the tractor. I'm needing a bit of inspiration for mounting the tablet in the cab (y)
 
Tags
seed

SFI - What % were you taking out of production?

  • 0 %

    Votes: 102 41.5%
  • Up to 25%

    Votes: 90 36.6%
  • 25-50%

    Votes: 36 14.6%
  • 50-75%

    Votes: 5 2.0%
  • 75-100%

    Votes: 3 1.2%
  • 100% I’ve had enough of farming!

    Votes: 10 4.1%

May Event: The most profitable farm diversification strategy 2024 - Mobile Data Centres

  • 828
  • 13
With just a internet connection and a plug socket you too can join over 70 farms currently earning up to £1.27 ppkw ~ 201% ROI

Register Here: https://www.eventbrite.com/e/the-mo...2024-mobile-data-centres-tickets-871045770347

Tuesday, May 21 · 10am - 2pm GMT+1

Location: Village Hotel Bury, Rochdale Road, Bury, BL9 7BQ

The Farming Forum has teamed up with the award winning hardware manufacturer Easy Compute to bring you an educational talk about how AI and blockchain technology is helping farmers to diversify their land.

Over the past 7 years, Easy Compute have been working with farmers, agricultural businesses, and renewable energy farms all across the UK to help turn leftover space into mini data centres. With...
Top