0
$\begingroup$

My ROS-system was working pretty well.

Then, I installed rosdep by using sudo apt install python-rosdep2, which ended fine without showing any issues. Then I issued

sudo rosdep init
sudo rosdep update

which also ended without showing issues.

But now, my ROS-installation seems to be broken because I can't source my ROS any more!

For example, typing ROS-commands, such as

roscore or rqt

results in:

enter image description here

Sourcing, as usual with source /opt/ros/meldoic/setub.bash makes no difference.

What has happened? How to fix this?

Additional Info:

Typing ros<tab><tab> only shows me the following options anymore:

enter image description here

Where is all the rest gone?

$\endgroup$
0
$\begingroup$

Install ROS properly again using (Just execute this command, don't worry nothing will be installed twice) sudo apt-get update
sudo apt-get install ros-melodic-desktop-full

also source your ROS packages using (there seems to be a typo in what you've typed above)
source /opt/ros/melodic/setup.bash
You can add this line to your .bashrc file so your ROS automatically get sourced everytime you open any terminal.

| improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.