Edit the ROS Code source code
- You can find the source code in the
srcdirectory of the repository.
- The Python 3 runtime for Windows is stored in the
How the code works
run-file.pyfile is for reading and executing code from a file passed as a runtime variable.
python run_file.py test.ros
- The files in the
rosdirectory are for storing all the commands.
def print_message(contents=''): print(contents)
The code above enables functionality for the
print_message: "Hello World" command