0
$\begingroup$

Something seems broken with sourcing workspaces on my machine. This previously worked but seems broken of it's own accord..

OS Ubuntu 22

Building with catkin tools

Before

printenv | grep ROS_PACKAGE
ROS_PACKAGE_PATH=/opt/dev/ros1/share

Clean to be sure

catkin clean --yes

Source underlay

source /opt/dev/ros1/setup.bash

Build it

$ catkin build
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Profile:                     default
Extending:        [explicit] /opt/dev/ros1
Workspace:                   /home/bearrito/dev

Compiles fine

Source

source devel/setup.bash

ROS Package Path not being set correctly.

printenv | grep ROS_PACKAGE
ROS_PACKAGE_PATH=/opt/dev/ros1/share

ROSCD also takes me to the underlay not my overlay.

This is happening even if I create a new workspace and catkin init in that one.

Very similar to - roscd does not return a specific workspace after sourcing setup.bash. However those steps don't work for me.

$\endgroup$

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.