Boat Design Forums  |  Boat Design Directory  |  Boat Design Gallery  |  Boat Design Book Store  |  Thanks to Our Site Sponsors

Go Back   Boat Design Forums > Design > OnBoard Electronics & Controls
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-04-2008, 11:50 PM
tspeer tspeer is offline
Senior Member
 
Join Date: Feb 2002
Rep: 1395 Posts: 1,537
Location: Des Moines, Washington, USA
Open Source Marine Plotting

Quote:
Originally Posted by Tim B View Post
...I have done the satellite view as well now, but there are still a few (minor) bugs. I think these are in the NMEA routine though.

However, It's hard to tell whether it was the code, or the GPS, as the usb connection on the back of the GPS was not good.

I have also implemented safe/warn/danger markings on the gauges, and added the signals for their full functionality. There are also some rectangular gauges now, but they are only very simple. ...
I thought I'd spin this discussion off onto another thread.

I think you're doing great work, developing some clear and crisp widgets and essential low-level capabilities. But I have some questions that I didn't see the answers to on your web site. I know this sounds a bit pedantic, but please bear with me.

To use a sailing analogy, I know the mark is up there to windward somewhere, but I don't see quite where we're going. I'm sure you have a basic idea in mind of what the program is all going to be like. Have you written down just what this software is supposed to do?
__________________
Tom Speer
Reply With Quote
  #2  
Old 04-06-2008, 03:51 PM
Tim B Tim B is offline
Senior Member
 
Join Date: Jan 2003
Rep: 794 Posts: 1,407
Location: Southern England
A road-map would be a good idea, I admit. At the moment I'm trying to get the bits to hold together in a vaguely coherent manner. It is a good point, and it is one that I will be addressing.

Of course, if anyone wants to suggest functions that should be in it, then I'll put them in.

Cheers,

Tim B.
__________________
Open Source Marine Charting - openpilot.sourceforge.net
Open Source Vessel Dynamics opendynamics.engineering.selfip.org
Reply With Quote
  #3  
Old 05-10-2008, 12:53 PM
Tim B Tim B is offline
Senior Member
 
Join Date: Jan 2003
Rep: 794 Posts: 1,407
Location: Southern England
Well, I thought it was about time I should raise my head above the parapit with some new screenshots from OpenPilot. I have progressed quite a way with it, the primary new features being:

Multiple Web-based AIS servers.
Better configuration (via a simple xml file)
Map now has projection (sinusoidal earth model)
You can pan and zoom on the map
You can set the tail length on individual vessels
You can log your GPS track to a file (and soon will be able to for AIS Data)

Screenshot (showing mapping widget only) is below...

Hopefully I can get an ENC Chart of the English Channel/Solent, then I can start to put the whole mapping system together.

Cheers for now,

Tim B.
Attached Thumbnails
Open Source Marine Plotting-screenshot11.jpg  
__________________
Open Source Marine Charting - openpilot.sourceforge.net
Open Source Vessel Dynamics opendynamics.engineering.selfip.org
Reply With Quote
  #4  
Old 05-11-2008, 12:06 AM
tspeer tspeer is offline
Senior Member
 
Join Date: Feb 2002
Rep: 1395 Posts: 1,537
Location: Des Moines, Washington, USA
You're definitely making progress!

Will your software be able to accept a NMEA data stream saved as, say, a .csv file and plot it?
__________________
Tom Speer
Reply With Quote
  #5  
Old 05-11-2008, 02:20 AM
Tim B Tim B is offline
Senior Member
 
Join Date: Jan 2003
Rep: 794 Posts: 1,407
Location: Southern England
Not at present, but that would not be hard to add (about 20 minutes work :-) ) I'll add it this morning. At the moment, the software just takes a string and parses it, thus producing data. All that needs to be done is to grab the string from a file instead of from the serial port. In fact the code will read something like:

int NMEA::loadFromFile(QString filename){
int i;
FILE *input;
char line[1024];
input=fopen(filename.toAscii().data(),"r");
if (input=='\0'){
printf("Cannot Open File - %s\n",filename.toAscii().data());
return 2;
}
for (i=0;feof(input)==0;i++){
fgets(line,1024,input);
parseData(line);
}
fclose(input);
return 0;
}

Oh, hang on, that's an extract from the NMEA class... looks like it can do it now!!!

By the way, Tom, Macs are so close to BSD/Linux that you shouldn't have any trouble compiling and running the code. You may have to define "unix" in the *.pro file, to keep the platform-specific code.

I'm more concerned at present about getting the map widget to compile under windows.

Cheers,

Tim B.
__________________
Open Source Marine Charting - openpilot.sourceforge.net
Open Source Vessel Dynamics opendynamics.engineering.selfip.org
Reply With Quote
  #6  
Old 05-14-2008, 08:20 AM
Tim B Tim B is offline
Senior Member
 
Join Date: Jan 2003
Rep: 794 Posts: 1,407
Location: Southern England
I have now got the map widget to compile under Win32!! it's not particularly easy, but I will be preparing instructions soon (hopefully this weekend) for anyone who is brave enough to try it.

Writing the Roadmap and documentation for all the widgets are the next two important jobs.

Requests for features are very welcome!

Cheers,

Tim B.
__________________
Open Source Marine Charting - openpilot.sourceforge.net
Open Source Vessel Dynamics opendynamics.engineering.selfip.org
Reply With Quote
  #7  
Old 07-20-2008, 10:36 AM
Tim B Tim B is offline
Senior Member
 
Join Date: Jan 2003
Rep: 794 Posts: 1,407
Location: Southern England
Ladies and Gentlemen,

I have been working fairly hard on OpenPilot over the last few months (well, when I haven't been out drinking!).

I have primarily been working on the mapping widget (which is now 2304 lines of code in total). I have added a few options in the xml settings file to control projection and appearance. I have also finished re-writing the projection and plotting routines.

More importantly, we not have the start of grib support. At present there is only support for wind layers, but it's a start. The Grib support relies on the latest snapshots of the GDAL libraries. By chance, this also speeds up loading ENC charts.

The next major job will be documenting everything (and yes, I know I've been saying that for months!!) I seriously hope now that a few people will want to join the project as developers.

Code snapshots will be available tonight.

Feature requests are, as always, very welcome.

Cheers All,

Tim B.
__________________
Open Source Marine Charting - openpilot.sourceforge.net
Open Source Vessel Dynamics opendynamics.engineering.selfip.org
Reply With Quote
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Open Source F1/SST45 Tunnel Hull Design HaroldGhent Projects & Proposals 12 08-08-2010 09:25 PM
Marine Parts Source Miguel Martinez Marketplace 0 11-26-2007 11:01 AM
Why the aren't boat design comunity like open source programing? or is...? tamkvaitis Projects & Proposals 80 12-16-2006 03:50 PM
Open Source Marine Design Package Kickoff roskilde Software 11 11-20-2006 06:59 AM
Patents, Trademarks, Great Ideas, Open Source etc. asathor Boat Design 7 03-17-2005 01:37 AM


All times are GMT -5. The time now is 12:52 PM.


Powered by: vBulletin Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Web Site Design and Content Copyright ©1999 - 2012 Boat Design Net