I reproduced the same environment in my local computer, the main change is the configuration of the MJPEGCANVAS.Viewer
, since our student platform has specific configurations.
Try this one:
setCamera: function() {
let host = 'localhost:8080'
let viewer = new MJPEGCANVAS.Viewer({
divID: 'divCamera',
host: host,
width: 320,
height: 240,
topic: '/camera/rgb/image_raw',
ssl: false,
})
},
Check the video attached to see how I launched the local environment, Iām using Turtlebot 3 waffle to have a camera working.