Issue Creating a Stretch ROS Workspace in my PC

Hi,

I want to interface with my Stretch 2 using ROS remoter master so I am following the instructions to install a ROS workspace to get all stretch packages in my PC but I am getting the following error when I run this command.

tony@tony-Lenovo-Legion-Y530-15ICH-1060:~/stretch_install$ ./factory/20.04/stretch_create_catkin_workspace.sh -w ~/hello_robot_catkin_ws
###########################################
CREATING NOETIC CATKIN WORKSPACE at /home/tony/hello_robot_catkin_ws
###########################################
Ensuring correct version of ROS is sourced...
Deleting /home/tony/hello_robot_catkin_ws if it already exists...
Creating the workspace directory...
Cloning the workspace's packages...
./factory/20.04/stretch_create_catkin_workspace.sh: line 54: vcs: command not found

Hi @tony_rob, would you try installing sudo apt install python3-vcstool on your PC and then retrying that script? I believe the issue occurs because that script is typically run on the robot, where python3-vcstool is already installed. For remote ROS master, it makes sense to use that script to create a workspace on your PC, so if installing the python3-vcstool pkg fixes this issue, I can fix this bug in the new workspace script.

1 Like