Skip to content

Visualization for the augmented sandbox coupled with Delft3D Flexible Mesh

License

Notifications You must be signed in to change notification settings

jurjendejong/sandbox-fm

 
 

Repository files navigation

Sandbox Delft3D Flexible Mesh

Documentation Status Updates

Sandbox combined with a Delft3D Flexbile Mesh simulation

Install

After you have created a sandbox you can hook up the software. Before you can use the software you have to install some prerequisites. These include the following packages: * python (tested with 2.7 and 3.5)

You preferably want to install these from the package manager (tested with ubuntu and osx + macports): * libfreenect (available by default in linux and there are instructions for use with .. _macports: macports, make sure you build the python bindings, it is also available in homebrew) * opencv (available in linux and osx (macports/homebrew)

Several python libraries: * pip install -r requirements.txt

Windows Install

  • Download anaconda (3.5)
  • Install git
  • Start the anaconda command window (from your start menu)
  • Download the source code (git clone git@github.com:openearth/sandbox-fm.git)
  • Update anaconda: conda update conda
  • Create an environment: conda create --name main python=3
  • Activate the new environment activate main
  • Install development dependencies pip install -r requirements_dev.txt
  • Install dependencies pip install -r requirements.txt
  • Install the sandbox-fm software in develop mode pip install -e . (from the sandbox-fm directory)
  • Make sure the dflowfm.dll is somewhere in your PATH

Running

sandbox-fm --help sandbox-fm calibrate calibrate the sandbox by selecting a quad in the box, a quad in the model and a high and low point. sandbox-fm record record 10 frames, for testing sandbox-fm run run the sandbox program. sandbox-fm view view raw kinect images

Calibration

Calibration transforms between the different quads.

  • Photo from kinect (video)
  • Depth from kinect (img)
  • Beamer (box, default 640x480)
  • Model extract (model)

In the top left window select the extent of the beamer. In the top right window select a corresponding extent in the model. In the bottom left model select a low and a high point. Press [ENTER]. Done.

Features

  • TODO

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

About

Visualization for the augmented sandbox coupled with Delft3D Flexible Mesh

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 96.8%
  • Python 3.1%
  • Other 0.1%