{"action":"opened","issue":{"url":"https://api.github.com/repos/ros/robot_model/issues/103","labels_url":"https://api.github.com/repos/ros/robot_model/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/ros/robot_model/issues/103/comments","events_url":"https://api.github.com/repos/ros/robot_model/issues/103/events","html_url":"https://github.com/ros/robot_model/issues/103","id":67862572,"number":103,"title":"Launch file Param Zeros error (joint_state_publisher)","user":{"login":"fariner","id":11269755,"avatar_url":"https://avatars.githubusercontent.com/u/11269755?v=3","gravatar_id":"","url":"https://api.github.com/users/fariner","html_url":"https://github.com/fariner","followers_url":"https://api.github.com/users/fariner/followers","following_url":"https://api.github.com/users/fariner/following{/other_user}","gists_url":"https://api.github.com/users/fariner/gists{/gist_id}","starred_url":"https://api.github.com/users/fariner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fariner/subscriptions","organizations_url":"https://api.github.com/users/fariner/orgs","repos_url":"https://api.github.com/users/fariner/repos","events_url":"https://api.github.com/users/fariner/events{/privacy}","received_events_url":"https://api.github.com/users/fariner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-12T02:23:24Z","updated_at":"2015-04-12T02:23:24Z","closed_at":null,"body":"Hello,\r\n\r\ni am trying to execute the next launch file with the \"zeros\" parameter of the node Joint_State_Publisher and i receive an error.\r\n\r\n\r\nLaunch File:\r\n\r\n<launch>\r\n\r\n\t<arg name=\"model\" />\r\n\t<arg name=\"gui\" default=\"False\" />\r\n\t<param name=\"robot_description\" textfile=\"$(arg model)\" />\r\n\t<param name=\"use_gui\" value=\"$(arg gui)\"/>\r\n\t<node name=\"joint_state_publisher\" pkg=\"joint_state_publisher\" type=\"joint_state_publisher\">\r\n        \t<param name=\"zeros\" value=\"{meded: 1.57075}\"/>\r\n\t</node>\r\n\t<node name=\"robot_state_publisher\" pkg=\"robot_state_publisher\" type=\"state_publisher\" />\r\n\t<node name=\"rviz\" pkg=\"rviz\" type=\"rviz\" args=\"-d $(find urdf_tutorial)/urdf.rviz\" required=\"true\" />\r\n</launch>\r\n\r\n\r\nURDF:\r\n\r\n<?xml version=\"1.0\"?>\r\n<robot name=\"test\">\r\n  <link name=\"base_link\">\r\n    <visual>\r\n      <geometry>\r\n        <cylinder length=\"0.6\" radius=\"0.2\"/>\r\n      </geometry>\r\n      <material name=\"blue\">\r\n        <color rgba=\"0 0 .8 1\"/>\r\n      </material>\r\n    </visual>\r\n  </link>\r\n\r\n  <link name=\"med\">\r\n    <visual>\r\n      <geometry>\r\n        <box size=\"0.6 .2 .1\"/>\r\n      </geometry>\r\n      <origin rpy=\"0 1.57075 0\" xyz=\"0 0 -0.3\"/>\r\n      <material name=\"white\">\r\n        <color rgba=\"1 1 1 1\"/>\r\n      </material>\r\n    </visual>\r\n  </link>\r\n\r\n  <joint name=\"meded\" type=\"revolute\">\r\n    <axis xyz=\"0 0 1\"/>\r\n    <limit effort=\"1000.0\" lower=\"0.0\" upper=\"3.1415926535\" velocity=\"0.5\"/>\r\n    <parent link=\"base_link\"/>\r\n    <child link=\"med\"/>\r\n    <origin xyz=\"0 0 0.5\" />\r\n  </joint>\r\n\r\n\r\n\r\n</robot>\r\n\r\n\r\nError:\r\n\r\nubuntu@ubuntu-HP-EliteBook-8460p:~/catkin_ws/src/visbot/urdf$ roslaunch visbot test.launch model:='$(find visbot)/urdf/my_robot.urdf' gui:=True... logging to /home/ubuntu/.ros/log/9b19dbd0-e03c-11e4-b650-101f74f8af09/roslaunch-ubuntu-HP-EliteBook-8460p-18780.log\r\nChecking log directory for disk usage. This may take awhile.\r\nPress Ctrl-C to interrupt\r\nDone checking log file disk usage. Usage is <1GB.\r\n\r\nstarted roslaunch server http://ubuntu-HP-EliteBook-8460p:51617/\r\n\r\nSUMMARY\r\n========\r\n\r\nPARAMETERS\r\n * /joint_state_publisher/zeros: meded: 1.57075\r\n * /robot_description: <?xml version=\"1....\r\n * /rosdistro: indigo\r\n * /rosversion: 1.11.10\r\n * /use_gui: True\r\n\r\nNODES\r\n  /\r\n    joint_state_publisher (joint_state_publisher/joint_state_publisher)\r\n    robot_state_publisher (robot_state_publisher/state_publisher)\r\n    rviz (rviz/rviz)\r\n\r\nROS_MASTER_URI=http://localhost:11311\r\n\r\ncore service [/rosout] found\r\nprocess[joint_state_publisher-1]: started with pid [18798]\r\nprocess[robot_state_publisher-2]: started with pid [18799]\r\nprocess[rviz-3]: started with pid [18824]\r\nTraceback (most recent call last):\r\n  File \"/opt/ros/indigo/lib/joint_state_publisher/joint_state_publisher\", line 328, in <module>\r\n    jsp = JointStatePublisher()\r\n  File \"/opt/ros/indigo/lib/joint_state_publisher/joint_state_publisher\", line 84, in __init__\r\n    zeroval = self.zeros[name]\r\nTypeError: string indices must be integers, not unicode\r\n[joint_state_publisher-1] process has died [pid 18798, exit code 1, cmd /opt/ros/indigo/lib/joint_state_publisher/joint_state_publisher __name:=joint_state_publisher __log:=/home/ubuntu/.ros/log/9b19dbd0-e03c-11e4-b650-101f74f8af09/joint_state_publisher-1.log].\r\nlog file: /home/ubuntu/.ros/log/9b19dbd0-e03c-11e4-b650-101f74f8af09/joint_state_publisher-1*.log\r\n\r\n\r\nSomeone know which is the problem?\r\n\r\nBest Regards.\r\n\r\n\r\n"}}