Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

RealSense Camera Appears in Gazebo but not in Rviz

I am following https://github.com/SyrianSpock/realsense_gazebo_plugin 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/

SUMMARY
========

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

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

ROS_MASTER_URI=http://localhost:11311

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