How could I use "ROS" commands in a bash file ?
Hey ! First, i'm sorry for my english , i don't use translator and i'm not really good at.
Let me explain my problem : I want to use "PuTTY" via Windows' terminal (to connect to linux) with the arguments "-m" and a file .txt This file will be read by PuTTY and execute line by line the commands. But there's a problem , every linux' commands works, but "catkin_make" or "rosrun" it wrote :
bash: line 2: catkin_make: command not found
per exemple
However , i can use it manually via PuTTY
How can I use ROS commands in a bash file ?
Thanks.