Skip to content

joint_state_publisher not starting #266

Closed
@cpetersmeier

Description

@cpetersmeier

Hello,

I am unable to use the moveit commander cmd line, because the joint_state_publisher doesnt start properly.
In my launch file I call

<node name="joint_state_publisher" pkg="joint_state_publisher" type="joint_state_publisher">
<param name="use_gui" value="true"/>
<rosparam param="source_list">[move_group/fake_controller_joint_states]</rosparam>
</node>

When executing the launch file I get this error:

Traceback (most recent call last):
File "/opt/ros/melodic/lib/joint_state_publisher/joint_state_publisher", line 474, in <module>
jsp = JointStatePublisher()
File "/opt/ros/melodic/lib/joint_state_publisher/joint_state_publisher", line 149, in __init__
robot = xml.dom.minidom.parseString(description)
File "/usr/lib/python2.7/xml/dom/minidom.py", line 1928, in parseString
return expatbuilder.parseString(string)
File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 940, in parseString
return builder.parseString(string)
File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 223, in parseString
parser.Parse(string, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xb0' in position 4420: ordinal not in__range(128)

and

[joint_state_publisher-4] process has died [pid 5986, exit code 1, cmd /opt/ros/melodic/lib/joint_state_publisher/joint_state_publisher
__name:=joint_state_publisher
__log:=/home/chris/.ros/log/a08dc708-8dca-11e9-9608-000c2908badd/joint_state_publisher-4.log].
log file: /home/chris/.ros/log/a08dc708-8dca-11e9-9608-000c2908badd/joint_state_publisher-4*.log

This is all in an rviz context, and the gui and the rest of moveit loads fine.
Can anyone help me resolve this issue?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions