Ask Your Question

Revision history [back]

Hi,

yes the usual setup is to have rviz running locally because in this way one gets best responsiveness and no loss of data. I am successfully using ssh -X command. But to be honest it is not so responsive..... Other, platform independent, possibility is to use mplayer an nc. for server we are using (running on your computer):

while true
do
nc -l -p 9000 | mplayer -benchmark -cache 1000 -framedrop -fs -
done

Client (funning on your robot):

ffmpeg -f x11grab -s ${resolution} -framerate 18 -i :0.0+${offset} -c:v libx264 -preset veryfast -tune zerolatency -pix_fmt yuv444p -x264opts crf=20:vbv-maxrate=3000:vbv-bufsize=100:intra-refresh=1:slice-max-size=1500:keyint=30:ref=1 -threads `nproc` -f mpegts - | nc ${server_host} ${server_port}

If you want to "play" there is also Homebrew installation of ROS on mac. (s. here)