Ask Your Question

How to add third person follower in librviz.

asked 2019-02-19 00:09:08 -0500

iravi89 gravatar image

updated 2019-04-06 18:42:26 -0500

jayess gravatar image

HI , I am trying to add thridpersonfollower view with view controller in my application in base_link frame. I am new in using librviz and currently handling display in fixedframe of velodyne. I want to follow the bas_link frame with thirdperson follower view. i am trying to get currentviewcontroller from view manager as follows. Please suggest and solve me in getting the desired output.


manager_->getViewManager()->getCurrent()->setProperty("Target Frame", "base_link");
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-03-27 09:35:04 -0500

Julien Audet gravatar image

Instead of using :

manager_->getViewManager()->getCurrent()->setProperty("Target Frame", "base_link");

Try using :

manager_->getViewManager()->getCurrent()->subProp("Target Frame")->setValue("base_link");

I had the same problem for changing the current view controller distance. Hope it helps even if I'm too late.

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



Asked: 2019-02-19 00:09:08 -0500

Seen: 326 times

Last updated: Apr 06 '19