Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file not found, Please input the PROGRAM FILENAME correctly as a ROS2 parameter in the Ubuntu Terminal #18

Open
JustWinWin opened this issue Aug 17, 2023 · 1 comment

Comments

@JustWinWin
Copy link

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.

@IFRA-Cranfield
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants