This kind of question should be asked on answers.ros.org so the answer can be voted on and so it shows up in web searches etc.

But the answer is that rviz shows image streams in whatever format they arrive in.  Getting the camera info and TF information correct just makes it so that the 3D stuff rendered along with the images lines up.  In your case, that will mean it is also upside-down.

If you want your image stream to be flipped, you'll need a node to read it in, flip it over, and republish it.  For that I recommend http://www.ros.org/wiki/image_rotate .

Now ask this on answers.ros.org and I'll re-answer it. :)

Dave

On Tue, Mar 13, 2012 at 1:03 AM, Sebastian Rockel <sebastian@rockel.cc> wrote:
Hi all,

We have mounted an Kinect (to be precise an Asus Xtion Live Pro) sensor up-side down onto our PR2. We added the appropriate config (camera frames) into the robot.xml (via the python script provided at the ROS wiki).
Furthermore the TF (rpy angles) were modified and it was verified that the point cloud was indeed at the right orientation (regarding the robot) with RViz.

Nevertheless the camera view (2D) in RViz is still up-side down. Does anyone have a clue why?

Cheers,
Sebastian
_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users