I have followed the guideline given by you, but it does not seem to work when sourcing, see below.
If I cannot source files, I am not able to do anything.
Source simulation_ws fails:
user:~$ source ~/simulation_ws/install/setup.bash
not found: "/home/user/ros2_ws/install/turtlebot3_node/share/turtlebot3_node/local_setup.bash"
Source ros_ws fail
user:~$ source ros2_ws/install/setup.bash
ROS_DISTRO was set to 'foxy' before. Please make sure that the environment does not mix paths from different distributions.
not found: "/home/user/simulation_ws/devel/local_setup.bash"
ROS_DISTRO was set to 'noetic' before. Please make sure that the environment does not mix paths from different distributions.
not found: "/home/user/ros2_ws/install/turtlebot3_node/share/turtlebot3_node/local_setup.bash"
How are we supposed to know what your problem is if you provide such little information?!?!?
We have hundreds of projects and courses, and we cannot know what did you do before getting the error unless you clearly explain what are you talking about (which course, rosject, exercise or whatever are you talking about) and which steps did you do until you encounter the problem.
Just an incomplete screenshot (you just posted a small part of the screen) will not clarify the problem.
Also your information makes no sense because you posted the issue in the ROS Basics in 5 Days (C++) Forum support , which is about ROS1, but the commands you are showing are about ROS2.
Please explain clearly what where you trying to do, which steps you took, and what was the unexpected result you got. If possible, clarify with several screen captures
Hi,
Reason for so little information regarding the issue, is that it is all I have.
I litteraly just started the “Real Robot Project” from the GUI, and the first thing that is asked for is to run the “source ~/simulation_ws/install/setup.bash” command.
Since it failed, I don’t know what to do.
You are correct that it is the " ROS2 Basics in 5 Days (C++)" and not “ROS”, my mistake.
My goal is to just be able to start the project to go on with the course.
Let me know what more information you need? I will be happy to provide that. But as mentioned it is the first time I opened “ROSDS”, I have not altered anything:
What happens when others try to open this specific ROSJECT “Real Robot Project” for ROS2 and run the source command? Could it be that it has not been tried recently and your environment is broken?