Open JustWinWin opened 11 months ago
Hi @JustWinWin,
In order to execute .txt sequences using ros2_execution.py, your ros2_RobotSimulation package must be located properly in the ~/dev_ws/src workspace. This is how the .txt files are read from the ros2_execution.py script:
filepath = os.path.join(os.path.expanduser('~'), 'dev_ws', 'src', 'ros2_RobotSimulation', 'ros2_execution', 'programs', PR_NAME + ".txt")
Best regards, Mikel, IFRA-Cranfield
When I run the ros2_execution code command, terminal displays "file not found, Please input the PROGRAM FILENAME correctly as a ROS2 parameter in the Ubuntu Terminal". But I have put the code file in the specified "programs" folder.