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

Checking Workspace while installing

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

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 -0500

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 -0500

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 image nikzzzlegrande  ( 2019-12-10 13:28:26 -0500 )edit

in what directory?

jordan gravatar image jordan  ( 2019-12-10 15:50:51 -0500 )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 image nikzzzlegrande  ( 2019-12-10 16:48:25 -0500 )edit

Question Tools

1 follower

Stats

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

Seen: 447 times

Last updated: Dec 10 '19