ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The command I use to run my python script is rosrun assignment_subscriber.py

That is not how rosrun works, and is the reason you are seeing the message that you describe.

rosrun requires as the first argument a package name, the second argument is the executable (a script or a binary).

So you'll have to place your script in a ROS package. Then you can use rosrun to start it.