[Discourse.ros.org] [ROS Projects] Ros service sample code not running

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [ROS Projects] Ros service sample code not running

Saurabh Bansal via ros-users


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
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>
Reply | Threaded
Open this post in threaded view
|

[Discourse.ros.org] [ROS Projects] Ros service sample code not running

Saurabh Bansal via ros-users


Following our [Support Guidelines](http://wiki.ros.org/Support) please ask questions on http://answers.ros.org





---
[Visit Topic](https://discourse.ros.org/t/ros-service-sample-code-not-running/2173/2) 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
[hidden email]
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>