Coder Social home page Coder Social logo

auroracg36 / freeboard-installer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rob42/freeboard-installer

0.0 1.0 0.0 21.15 MB

Installer to aid in freeboard setup tasks.It loads the arduinos, calibrates the IMU, and converts charts.

License: GNU General Public License v3.0

Java 43.10% Python 56.75% Shell 0.15%

freeboard-installer's Introduction

##Freeboard Installer

Installer to aid in freeboard setup tasks. It loads the arduinos, calibrates the IMU, and converts charts.

###Basic installation process is:

Download and install the current Arduino IDE from http://http://arduino.cc/en/Main/Software.

Install in a directory that does NOT have spaces!! (Same for all the freeboard software)

Download the freeboard-installer.jar (above) into a suitable directory

###To install software onto your Arduino:

Download the HEX files for your Arduino Mega (https://github.com/rob42/FreeboardMega/blob/master/Release1280/FreeboardMega.hex for Mega 1280, https://github.com/rob42/FreeboardMega/blob/master/Release2560/FreeboardMega.hex for 2560)

Download the ArduIMU hex file (https://github.com/rob42/FreeIMU-20121106_1323/blob/master/FreeBoardIMU/target/FreeBoardIMU.cpp.hex)

Plug in your Mega or ArduIMU

Start the freeboard-installer: * You may be able to double-click the jar file OR * from the command line: "java -Xmx2048m -jar freeboard-installer.jar"

NOTE: The image processing uses a LOT of memory. By default java will probably assign too little, resulting in OutOfMemeory errors. The -Xmx2048m in the command line above assigns 2Gb, which works for me. If thats not enogh, try -Xmx4096m. Fairly obviously chart processing is not going to work on a system with 1Gb of RAM....

Follow the notes on each tab

###For charts, You no longer need gdal installed on you PC.!

Start the freeboard-installer:
* You may be able to double-click the jar file
OR
* from the command line: "java -jar freeboard-installer.jar"   

Go to the chart tab, select your .kap chart file, and process. The right-hand window will show the progress and a directory will be created with the mapping tiles etc. There is a zip file of this directory also created which will be moved to the RaspberryPi.

You can go to the newly created directory and open the 'openlayers.html' file in a web browser. You should be able to see you newly created chart, but you may have to zoom in to the correct area if its a small chart.

Copy the yourMap zip file to your raspberry pi, and unzip in the same mapcache directory, so the result is:

/home/pi/freeboard/mapcache/NZ46/...

Restart freeboard to use the new chart.

Your chart should be available in the chart list (top-right button of chartplotter) Select the 'Charts' tab and move you charts to the right-hand box.

IMPORTANT: Select "Home" if your Pi is connected to your home network, and 'Boat' if your pi is running on a stand-alone network, eg in your boat.

Save, and reload/refresh you browser page

If you see the 'Processing' message forever..., then you need to choose 'Home'. ('Boat' is much faster but has DNS issues on home networks.)

Feedback welcome:-)

freeboard-installer's People

Contributors

rob42 avatar rberliner avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.