Ask Your Question
0

Checking Workspace while installing

asked 2019-12-10 11:27:44 -0600

nikzzzlegrande gravatar image

i was installing ros melodic following this link http://wiki.ros.org/ROS/Tutorials/Ins... i typed this command to check my workspcae

echo $ROS_PACKAGE_PATH

and i got this

/opt/ros/melodic/share

instead of

/home/youruser/catkin_ws/src:/opt/ros/kinetic/share

can i continue without any problem or do i have any. pls help this is my first time

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2019-12-10 16:48:50 -0600

nikzzzlegrande gravatar image

ok I found out solution and fixed it. while making the catkin workspace mkdir -p ~/catkin_ws/src cd ~/catkin_ws/src catkin_init_workspace

use the above command to initialize the workspace and then you can just continue with

cd ~/catkin_ws catkin_make

edit flag offensive delete link more
0

answered 2019-12-10 12:53:56 -0600

jordan gravatar image

To setup your environment, you should run source devel/setup.bash. Did you run source devel/setup.bash?

edit flag offensive delete link more

Comments

yeah i did

nikzzzlegrande gravatar imagenikzzzlegrande ( 2019-12-10 13:28:26 -0600 )edit

in what directory?

jordan gravatar imagejordan ( 2019-12-10 15:50:51 -0600 )edit

Thank you for your time! Found out solution and fixed it. while making the catkin workspace mkdir -p ~/catkin_ws/src cd ~/catkin_ws/src catkin_init_workspace

use the above command to initialize the workspace and then you can just continue with

cd ~/catkin_ws catkin_make

nikzzzlegrande gravatar imagenikzzzlegrande ( 2019-12-10 16:48:25 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-12-10 11:27:44 -0600

Seen: 11 times

Last updated: Dec 10 '19