Missing "cpp_course_repo" and exercise ".cpp" files in "catkin_ws/src"

Hello,

I am following the course instructions, but my ~/catkin_ws/src folder does not contain the expected repository and exercise files.

According to the lesson, I should have a structure similar to this:

catkin_ws
├── build
├── devel
└── src
    └── cpp_course_repo
        └── c_scripts
            ├── src
            │   ├── unit1_exercise.cpp
            │   ├── unit2_exercise.cpp
            │   ├── unit3_exercise.cpp
            │   ├── unit4_exercise.cpp
            │   ├── unit5_exercise.cpp
            │   ├── unit6_exercise.cpp
            │   └── unit7_exercise.cpp
            ├── CMakeLists.txt
            └── package.xml

However, when I run:

tree ~/catkin_ws

my workspace only shows:

catkin_ws
├── build
├── devel
└── src
    └── CMakeLists.txt

So my src folder is basically empty, and I do not have the expected package:

cpp_course_repo

I also do not have:

c_scripts
unit1_exercise.cpp
unit2_exercise.cpp
unit3_exercise.cpp
unit4_exercise.cpp
unit5_exercise.cpp
unit6_exercise.cpp
unit7_exercise.cpp

Because of this, I cannot open unit1_exercise.cpp or continue with the exercise.

I have also tried restarting the environment and switching to a different course, but the problem is still the same. Even after doing that, the ~/catkin_ws/src directory still only contains:

CMakeLists.txt

The expected course repository/package is still missing, so it does not seem to be an issue related to a single course session or a temporary environment state. It looks like the course files are not being generated, downloaded, or mounted correctly in my workspace.

Could you please clarify how I should obtain or restore the missing cpp_course_repo package and the exercise files?

Thank you.

See this answer here:

1 Like

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