ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

From this:

image description

It would seem the roscore binary is there.

It is probably not on the path. You may have forgotten to source /opt/ros/melodic/setup.bash before trying to run roscore.

Do i need to source it every time?

Yes. Unless you add it to your .bashrc (or similar shell setup file)

it was not always there.

The binary was probably always there (as in: the file itself).

It will only be on the path after you've ran source /opt/ros/melodic/setup.bash.