ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

new view controller in rviz (fixed to the center of the target frame): how to rotate with the frame?

asked 2013-08-23 08:10:53 -0600

brice rebsamen gravatar image

updated 2013-11-14 10:16:17 -0600

tfoote gravatar image

I wrote a new view controller for rviz. Heavily based on FPS, but cannot be translated, so that it stays attached to the target frame (I copied from FPS and suppressed the code related to translation).

I attach it to a frame inside the car (think base_link + offset), so that it gives a view from the drivers perspective.

But when the car turns, the camera does not turn with the car. I want it to be always aligned with the target frame, plus whatever yaw and pitch I give it with the mouse.

How to achieve that please?

edit retag flag offensive close merge delete


cool. Sadly I'm still using Fuerte... I'm planning to upgrade in a couple of months, I'll use your plugin then. Meanwhile I see if I can do some backport...

brice rebsamen gravatar image brice rebsamen  ( 2013-08-23 09:14:22 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-08-23 08:51:06 -0600

dgossow gravatar image

I recently wrote a view controller which does exactly that. It's part of the oculus plugin:

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-08-23 08:10:53 -0600

Seen: 1,321 times

Last updated: Nov 14 '13