Running terminal commands of Ros from python script
How do I use rosrun mavros mavsafety from inside another python script? I tried using os module in python but the response was “FileNotFoundError: [Errno 2] No such file or directory: ‘rosrun’”
I am using ros kinetic on emlid's raspbian image(Rpi3).
Could it be that your not sourcing your ros environement in the shell used by python?
try to add a source command in your .bashrc file