ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I just had this exact same error and the issue was that I needed to run:
source /opt/ros/noetic/setup.bash
(or .zsh as your case may be)
This should be put into your .bashrc (or .zshrc), but if you forgot or didn't, it will cause the above error.