ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2014-08-06 22:58:32 -0500 | received badge | ● Student (source) |
2014-08-06 22:58:31 -0500 | received badge | ● Self-Learner (source) |
2014-08-06 22:58:31 -0500 | received badge | ● Teacher (source) |
2014-07-16 17:48:42 -0500 | received badge | ● Famous Question (source) |
2014-07-14 02:42:20 -0500 | received badge | ● Notable Question (source) |
2014-07-09 12:40:42 -0500 | received badge | ● Supporter (source) |
2014-07-09 12:39:52 -0500 | received badge | ● Enthusiast |
2014-07-09 01:49:57 -0500 | received badge | ● Popular Question (source) |
2014-07-08 16:43:15 -0500 | answered a question | Why would librviz (in Python) only sometimes read the config file? There was an issue with it not finding the correct path to the config.rviz file. I realized it when it worked in a terminal window that was in the package directory but not in one where it was not. Adding a launchfile that specifies the location of the file as a parameter fixes this problem. and in the init for the class we have |
2014-07-02 18:18:17 -0500 | asked a question | Why would librviz (in Python) only sometimes read the config file? I am using librviz in a GUI using python (PyQt/PySide) I started with the librviz tutorial (docs.ros.org/hydro/api/rviz_python_tutorial/html/) and was able to use my own config files to show the panels and views that I want. The problem is that it is extremely sporadic. I have tried:
When it doesn't work, it looks something like this (tutorial script + tutorial config file): Broken image- i.imgur.com/j1rlQsf.png) I note that it probably isn't reading the config file properly, because one of the first functions in the tutorial pulls from the file and changes the title, and it does not manage to even do that. When it is working (my code + my config): Working image: (i.imgur.com/nN7vKkF.png) |