Exercise 2.1 - Cannot source ros2 workspace

In exercise 2 we need to create ros2 pkg. so first, it’s necessary to source ros2 workspace.
I tried with source /opt/ros/foxy/setup.bash but I got : bash: /opt/ros/foxy/setup.bash: No such file or directory
Why? what should I do?

Hello @omerdanieli ,

This course is based on ROS1. So, you have to create a ROS1 package, not ROS2.