-
Notifications
You must be signed in to change notification settings - Fork 768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gazebo_ros_openni_kinect plugin with roll + pitch orientation generates wrong depth image #243
Comments
There is a good explanation of the problem and a possible workaround in ros answers |
Hi, I have the same problem. I'm using gazebo 4, ROS Indigo with Ubuntu 14.04. I would like to know if someone has tried to correct this bug. |
This is still a bug in Kinetic. I get incorrectly rotated point clouds. It seems like something is wrong with the coordinate systems, because moving the robot results in behavior like shown below. In these pictures, the camera is looking down at the bins. The point cloud is not displayed at the correct place. When the robot moves to the goal pose of the second picture, the point cloud rotates in more than one axis: Another shot with an extra movement: I assumed that the realsense camera URDF I am using is rotating the camera frames, and gazebo might not like that. The question posted by @j-rivero seems to imply as much. But removing all rotations from the camera's xacro so that the frames are oriented like this does not change the behavior: I wondered if it had something to do with Gazebo connecting the sensor to the wrist link, whose parent frame is not oriented like the camera, but even taking out the rotation from that did not fix it. In the last picture, all the frames on wrist_link_2 have the same orientation, and the camera is looking towards the right at the robot and wall. The projection is still not correct. Any ideas? |
Here is a possible fix: There are 3 approaches
All these solutions can be found here: |
The problem is probably because of a wrong depth image coming from gazebo, as explained here:
http://answers.gazebosim.org/question/7005/gazebo_ros_openni_kinect-plugin-with-roll-pitch/
I'm asking here because it's related with a plugin tough.
The text was updated successfully, but these errors were encountered: