Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

rviz process has died.

I run the rviz and it is wrong. I use ubuntu 14.04 indigo.

[rviz-5] process has died [pid 10735, exit code 1, cmd /opt/ros/indigo/lib/rviz/rviz -d /home/andy/catkin_ws/src/ceshi/launch/display.vcg __name:=rviz __log:=/home/andy/.ros/log/c45a8ee0-02af-11e6-9049-e09467d421dc/rviz-5.log]. log file: /home/andy/.ros/log/c45a8ee0-02af-11e6-9049-e09467d421dc/rviz-5*.log

the launch file is

<?xml version="1.0"?>
<launch>
    <arg name="model" />
    <arg name="gui" default="False" />
    <param name="robot_description" command="$(find xacro)/xacro.py $(arg model)" />
    <param name="use_gui" value="$(arg gui)"/>
    <node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher" ></node>
    <node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher" />

    <node name="odometry" pkg="ceshi" type="odometry" />
    <node name="rviz" pkg="rviz" type="rviz" args="-d $(find ceshi)/launch/display.vcg" />
</launch>

and the display.vcg

    Background\ ColorB=0
Background\ ColorG=0
Background\ ColorR=0
Fixed\ Frame=/odom
Grid.Alpha=0.5
Grid.Cell\ Size=1
Grid.ColorB=0.5
Grid.ColorG=0.5
Grid.ColorR=0.5
Grid.Enabled=1
Grid.Line\ Style=0
Grid.Line\ Width=0.03
Grid.Normal\ Cell\ Count=0
Grid.OffsetX=0
Grid.OffsetY=0
Grid.OffsetZ=0
Grid.Plane=0
Grid.Plane\ Cell\ Count=10
Grid.Reference\ Frame=<Fixed Frame>
Odometry.Angle\ Tolerance=0.1
Odometry.ColorB=0
Odometry.ColorG=0.1
Odometry.ColorR=1
Odometry.Enabled=1
Odometry.Keep=100
Odometry.Length=1
Odometry.Position\ Tolerance=0.1
Odometry.Topic=/odom
Property\ Grid\ Splitter=294,78
Property\ Grid\ State=expanded=.Global Options,Odometry.Enabled;splitterratio=0.5
QMainWindow=000000ff00000000fd00000003000000000000011d000001c6fc0200000001fb000000100044006900730070006c0061007900730100000036000001c6000000ee00ffffff0000000100000131000001c6fc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000036000000730000006700fffffffb0000000a0056006900650077007301000000af000000d4000000bb00fffffffb0000001200530065006c0065006300740069006f006e0100000189000000730000006700ffffff00000003000003bf0000003efc0100000001fb0000000800540069006d00650100000000000003bf000002bf00ffffff00000165000001c600000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
Robot\ Model.Alpha=1
Robot\ Model.Collision\ Enabled=0
Robot\ Model.Enabled=1
Robot\ Model.Robot\ Description=robot_description
Robot\ Model.TF\ Prefix=
Robot\ Model.Update\ Interval=0
Robot\ Model.Visual\ Enabled=1
Robot\:\ Robot\ Model\ Link\ base_footprintAlpha=1
Robot\:\ Robot\ Model\ Link\ base_footprintEnabled=1
Robot\:\ Robot\ Model\ Link\ base_footprintShow\ Axes=0
Robot\:\ Robot\ Model\ Link\ base_footprintShow\ Trail=0
Robot\:\ Robot\ Model\ Link\ base_linkAlpha=1
Robot\:\ Robot\ Model\ Link\ base_linkEnabled=1
Robot\:\ Robot\ Model\ Link\ base_linkShow\ Axes=0
Robot\:\ Robot\ Model\ Link\ base_linkShow\ Trail=0
Robot\:\ Robot\ Model\ Link\ base_scan_linkAlpha=1
Robot\:\ Robot\ Model\ Link\ base_scan_linkEnabled=1
Robot\:\ Robot\ Model\ Link\ base_scan_linkShow\ Axes=0
Robot\:\ Robot\ Model\ Link\ base_scan_linkShow\ Trail=0
Robot\:\ Robot\ Model\ Link\ laser_base_linkAlpha=1
Robot\:\ Robot\ Model\ Link\ laser_base_linkEnabled=1
Robot\:\ Robot\ Model\ Link\ laser_base_linkShow\ Axes=0
Robot\:\ Robot\ Model\ Link\ laser_base_linkShow\ Trail=0
Robot\:\ Robot\ Model\ Link\ wheel_1Alpha=1
Robot\:\ Robot\ Model\ Link\ wheel_1Enabled=1
Robot\:\ Robot\ Model\ Link\ wheel_1Show\ Axes=0
Robot\:\ Robot\ Model\ Link\ wheel_1Show\ Trail=0
Robot\:\ Robot\ Model\ Link\ wheel_2Alpha=1
Robot\:\ Robot\ Model\ Link\ wheel_2Enabled=1
Robot\:\ Robot\ Model\ Link\ wheel_2Show\ Axes=0
Robot\:\ Robot\ Model\ Link\ wheel_2Show\ Trail=0
Robot\:\ Robot\ Model\ Link\ wheel_3Alpha=1
Robot\:\ Robot\ Model\ Link\ wheel_3Enabled=1
Robot\:\ Robot\ Model\ Link\ wheel_3Show\ Axes=0
Robot\:\ Robot\ Model\ Link\ wheel_3Show\ Trail=0
Robot\:\ Robot\ Model\ Link\ wheel_4Alpha=1
Robot\:\ Robot\ Model\ Link\ wheel_4Enabled=1
Robot\:\ Robot\ Model\ Link\ wheel_4Show\ Axes=0
Robot\:\ Robot\ Model\ Link\ wheel_4Show\ Trail=0
Target\ Frame=/base_footprint
Tool\ 2D\ Nav\ GoalTopic=goal
Tool\ 2D\ Pose\ EstimateTopic=initialpose
[Display0]
ClassName=rviz::RobotModelDisplay
Name=Robot Model
[Display1]
ClassName=rviz::GridDisplay
Name=Grid
[Display2]
ClassName=rviz::OdometryDisplay
Name=Odometry
[Window]
Height=576
Width=959
X=-16
Y=-56

