xArm-Developer / xarm_ros

ROS packages for robotic products from UFACTORY
https://www.ufactory.cc/
BSD 3-Clause "New" or "Revised" License
220 stars 159 forks source link

How to use camera in simulation #233

Open ankitkumar-pi opened 4 months ago

ankitkumar-pi commented 4 months ago

I am trying to run xarm6_vacuum_gripper_moveit_gazebo.launch making

  <arg name="add_realsense_d435i" default="true" />
  <arg name="add_d435i_links" default="true" />

But when I am doing rostopic echo or trying to see the image from the camera on rviz I am not able to see anything. I would like to know how can I get the camera feed such that I can use it for different tasks.

penglongxiang commented 4 months ago

Hi @ankitkumar-pi, please try installing this plugin by downloading the source package to the same ros workspace and compiling the workspace again. It will support the realsense camera simulation in gazebo.