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

Revision history [back]

Make the python script executable chmod +x python_script_name.py

So give pkg= "name of package where script lies" name ="name of python script without extension" type="name of python scrupt with extension"

Example : <node pkg="v1robot_description" name="fake_encoder_count" type="fake_encoder_count.py" output="screen"/>

Name of python script in my case: fake_encoder_count.py Name of my ROS package : v1robot_description