Robotics StackExchange | Archived questions

[rosrun] Couldn't find executable named mavros_node

Hello there!

I have been trying to run mavrosnode using the command `rosrun mavros mavrosnodebut it returns me[rosrun] Couldn't find executable named mavrosnode below /home/username/catkinws/src/mavros/mavros`.

When I check mavros/mavros/scripts there isn't a file named mavros_node inside. Did I install mavros wrongly?

I followed the instructions for source installation https://github.com/mavlink/mavros/blob/master/mavros/README.md#installation

I am running Ubuntu 16.04.5 LTS and kinetic as my ros distro.

Ultimately aiming to use the bluerovrosplayground package to help automate my bluerov2.

Could use some help! :)

Asked by fzeak on 2019-01-23 22:04:41 UTC

Comments

Can you tell us why you installed mavros from source? The readme you link has a section titled "Binary installation (deb)".

Asked by gvdhoorn on 2019-01-24 03:48:55 UTC

Answers

Inside mavros/mavros/src must be the mavros_node.cpp file that will be used in rosrun mavros mavros_node.

Maybe it is just a problem of source of the bash, try to source it again source ~/catkin_ws/devel/setup.bash.

Asked by luc.ac on 2020-07-11 14:52:41 UTC

Comments