[rviz-3] process has died
Hello
sorry for my bad english
I used solidwork to create my robotmodel and exporter it to urdf
but when i launch display.launch
then add robotmodel
it will has a error
[rviz-3] process has died [pid 9048, exit code -7, cmd /opt/ros/kinetic/lib/rviz/rviz -d /home/pi/catkin_ws/src/project3/urdf.rviz __name:=rviz __log:=/home/pi/.ros/log/bf814e84-ef61-11e9-8dbb-b827eb7385f0/rviz-3.log].
log file: /home/pi/.ros/log/bf814e84-ef61-11e9-8dbb-b827eb7385f0/rviz-3*.log
display.launch
<launch>
<arg
name="model" />
<arg
name="gui"
default="true" />
<param
name="robot_description"
textfile="$(find project3)/urdf/project3.urdf" />
<param
name="use_gui"
value="$(arg gui)" />
<node
name="joint_state_publisher"
pkg="joint_state_publisher"
type="joint_state_publisher" />
<node
name="robot_state_publisher"
pkg="robot_state_publisher"
type="state_publisher" />
<node
name="rviz"
pkg="rviz"
type="rviz"
args="-d $(find project3)/urdf.rviz" />
</launch>
it's my new error
[ WARN] [1571311955.119769841]: The root link base_link has an inertia specified in the URDF, but KDL does not support a root link with an inertia. As a workaround, you can add an extra dummy link to your URDF.
libEGL warning: DRI2: failed to authenticate
[ INFO] [1571311957.240473668]: rviz version 1.12.17
[ INFO] [1571311957.240868508]: compiled against Qt version 5.5.1
[ INFO] [1571311957.240994185]: compiled against OGRE version 1.9.0 (Ghadamon)
libEGL warning: DRI2: failed to authenticate
[ INFO] [1571311958.669318716]: Stereo is NOT SUPPORTED
[ INFO] [1571311958.670846882]: OpenGl version: 3 (GLSL 1.3).
[rviz-3] process has died [pid 6848, exit code -7, cmd /opt/ros/kinetic/lib/rviz/rviz __name:=rviz __log:=/home/pi/.ros/log/56917078-f0d0-11e9-b686-b827eb7385f0/rviz-3.log].
log file: /home/pi/.ros/log/56917078-f0d0-11e9-b686-b827eb7385f0/rviz-3*.log
and following is my new code
<launch>
<arg
name="model" />
<arg
name="gui"
default="true" />
<param
name="robot_description"
textfile="$(find project3)/urdf/project3.urdf" />
<param
name="use_gui"
value="$(arg gui)" />
<node
name="joint_state_publisher"
pkg="joint_state_publisher"
type="joint_state_publisher"
output="screen" />
<node
name="robot_state_publisher"
pkg="robot_state_publisher"
type="robot_state_publisher"
output="screen" />
<node
name="rviz"
pkg="rviz"
type="rviz"
output="screen"/>
</launch>
Thank you for your help
Hi,
It would be good if you post what you are launching in the display.launch file or the log. With such little information there are a lot of things that can cause the error.
i posted it .
Several things that can be usefull:
robot_state_publisher
node change type fromstate_publisher
torobot_state_publisher
.use_gui
).How can i solve 2.?
For 3. I try to make a rviz file and put it into project3 then when i launched display.launch it will have a error before rviz open
Hi,
I will post here a launch file that can help you, I place the output tag for debug purposes, to see what is the console output of the nodes:
i updated my new error
Well it seems that you have problems with RVIZ and the URDF description.
For the first one, are you working on a Raspberry Pi?. Seems you have not installed or properly configured the libEGL library. Exit code -7 generally means in most unix systems a BUS error.
That error is generally caused by the graphics memory allocation on the Raspberry Pi being too low
For the other problem, you have a base link with an inertia and that is not permitted. Add a dummy link with no inertia as its parent.
Yes, I use raspberry pi 3 to make my project. how should I exactly to add a dummy link?
sorry, I am a new to ros