Issue with Real Robot Project for ROS2 Basics C++

When i try to source the setup.bash, it says no found as you can see.
So this is the reason i had a headache…

Eventually we would do this for the final exam to pass this course.
So i hope you can also tell me the solution here??

your setup.bash should be from your working directory
try source ~/ros2_ws/install/setup.bash

Thank you for the reply.
But it still has the “not found” issue.
Please see attadhed:

Yes, it says not found. But that’s a package unrelated to the simulation. If you just paste the next command, you’ll see the simulation launch.

Just ignore that message

Thank you for the reply.
I had tried but it seems to have another issue now.

I was addressing your first post, sorry about that. What I mean is sourcing the workspace where the simulation packages are is giving that warning, but it doesn’t affect the simulation. If you source that workspace, not ros2_ws, it’ll work.

The correct commands are:

source ~/simulation_ws/install/setup.bash
ros2 launch turtlebot3_gazebo main_turtlebot3_lab.launch.xml
1 Like

Its connected, Thanks!

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.