ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You cannot just type commands into a python script. You'll need to use Python syntax. Check out the ROS beginner tutorials for the basics.
If you just want a script that lists commands, use a shell script.