Somebody can tell me how to do?

rviz process has died.

I run the rviz and it is wrong. I use ubuntu 14.04 indigo.

[rviz-5] process has died [pid 10735, exit code 1, cmd /opt/ros/indigo/lib/rviz/rviz -d /home/andy/catkin_ws/src/ceshi/launch/display.vcg __name:=rviz __log:=/home/andy/.ros/log/c45a8ee0-02af-11e6-9049-e09467d421dc/rviz-5.log].
log file: /home/andy/.ros/log/c45a8ee0-02af-11e6-9049-e09467d421dc/rviz-5*.log

/home/andy/.ros/log/c45a8ee0-02af-11e6-9049-e09467d421dc/rviz-5*.log

the launch file is

<?xml version="1.0"?>
<launch>
    <arg name="model" />
    <arg name="gui" default="False" />
    <param name="robot_description" command="$(find xacro)/xacro.py $(arg model)" />
    <param name="use_gui" value="$(arg gui)"/>
    <node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher" ></node>
    <node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher" />

    <node name="odometry" pkg="ceshi" type="odometry" />
    <node name="rviz" pkg="rviz" type="rviz" args="-d $(find ceshi)/launch/display.vcg" />
</launch>

and the display.vcg

    Background\ ColorB=0
Background\ ColorG=0
Background\ ColorR=0
Fixed\ Frame=/odom
Grid.Alpha=0.5
Grid.Cell\ Size=1
Grid.ColorB=0.5
Grid.ColorG=0.5
Grid.ColorR=0.5
Grid.Enabled=1
Grid.Line\ Style=0
Grid.Line\ Width=0.03
Grid.Normal\ Cell\ Count=0
Grid.OffsetX=0
Grid.OffsetY=0
Grid.OffsetZ=0
Grid.Plane=0
Grid.Plane\ Cell\ Count=10
Grid.Reference\ Frame=<Fixed Frame>
Odometry.Angle\ Tolerance=0.1
Odometry.ColorB=0
Odometry.ColorG=0.1
Odometry.ColorR=1
Odometry.Enabled=1
Odometry.Keep=100
Odometry.Length=1
Odometry.Position\ Tolerance=0.1
Odometry.Topic=/odom
Property\ Grid\ Splitter=294,78
Property\ Grid\ State=expanded=.Global Options,Odometry.Enabled;splitterratio=0.5
QMainWindow=000000ff00000000fd00000003000000000000011d000001c6fc0200000001fb000000100044006900730070006c0061007900730100000036000001c6000000ee00ffffff0000000100000131000001c6fc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000036000000730000006700fffffffb0000000a0056006900650077007301000000af000000d4000000bb00fffffffb0000001200530065006c0065006300740069006f006e0100000189000000730000006700ffffff00000003000003bf0000003efc0100000001fb0000000800540069006d00650100000000000003bf000002bf00ffffff00000165000001c600000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
Robot\ Model.Alpha=1
Robot\ Model.Collision\ Enabled=0
Robot\ Model.Enabled=1
Robot\ Model.Robot\ Description=robot_description
Robot\ Model.TF\ Prefix=
Robot\ Model.Update\ Interval=0
Robot\ Model.Visual\ Enabled=1
Robot\:\ Robot\ Model\ Link\ base_footprintAlpha=1
Robot\:\ Robot\ Model\ Link\ base_footprintEnabled=1
Robot\:\ Robot\ Model\ Link\ base_footprintShow\ Axes=0
Robot\:\ Robot\ Model\ Link\ base_footprintShow\ Trail=0
Robot\:\ Robot\ Model\ Link\ base_linkAlpha=1
Robot\:\ Robot\ Model\ Link\ base_linkEnabled=1
Robot\:\ Robot\ Model\ Link\ base_linkShow\ Axes=0
Robot\:\ Robot\ Model\ Link\ base_linkShow\ Trail=0
Robot\:\ Robot\ Model\ Link\ base_scan_linkAlpha=1
Robot\:\ Robot\ Model\ Link\ base_scan_linkEnabled=1
Robot\:\ Robot\ Model\ Link\ base_scan_linkShow\ Axes=0
Robot\:\ Robot\ Model\ Link\ base_scan_linkShow\ Trail=0
Robot\:\ Robot\ Model\ Link\ laser_base_linkAlpha=1
Robot\:\ Robot\ Model\ Link\ laser_base_linkEnabled=1
Robot\:\ Robot\ Model\ Link\ laser_base_linkShow\ Axes=0
Robot\:\ Robot\ Model\ Link\ laser_base_linkShow\ Trail=0
Robot\:\ Robot\ Model\ Link\ wheel_1Alpha=1
Robot\:\ Robot\ Model\ Link\ wheel_1Enabled=1
Robot\:\ Robot\ Model\ Link\ wheel_1Show\ Axes=0
Robot\:\ Robot\ Model\ Link\ wheel_1Show\ Trail=0
Robot\:\ Robot\ Model\ Link\ wheel_2Alpha=1
Robot\:\ Robot\ Model\ Link\ wheel_2Enabled=1
Robot\:\ Robot\ Model\ Link\ wheel_2Show\ Axes=0
Robot\:\ Robot\ Model\ Link\ wheel_2Show\ Trail=0
Robot\:\ Robot\ Model\ Link\ wheel_3Alpha=1
Robot\:\ Robot\ Model\ Link\ wheel_3Enabled=1
Robot\:\ Robot\ Model\ Link\ wheel_3Show\ Axes=0
Robot\:\ Robot\ Model\ Link\ wheel_3Show\ Trail=0
Robot\:\ Robot\ Model\ Link\ wheel_4Alpha=1
Robot\:\ Robot\ Model\ Link\ wheel_4Enabled=1
Robot\:\ Robot\ Model\ Link\ wheel_4Show\ Axes=0
Robot\:\ Robot\ Model\ Link\ wheel_4Show\ Trail=0
Target\ Frame=/base_footprint
Tool\ 2D\ Nav\ GoalTopic=goal
Tool\ 2D\ Pose\ EstimateTopic=initialpose
[Display0]
ClassName=rviz::RobotModelDisplay
Name=Robot Model
[Display1]
ClassName=rviz::GridDisplay
Name=Grid
[Display2]
ClassName=rviz::OdometryDisplay
Name=Odometry
[Window]
Height=576
Width=959
X=-16
Y=-56

Somebody can tell me how to do?