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

Question on creating a ROS Workspace during installation

asked 2020-04-06 16:34:57 -0500

new_to_ros gravatar image

updated 2020-04-06 16:36:56 -0500

Hi, I am installing ROS1 on Ubuntu 16.04. I have followed the steps up to Section 3. Create a ROS Workspace of the installation tutorial.

http://wiki.ros.org/ROS/Tutorials/Ins...

I have executed:

$ mkdir -p ~/catkin_ws/src

$ cd ~/catkin_ws/

$ catkin_make

If I stay with Python 2.7, do I still need to execute the following two commands after catkin_make?

$ source devel/setup.bash

$ echo $ROS_PACKAGE_PATH

edit retag flag offensive close merge delete

Comments

Thank you.

new_to_ros gravatar image new_to_ros  ( 2020-04-06 18:29:57 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-04-06 17:45:50 -0500

updated 2020-04-06 17:46:06 -0500

The command:

$ echo $ROS_PACKAGE_PATH

It is not needed, however, always when you're going to use a workspace you must source the setup.bash

"This command tells which packages are inside the workspace."

And it is not directly connected with your Python Version.

edit flag offensive delete link more

Comments

Thank you.

new_to_ros gravatar image new_to_ros  ( 2020-04-06 19:57:24 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-04-06 16:34:57 -0500

Seen: 81 times

Last updated: Apr 06 '20