We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've modified myviz.cpp here https://github.com/lucasw/visualization_tutorials/tree/set-view-controller-test and using a custom view controller appears to work as far as rendering the grid from a default location, but the mouse is unable to rotate or translate the view.
Is there something else I need to do to hook up the mouse? Is it still owned by the old default view controller somehow?
Also on answers: http://answers.ros.org/question/256100/rviz-setviewcontroller-doesnt-hook-up-mouse-events
The text was updated successfully, but these errors were encountered:
ros-visualization#36 finally figured out to use view manager rather t…
6bf1211
…han setViewController
The solution is to use view manager setCurrentViewControllerType
setCurrentViewControllerType
manager_ = new rviz::VisualizationManager( render_panel_ ); render_panel_->initialize( manager_->getSceneManager(), manager_ ); manager_->initialize(); manager_->startUpdate(); QString class_id = "rviz/Orbit"; manager_->getViewManager()->setCurrentViewControllerType(class_id);
Sorry, something went wrong.
Glad to see you figured it out, and thanks for documenting what you did!
No branches or pull requests
I've modified myviz.cpp here https://github.com/lucasw/visualization_tutorials/tree/set-view-controller-test and using a custom view controller appears to work as far as rendering the grid from a default location, but the mouse is unable to rotate or translate the view.
Is there something else I need to do to hook up the mouse? Is it still owned by the old default view controller somehow?
Also on answers: http://answers.ros.org/question/256100/rviz-setviewcontroller-doesnt-hook-up-mouse-events
The text was updated successfully, but these errors were encountered: