Commanline is not working to create a catkin workplace in Ubuntu 14.04 for ROS

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



Commanline is not working to create a catkin workplace in Ubuntu 14.04 for ROS



I am actually a newbie in both ROS and Linux. For that, I am a bit struggling with all these kinds of stuff.



I was trying to make catkin workplace and initialize it using the following commands:


$ mkdir -p ~/catkin_ws/src
$ cd ~/catkin_ws/src
$ catkin_init_workspace



Before that I have added the system-wide ROS setup script to .bashrc file by:


.bashrc


$ source /opt/ros/indigo/setup.bash



The terminal shows this:


$ source /opt/ros/indigo/setup.bash
$ mkdir -p ~/catkin_ws/src
$ cd ~/catkin_ws/src
$ catkin_init_workplace
catkin_init_workplace: command not found



Struggling with the line 'command not found'. Why is this happening? How can I solve it?




1 Answer
1



Once you have added ROS setup script to your .bashrc, you have to logout/login or, preferably, reboot the system. Once logged in again, the script will be automatically loaded and the additional catkin scripts will become visible.


.bashrc



You may check that with which catkin_init_workspace even without running it.


which catkin_init_workspace





It worked. Thanks a lot!
– Erphan Ahmmad Bhuiyan
Aug 12 at 9:10






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

How to determine optimal route across keyboard