Open rebeccaRossRobotics opened 1 year ago
myviz.cpp.obj:-1: error: LNK2019: 无法解析的外部符号 "public: cdecl rviz_common::VisualizationManager::VisualizationManager(class rviz_common::RenderPanel ,class std::weak_ptr
I tried this repo (https://github.com/mjeronimo/rviz_embed_test).He can compile, but the rviz embedding module inside does not support mouse operations (zoom in, zoom out, rotate). I have checked the rviz code in rviz box and the function call order is consistent with that in this repo. Can you provide a solution?
Hi,
I'm currently trying to get an RViz view into a custom QT C++ GUI as a dock widget. I followed the example from this repository and have managed to get RViz into a QWidget and is working as expected. When I put that widget into a QDockWidget everything works as expected until I move that dock widget on top of another dock widget. Below shows some pictures of the issue for context.
This repo contains my QT project and code. To reproduce the issue, go to the gui_ws fold, build everything with
colcon build
, source the workspace and then run withros2 run gui gui
. Once open drag the RViz dock on top of one of the other docks.Does anyone know why this is happening? And if possible how to fix it?
Thanks Rebecca
I tried this repo (https://github.com/mjeronimo/rviz_embed_test).He can compile, but the rviz embedding module inside does not support mouse operations (zoom in, zoom out, rotate). I have checked the rviz code in rviz box and the function call order is consistent with that in this repo. Can you provide a solution?
Hi, I'm currently trying to get an RViz view into a custom QT C++ GUI as a dock widget. I followed the example from this repository and have managed to get RViz into a QWidget and is working as expected. When I put that widget into a QDockWidget everything works as expected until I move that dock widget on top of another dock widget. Below shows some pictures of the issue for context. This repo contains my QT project and code. To reproduce the issue, go to the gui_ws fold, build everything with
colcon build
, source the workspace and then run withros2 run gui gui
. Once open drag the RViz dock on top of one of the other docks. Does anyone know why this is happening? And if possible how to fix it? Thanks Rebecca
did you get the solution for this? if yes please help me out with the solution
rvizcommon::ToolManager* toolManager = manager->getToolManager(); //the default plugins init error by default code.need to change source code auto plugins = toolManager->getFactory()->getDeclaredPlugins(); for(auto plugin:plugins) { toolManager->addTool(plugin); } toolManager->setCurrentTool(toolManager->getTool(1)); toolManager->setDefaultTool(toolManager->getTool(1));
should add tool plugins by self , because the manager initialize function failed to add those tools. i thought this is because of the code was't update. my brach is humble,and there also have many other errors can't resolve now
Hi,
I'm currently trying to get an RViz view into a custom QT C++ GUI as a dock widget. I followed the example from this repository and have managed to get RViz into a QWidget and is working as expected. When I put that widget into a QDockWidget everything works as expected until I move that dock widget on top of another dock widget. Below shows some pictures of the issue for context.
This repo contains my QT project and code. To reproduce the issue, go to the gui_ws fold, build everything with
colcon build
, source the workspace and then run withros2 run gui gui
. Once open drag the RViz dock on top of one of the other docks.Does anyone know why this is happening? And if possible how to fix it?
Thanks Rebecca