RealSense Camera Appears in Gazebo but not in Rviz

asked 2021-11-21 17:42:12 -0600

ehiga gravatar image

I am following and am able to see the real sense camera in Gazebo when running "roslaunch realsense_gazebo_plugin realsense.launch # in terminal 1" and able to run "roslaunch realsense_gazebo_plugin depth_proc.launch # in terminal 2". However, when I run Rviz I am not able to see the camera nor the /realsense topics. It seems like the nodes are being published:

root@a47b0335487b:/realsense_gazebo_plugin# roslaunch launch/depth_proc.launch
... logging to /root/.ros/log/147230a6-4b23-11ec-bd04-0242ac110002/roslaunch-a47b0335487b-5065.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://a47b0335487b:40265/


 * /rosdistro: noetic
 * /rosversion: 1.15.9
 * /use_sim_time: True

    convert_metric (nodelet/nodelet)
    points_xyzrgb (nodelet/nodelet)
    standalone_nodelet (nodelet/nodelet)


process[standalone_nodelet-1]: started with pid [5079]
process[convert_metric-2]: started with pid [5080]
process[points_xyzrgb-3]: started with pid [5081]
[ INFO] [1637537468.665110200]: Initializing nodelet with 8 worker threads.

Is there a way to make my rviz connect to these nodes? Thank you

edit retag flag offensive close merge delete


Are the Gazebo nodes running when you start up Rviz? Did you add the Displays in Rviz that should show the camera and image/pointcloud? It's not clear to me what you mean by "making Rviz connect to these nodes". Rviz displays typically consume information published to topics. They don't connect to other nodes directly.

felixvd gravatar imagefelixvd ( 2021-11-23 18:49:18 -0600 )edit