Prerequisites for C++ for Robotics Course

I am doing the C++ for robotics course. What things do i need already installed on my computer? What should the ~/catkin_ws folder look like?

I got stuck at 1.2 when I had to run catkin_make and got a command not found error.

Thanks

Hi @arilev65, welcome to the community!

  • You don’t need anything installed. Everything you need is already in our course environment.
  • Your workspace ~/catkin_ws should have an /src directory inside. Once you compile the workspace with catkin_make, you’ll see generated compilation folders /build and /devel.
  • I think for some reason the ROS installation got unsourced in the terminal you are running the command in. Try sourcing it and compiling again with catkin_make:
source /opt/ros/noetic/setup.bash
cd ~/catkin_ws
catkin_make
source devel/setup.bash

I appear to not have a ROS installation at all. Can you point me to a guide to install it?

I forgot to mention but I’m running fedora linux

I see, you are following our course in your local environment. Just FYI, it will be much easier within our course environment.

You have to install from source in fedora: Installation/Source - ROS Wiki

Yea, I wanted to use my environment because I’m going to need the stuff working if I want to purse robot development in the future. I’m struggling to get ROS downloaded though so I’ll probably start online

1 Like

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