rviz frame fails to load
I have created a Qt application that uses librviz to have a viewable rviz window inside the application. It works on the machine I programmed it on and a few others. However, when I try using it on the computer that has the back end code for our robot, the code hangs. I've tried changing the way it finds the path to the rviz config file, otherwise I have no clue what is wrong.
Code:
self.rvizFrame_cc = rviz.VisualizationFrame()
self.rvizFrame_cc.setSplashPath("")
self.rvizFrame_cc.initialize()
reader = rviz.YamlConfigReader()
config = rviz.Config()
reader.readFile(config, "pc_test.rviz") # completes this line
self.rvizFrame_cc.load(config) # hangs here
self.manager_cc = self.rvizFrame_cc.getManager()
self.layout_cc.addWidget(self.rvizFrame_cc)