Kinect camera not working after delete model and respawn model [closed]

asked 2018-05-22 18:29:44 -0600

gtsimonxu gravatar image

Hi all,

I want to use different camera pose to take pictures of also different objects with different poses in gazebo. The problem is that after I deleted the kinect_ros model and respawned it with another different pose, the rgb image is all grey. I am assuming this is because not complete delete of camera model. And I found that the camera frame is actually different from the visual model frame since I tried to not delete the model but use set_model_state to change camera pose. However the camera will get the same pics even the pose of the visual model has already changed.

Thanks in advance for any help.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by gtsimonxu
close date 2018-05-30 09:41:55.068374


Since the symptoms could point to a bug, It could be more useful to ask in the gazebo_ros_pkgs repository . Before this, I would recommend to use a from source installation of gazebo_ros_pkgs (there are fixes waiting for a new round of pkgs). For the next time, please include the version of gazebo, ROS and Linux that you are using. Ideally detailed steps to reproduce the bug.

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2018-05-30 08:56:59 -0600 )edit