RoboJackets / software-training

RoboJackets Software Training
MIT License
153 stars 191 forks source link

Outdated Source Command for Project 1 "2.10 Run Project". #230

Open ConveyedFlyer98 opened 1 month ago

ConveyedFlyer98 commented 1 month ago

Project1-2.10-RJSoftwareTrainingBug.md

ConveyedFlyer98 commented 1 month ago

Name: Project 1 Bug About: Report a bug in software-training-old/projects/week_1/Instructions.md Title: 'Outdated Source Command for Project 1 "2.10 Run Project".'

Description

Outdated command for project 1 (projects/week 1) in RoboJackets software training.

Link to project 1: https://github.com/RoboJackets/software-training-old/blob/main/projects/week_1/Instructions.md

Under "2.10 Run project", the following source command in the training workspace overlay setup file does not work.

Steps To Reproduce

  1. run "$ source ~/training_ws/install/setup.bash" in the linux docker terminal.
  2. To fix this error, run "$ source ./install/setup.bash" instead.

Result: This leads to "bash: /home/ubuntu/training_ws/install/setup.bash: No such file or directory".

Expected behavior

Sources the training workspace overlay setup file.

Screenshots

RJSoftwareTrainingBug

MukilanKarthikeyan commented 2 weeks ago

thank you for brining it up! Issue addressed, will update when PR pushed

issue arises from outdated directory setup -> long term fix employed by creating path variable to the training_ws directory in bash

export TRAINING_SPACE="/path/to/directory" based on what your path is and then source $TRAINING_SPACE/install/setup.bash

MukilanKarthikeyan commented 1 week ago

fixed #233