My script seemed to run when the directory was removed from the path. I got the error the lesson mentioned but the robot moved anyway.
Have I messed something up?
My script seemed to run when the directory was removed from the path. I got the error the lesson mentioned but the robot moved anyway.
wow but i have no answer
Hello there!
First thing, can you explain more what you did before arriving to this state.
It looks like you did some changes (like delating your repo) but you didn’t rebuild the work space nor source. If it is the case, don’t forgot to always rebuild ansd source everytime you do any change in your workspace otherwise you won’t be able to see what you updated.
Hi @Droidling ,
According to your screenshot, the path to your catkin workspace packages is missing because it does not appear in the environment variable ROS_PACKAGE_PATH.
You can follow the instructions in section “3.4.3 Setting a variable with export” of the course to solve this problem and read for more details.
So my quick solution for this problem is just executing this command to add the path to the environment variable in your terminal before running the rosrun command:
export ROS_PACKAGE_PATH="/home/user/catkin_ws/src:/home/simulations/public_sim_ws/src:/opt/ros/kinetic/share"
I hope you would solve your problem with this solution.
Regards,
Tung Ngo
Hi @Droidling,
According to your screenshot, you have more environment variables than what is shown in the course as an example.
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.