rviz breaks ssh connection

asked 2023-03-01 12:27:46 -0600

Joni_07 gravatar image

updated 2023-03-01 12:29:19 -0600

Hey ROS-Community,

I have an orbbec astra pro deph camera and want to display its images on my rviz. I work on Ubuntu 18.04 with ros-melodic on my raspberry and also on my Virtual Maschine on my PC. I am connected to my raspberry pi over ssh and roscore is also hosted on my PC. I use the astra_camera node and after sourcing the ros_master file and the setup.bash file of my workspace I launch the astra.launch file.

PC:

roscore

Raspberry Pi 4 B:

. ~/ros_master
. ~/camer_ws/devel/setup.bash
roslaunch astra_camera astra.launch

It connects to the right ROS_MASTER_URI and I can start rviz on my PC (because the Raspberry isn´t connected to a screen) and when I click add I can see the topics of my astra_camera node: image description

After launching the astra.launch file I get two warnings saying:

[ WARN] [1677693992.477723843]: Publishing dynamic camera transforms (/tf) at 10 Hz
[ WARN] [1677693992.591493008]: Camera calibration file /home/ubuntu/.ros/camera_info/ir_camera.yaml not found.

As soon as I add any topic to rviz the ssh connection breakes and I get the output:

packet_write_wait: Connection to 192.168.0.193 port 22: Broken pipe

I am pretty new to ros and rviz so please ask if you need any further information. I hope you can help me to fix this problem.

edit retag flag offensive close merge delete