ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
2 ideas that might help:
First off, make sure ROS and your ROS workspace are sourced in this terminal. You can check by entering the following in a terminal:
echo $ROS_PACKAGE_PATH
It should show /opt/ros/[version]/share as well as files related to your workspace. If not, enter the following (and consider appending them to your ~/.bashrc):
source opt/ros/melodic/setup.bash
source ~/[workspace]/devel/setup.bash
Second, I believe std_msgs and rosgraph_msgs are core ROS packages (at least in Melodic) and should probably not be located in your catkin library. I recommend removing them and cleaning then building your workspace.
If these suggestions don't help, here are some similar questions to look at: 1, 2, 3
2 | No.2 Revision |
2 ideas that might help:
First off, make sure ROS and your ROS workspace are sourced in this terminal. You can check by entering the following in a terminal:
echo $ROS_PACKAGE_PATH
It should show /opt/ros/[version]/share as well as files related to your workspace. If not, enter the following (and consider appending them to your ~/.bashrc):
source opt/ros/melodic/setup.bash
/opt/ros/melodic/setup.bash
source ~/[workspace]/devel/setup.bash
Second, I believe std_msgs and rosgraph_msgs are core ROS packages (at least in Melodic) and should probably not be located in your catkin library. I recommend removing them and cleaning then building your workspace.
If these suggestions don't help, here are some similar questions to look at: 1, 2, 3