[ros-users] [Discourse.ros.org] [ROS Projects] Ros service s…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Lalith Kumar via ros-users
Date:  
To: ros-users
Subject: [ros-users] [Discourse.ros.org] [ROS Projects] Ros service sample code not running


when i run rosrun pkg_name and service.py it showing nothing in rosservice list and if i close rosrun then fowlling error comming
Traceback (most recent call last):
  File "/home/edu/p/ros/robot/src/robot/src/service_server.py", line 3, in <module>
    from robot.srv import WordCount,WordCountResponse
  File "/home/edu/p/ros/robot/src/robot/src/robot.py", line 4, in <module>
    rospy.init_node('topic_publisher')
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/client.py", line 323, in init_node
    raise rospy.exceptions.ROSInitException("init_node interrupted before it could complete")
rospy.exceptions.ROSInitException: init_node interrupted before it could complete






---
[Visit Topic](https://discourse.ros.org/t/ros-service-sample-code-not-running/2173/1) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>