[rosrun] Couldn't find executable named mavsys
Hi all,
This problem appear when I update Mavros version to 1.7.
I also update the mavlink and control toobox to the last version.
And it is not be solved.
and that should be like this
Thanks for someone who responses >< !
Asked by YingHua on 2016-04-01 01:10:27 UTC
Answers
Seems you only have the C++ executables that get built in this project.
Did you install this from source or via apt-get?
If from source, double check if the python scripts in mavros/scripts/
are actually executable...
EDIT
@YingHua you then probably lost the file permissions due to a USB Drive which was formatted with a filesystem that does not support file permissions (e.g. NTFS
or FAT
, if I'm not mistaken). If you want to transfer data from one PC to another via USB, best use an EXT
formatted dive to avoid this problem.
Asked by mgruhler on 2016-04-01 01:20:43 UTC
Comments
I just solved it ^^ all because of the permission . and thank you for response!!
sudo chmod a+x ~/catkin_ws/src/mavros/mavros/scripts/mavsys
Asked by YingHua on 2016-04-01 01:25:41 UTC
@YingHua: please accept the answer by @mig by ticking the checkmark to the left of this answer. We don't normally close questions here on ROS Anwers, not even when they've been answered.
Asked by gvdhoorn on 2016-04-01 01:31:19 UTC
Also: please answer @mig's question: how did you install the mavros files? scripts/mavsys should have executable permissions already set, a git clone
or installation through apt-get
should not change that.
Asked by gvdhoorn on 2016-04-01 01:33:47 UTC
@gvdboorn :OK,Thanks for reminding me!
Dear @mig : there is some problem with my platform internet so that I download source code form github and move that to platform with usb.
Asked by YingHua on 2016-04-05 20:20:12 UTC
@YingHua Thanks a lot! That solved my problem too. But, the first time I executed, I don't remember doing this. why are the permissions lost?
Asked by Karthikeya Parunandi on 2017-03-14 09:33:01 UTC
Comments