Robotics StackExchange | Archived questions

Kinect camera not working after delete model and respawn model

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 kinectros 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 setmodel_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.

Asked by gtsimonxu on 2018-05-22 18:29:44 UTC

Comments

Since the symptoms could point to a bug, It could be more useful to ask in the gazebo_ros_pkgs repository https://github.com/ros-simulation/gazebo_ros_pkgs/issues . 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.

Asked by Jose Luis Rivero on 2018-05-30 08:56:59 UTC

Answers