NODE.JS webserver hosted inside Maze Runner. It provides a webpage that allows remote control of Maze Runner through a browser
HW: Raspberry Pi 3B+
OS: Raspbian Stretch
SW:
- NODE.JS
1.1) Socket.IO
1.2) Websocket - FFMPEG
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
- Stream video from USB camera on the raspberry to the webbrowser 640x480@20FPS@300mS
- Bidirectional real time control through websocket 7mS
- wasd operate the servomotors
VIDEO of the MVP demo in action