Rviz in a Virtual machine VM process died - initially using hector_slam kinetic Ubuntu 16.04 virtual box 5
Hi,
I'm having trouble with the Hector_slam tutorials, i'm running ROS Kinetic on Ubuntu 16.04.
When i try and run the launch file i get the following:
[rviz-1] process has died [pid 2487, exit code -11, cmd /opt/ros/kinetic/lib/rviz/rviz -d /opt/ros/kinetic/share/hector_slam_launch/rviz_cfg/mapping_demo.rviz __name:=rviz __log:=/home/ben/.ros/log/a7183d30-e320-11e6-a7a4-0800279fda91/rviz-1.log].
log file: /home/ben/.ros/log/a7183d30-e320-11e6-a7a4-0800279fda91/rviz-1*.log
I have no idea why it failed, and even though it generated a log file, it didn't actually write anything to it, as when i open the associated file with a text editor, it's blank.
Any help would be appreciated. Thanks, Ben
Please tell us what platform this is, and how you installed ROS. From your other questions I gather this could be a raspberry pi, which could be important.
Hi, Ubuntu 16.04 running in Virtual box 5.0.30 on a mac. No raspberry pi. Ros was installed via the installation guidelines presented on the website - i.e sudo apt-get install etc etc. It was desktop full.
I'm not saying it's definitely the problem, but running RViz in vbox has been problematic before. Have you installed the relevant video drivers / extensions?
Also: are there more lines to the error you posted above?
And: can you
rosrun rviz rviz
by itself?Hmm that's interesting, i had a few issues with the serial from a VM Ros node about a year ago so that would make sense. I'll give it a try on my dual boot tomorrow. No i cannot run Rviz by itself, i get a segmentation fault and core dump. No additional text from the original question. Thanks
Oh and 3D acceleration is enabled, and i'm running OpenGL 2.1 within the VM
Ok. May I suggest you update the title of your question then? The current title seems to suggest this is a problem with
hector_slam
, but it looks more like an RViz<->VBox problem.