Ask Your Question
1

moveit_setup_assistant cannot load pr2.urdf.xacro

asked 2016-11-09 21:53:25 -0600

shawnysh gravatar image

updated 2016-11-11 02:41:40 -0600

gvdhoorn gravatar image

I follow the moveit official tutorial to roslaunch moveit_setup_assistant, and then load the pr2.urdf.xacro file, and come across error then the assistant crashes.

Here is the tutorial link: http://docs.ros.org/kinetic/api/movei...

Note:

1, indigo on Ubuntu 14

2, Information about OpenGL by command line :glxinfo | grep OpenGL

No error shown here.

root@ShawnVM:~/catkin_ws/src/rbx2/pi_robot_moveit_config# glxinfo | grep OpenGL
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.8, 256 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.2.0
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 11.2.0
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:

Here is the error information with both text and image version:

root@ShawnVM:/opt/ros/indigo/share/moveit_setup_assistant# roslaunch moveit_setup_assistant setup_assistant.launch
... logging to /root/.ros/log/1740324a-a756-11e6-9533-000c290a3fdb/roslaunch-ShawnVM-81395.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ShawnVM:33182/

SUMMARY
========

PARAMETERS
 * /rosdistro: indigo
 * /rosversion: 1.11.20

NODES
  /
    moveit_setup_assistant (moveit_setup_assistant/moveit_setup_assistant)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[moveit_setup_assistant-1]: started with pid [81413]
[rospack] Error: no package given
[librospack]: error while executing command
[ INFO] [1478834698.670836156]: Running 'rosrun xacro xacro.py /opt/ros/indigo/share/pr2_description/robots/pr2.urdf.xacro'...
[ INFO] [1478834703.591787951]: Loaded pr2 robot model.
[ INFO] [1478834703.591918734]: Setting Param Server with Robot Description
[ INFO] [1478834703.608182827]: Robot semantic model successfully loaded.
[ INFO] [1478834703.608598789]: Setting Param Server with Robot Semantic Description
[ INFO] [1478834703.620308337]: Loading robot model 'pr2'...
[ INFO] [1478834703.620406108]: No root joint specified. Assuming fixed joint
[ INFO] [1478834703.777751659]: Stereo is NOT SUPPORTED
[ INFO] [1478834703.777928749]: OpenGl version: 3 (GLSL 1.3).
[ INFO] [1478834703.937708930]: Loading robot model 'pr2'...
[ INFO] [1478834703.937975156]: No root joint specified. Assuming fixed joint
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
TIFFFetchNormalTag: Warning, Incompatible type for "RichTIFFIPTC"; tag ignored.
[ INFO] [1478834704.959022007]: Loading robot model 'pr2'...
[ INFO] [1478834704.959187880]: No root joint specified. Assuming fixed joint
================================================================================REQUIRED process [moveit_setup_assistant-1] has died!
process has died [pid 81413, exit code -11, cmd /opt/ros/indigo/lib/moveit_setup_assistant/moveit_setup_assistant __name:=moveit_setup_assistant __log:=/root/.ros/log/1740324a-a756-11e6-9533-000c290a3fdb/moveit_setup_assistant-1.log].
log file: /root/.ros/log/1740324a-a756-11e6-9533-000c290a3fdb/moveit_setup_assistant-1*.log
Initiating shutdown!
================================================================================
[moveit_setup_assistant-1] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

image description

Edit1:

I follow this answer http://answers.ros.org/question/21718...

try to install xserver-xorg, but another things shown up

root@ShawnVM:/opt/ros/indigo/share/moveit_setup_assistant# sudo apt-get install xserver-xorg
Reading package lists... Done
Building dependency tree       
Reading state information ...
(more)
edit retag flag offensive close merge delete

Comments

Please don't use screenshots for what is essentially text. Could you copy-paste the console text into your question, then use the Preformatted Text button (the one with 101010 on it) next time? Text in imgs is not searchable by search engines, leading to reduced visibility of this question.

gvdhoorn gravatar imagegvdhoorn ( 2016-11-10 01:42:37 -0600 )edit

I don't think this will fix your problem, but note your tutorial link is for Hydro and very out of date - the latest tutorials are here: http://docs.ros.org/kinetic/api/movei...

Dave Coleman gravatar imageDave Coleman ( 2016-11-10 12:22:56 -0600 )edit

Thanks, I did follow this tutorial. when I post the question, I search this tutorial it shows the old link, for saving time, I just copy the old link, sorry. Actually, they are the same, at least for the first two steps.

shawnysh gravatar imageshawnysh ( 2016-11-10 21:29:40 -0600 )edit

sometimes the 101010 does not work well in the edit window

shawnysh gravatar imageshawnysh ( 2016-11-10 22:12:48 -0600 )edit

Should I check the error log?

shawnysh gravatar imageshawnysh ( 2016-11-22 20:22:01 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2016-11-09 23:54:01 -0600

rbbg gravatar image

If your dependencies are correctly installed, there is a fair chance this has something to do with your graphics driver. From the output it seems like the urdf is parsed correctly but the program crashes when it starts to make use of OpenGL. Are you by any chance running a VM?

Some more information can be found in these related topics:

MoveIt setup assistant crashes when loading a urdf

a problem with launching the moveit setup assistant

problems with moveit exit code-11

Good luck!

edit flag offensive delete link more

Comments

Yes, I am running on VM

shawnysh gravatar imageshawnysh ( 2016-11-10 03:41:43 -0600 )edit

Did you manage to solve the problem using the posted questions?

rbbg gravatar imagerbbg ( 2016-11-10 03:57:21 -0600 )edit

Not yet, becase it seems OpenGL works well, I think. See the update on my post

shawnysh gravatar imageshawnysh ( 2016-11-10 09:05:05 -0600 )edit

In this question and answer This man solved his problem by this command

sudo apt-get install ubuntu-desktop

which seems confusing. I haven't tried it yet.

shawnysh gravatar imageshawnysh ( 2016-11-10 09:15:56 -0600 )edit

It is likely because of the VM, yes

Dave Coleman gravatar imageDave Coleman ( 2016-11-10 12:23:36 -0600 )edit
1

answered 2017-01-08 10:51:49 -0600

shawnysh gravatar image

Finally, I gave up on using ROS on Ubuntu on VMware. I install dual boot system, and directly run ROS on Ubuntu, no error occurs.

It seems large gui program does not work well on Virtual Machine due to graphics card, I suppose.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-11-09 21:53:25 -0600

Seen: 737 times

Last updated: Jan 08 '17