Running Webviz on another machine

asked 2021-11-03 12:15:14 -0500

tortoise_catfish gravatar image

updated 2022-02-13 16:41:53 -0500

lucasw gravatar image

I'm running ROS noetic on my RPi 4 B+/B with Ubuntu 20.04. I would like to run webviz or rviz on my Mac receiving information from ROS nodes running on the Pi. Both my Pi and my Mac are on the same network.

I wasn't able to find any tutorials or resources setting webrviz up this way through rosbridge websocket. It'd be highly appreciated if anyone could point me to the right place for setting it up.

Thank you all in advance!!

edit retag flag offensive close merge delete

Comments

Have you considered just ssh to your rpi? You can do it from any computer and you will find lots of info on how to

osilva gravatar image osilva  ( 2021-11-03 12:39:08 -0500 )edit

Hi Osilva yes absolutely I've gone long past ssh-ing into my RPi. I have set up the RPi to run RVIZ and streaming the images of the desktop of my RPi to my Mac over X11VNC as Xorg doesn't interpret OpenGL packages.

What I would like to do now is to open up a port on the RPi (either http or rosbridge_websocket) for other devices on the network (i.e. my Mac) being able to see messages sent from the RPi and showing results on webviz running on my mac. I'm not thinking of running rviz on my RPi anymore.

This way less data will be sent on the network and will make simulation run smoother.

tortoise_catfish gravatar image tortoise_catfish  ( 2021-11-04 21:30:12 -0500 )edit

Hi @tortoise_catfish thank you for the clarification. Not sure if you have seen this application: https://github.com/cruise-automation/...

There is also a community that could help you out as well: https://github.com/cruise-automation/...

Using ROS with Mac -it's too general. Is ROS working already in your MAC? What OS are you using? For you questions is important to provide details and mention what have you tried so far, otherwise all we can do is guess.

osilva gravatar image osilva  ( 2021-11-05 07:03:02 -0500 )edit

@osilva Hey sorry for the late reply and thank you very much for your replies. I will check out the links you sent in your previous comment. I tried installing ROS on my Mac but I've got no luck unfortunately. I'm running catalina v10.15.7.

Like I mentioned earlier I've tried running x11vnc on my Pi and piping that over the network so I get to see the RVIZ running on the Pi on my Mac through a VNC viewer. I have tried running rosbridge websocket on my Pi in hope for Webviz picking it up but it seems to not want to connect. That's really all I have tried so far.

Thank you again. Really appreciate your comments.

tortoise_catfish gravatar image tortoise_catfish  ( 2021-11-10 09:49:55 -0500 )edit