Skip to content

pptacher/fastslam_web

Repository files navigation

fastslam_web

Experimental fastslam algorithm web application. C++ application is running asynchronously, streaming particles positions to node.js server. Data is forwarded to client through socket.

I deployed the fastslam nodejs/c++ app on google cloud here (server running from 0000 to 0800 UTC).

Installation

To deploy locally:

  1. Install Docker on your machine.

  2. Clone the repository

git clone https://github.com/pptacher/fastslam_web.git
  1. Go to the root of the repository
cd fastslam_web
  1. Build the docker image
docker build --tag=fastslam .
  1. Run it
docker run -p 3000:3000 fastslam
  1. Navigate to http://localhost:3000. If you use Docker through Linux virtual machine (MacOS), you may have to access the web app with something like 192.168.99.100:3000.

See also the Docker cheat sheet.