rob42 / freeboard-installer Goto Github PK
View Code? Open in Web Editor NEWInstaller to aid in freeboard setup tasks.It loads the arduinos, calibrates the IMU, and converts charts.
License: GNU General Public License v3.0
Installer to aid in freeboard setup tasks.It loads the arduinos, calibrates the IMU, and converts charts.
License: GNU General Public License v3.0
Hello,
I try the map process with map from OpenSeaMap (ftp://ftp5.gwdg.de/pub/misc/openstreetmap/openseamap/chartbundles/kap/OSM-OpenCPN-KAP2-MediWest-20170118-0958.7z) and the process fail with:
InstalManager INFO run Processing F:\shared_linux\OSM-OpenCPN-KAP2-MediWest-20170118-0958\L10-368-520-8-24_1.kap
ProcessingPanel INFO process Processing F:\shared_linux\OSM-OpenCPN-KAP2-MediWest-20170118-0958\L10-368-520-8-24_1.kap
ChartProcessor INFO processKapChart Chart dir:F:\shared_linux\OSM-OpenCPN-KAP2-MediWest-20170118-0958\L10-368-520-8-24_1
InstalManager INFO run Elapsed time 0.011
For input string: "488281.25"
For input string: "488281.25"
For input string: "488281.25"
java.lang.NumberFormatException: For input string: "488281.25"java.lang.NumberFormatException: For input string: "488281.25"java.lang.NumberFormatException: For input string: "488281.25"
...
But it work with another .kap file.
Regards
Emmanuel
HI,
I'm not succeeding processing charts to install on the freeboard server and I think it is because of not (in part at least) having the cables connected in the right places.
The server is working correctly as far as I can tell locating itself with GPS correctly on the generic global map so next step is to get the charts processed.
Am connecting the Arduino and freeboard shield to a Linux Box running Elementary Linux. Arduino IDE launches and connects to another Mega 2560 and runs the sketch to make the LED flash.
On the Linux box when I run the freeboard-installer from the command line the install manager launches and I can select the NZ charts files BSB_ROOT unzipped from BSB_BASE.zip downloaded to the Linux box. Running that makes no change to the freeboard server however. Install manager prints:
InstalManager INFO run Processing /home/matthew/Downloads/NZ_Charts/BSB_ROOT/NZ 56/NZ5601.KAP
ProcessingPanel INFO process Processing /home/matthew/Downloads/NZ_Charts/BSB_ROOT/NZ 56/NZ5601.KAP
ChartProcessor INFO processKapChart Chart dir:/home/matthew/Downloads/NZ_Charts/BSB_ROOT/NZ 56/NZ5601
KAPParser INFO loadHeader skew = 0.0
Exception in thread "Thread-0" java.lang.NoSuchMethodError: org.apache.commons.io.FileUtils.writeStringToFile(Ljava/io/File;Ljava/lang/String;Ljava/nio/charset/Charset;)V
at org.signalk.maptools.KapProcessor.createTilePyramid(KapProcessor.java:162)
at nz.co.fortytwo.freeboard.installer.ChartProcessor.processKapChart(ChartProcessor.java:192)
at nz.co.fortytwo.freeboard.installer.ChartProcessor.processChart(ChartProcessor.java:109)
at nz.co.fortytwo.freeboard.installer.ProcessingPanel.process(ProcessingPanel.java:75)
at nz.co.fortytwo.freeboard.installer.InstalManager$ChartFileChooser$1.run(InstalManager.java:399)
Connections are as for picture below:
Grateful any advice re software and connecting cables when connecting to box/installing and for final installed operating mode.
I've added SignalK/signalk-server#240 but I'm not sure where this issue originates, in the node server or the installer:
So I have tested with different charts, and there seems to be a problem adding charts with special characters such as ö,ä,å,æ,ø in the names. I use freeboard-installer, with the ISO-8859-1 setting. The names seem ok in the resources/charts call, such as
{"1111_Översikt_Svenska_Sjökort_(2000)":{"identifier":"1111_Översikt_Svenska_Sjökort_(2000)","name":"Översikt Svenska Sjökort","description":"Översikt Svenska Sjökort","tilemapUrl":"/mapcache/1111_Översikt_Svenska_Sjökort_(2000)","scale":4000000}
And they appear to be named correctly in freeboard-sk listings, but do not appear when they should (right zoom level, activated etc)
Any charts without these characters are ok.
Is it possible there is an issue with ISO-8859-1 characters in general? I see from the commit history that both UFT-8 and ISO-8859-1 is supported here.
Hi,
We have a Seatalk wind instrument in the cockpit and a Garmin 400C fish finder operating on NMEA 0183 mainly used as a depth gauge and I'd like to connect them to Freeboard. If we have to set the jumper on Freeboard to one or t'other I'm thinking the depth info is probably simpler than wind info so I'll set the jumper for Seatalk and put in a converter for NMEA 0183 to Seatalk. Do I just go to Raymarine and ask for their converter or are their wrinkles?
Thanks,
Matt
Running the jar file on Ubuntu, Java 1.6.0_27, and JNA 3.2.7 results in the following error:
Exception in thread "AWT-EventQueue-2" java.lang.UnsatisfiedLinkError: Can't obtain updateLastError method for class com.sun.jna.Native
at com.sun.jna.Native.initIDs(Native Method)
at com.sun.jna.Native.(Native.java:136)
at com.sun.jna.NativeLong.(NativeLong.java:23)
at jtermios.linux.JTermiosImpl.(JTermiosImpl.java:71)
at jtermios.JTermios.(JTermios.java:288)
at purejavacomm.CommPortIdentifier$1.(CommPortIdentifier.java:189)
at purejavacomm.CommPortIdentifier.getPortIdentifiers(CommPortIdentifier.java:182)
at nz.co.fortytwo.freeboard.installer.InstalManager.(InstalManager.java:91)
at nz.co.fortytwo.freeboard.installer.InstalManager$6.run(InstalManager.java:363)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:673)
at java.awt.EventQueue.access$300(EventQueue.java:96)
at java.awt.EventQueue$2.run(EventQueue.java:634)
at java.awt.EventQueue$2.run(EventQueue.java:632)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:108)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:643)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
No error when passing "-Djna.nosys=true" to the JVM. I think the issue may be caused by the version of JNA in the Ubuntu repos being outdated. Any insights would be appreciated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.