Skip to content

OrsoEric/Maze-Runner-WebServer-MVP-Demo

Repository files navigation

Maze-Runner-WebServer-MVP-Demo

NODE.JS webserver hosted inside Maze Runner. It provides a webpage that allows remote control of Maze Runner through a browser

Step-By-Step configuration guide

Maze Runner MVP Demo

Dependencies

HW: Raspberry Pi 3B+
OS: Raspbian Stretch
SW:

  1. NODE.JS
    1.1) Socket.IO
    1.2) Websocket
  2. FFMPEG

Commands

execute the webserver in background to provide the webpage on the browser
pi@MazeRunner:~ $ node 2019-06-15-test-serial/demo.js &
execute the transcoder to stream the video
pi@MazeRunner:~ $ ffmpeg -f v4l2 -framerate 20 -video_size 640x480 -i /dev/video0 -f mpegts -codec:v mpeg1video -s 640x480 -b:v 600k -bf 0 http://localhost:8080/mystream

Features

  1. Stream video from USB camera on the raspberry to the webbrowser 640x480@20FPS@300mS
  2. Bidirectional real time control through websocket 7mS
  3. wasd operate the servomotors
    VIDEO of the MVP demo in action

Architecture

Architecture

Latency

Latency

About

NODE.JS webserver hosted inside Maze Runner. It provides a webpage that allows remote control of Maze Runner through a browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published