Auterion / px4-ros2-interface-lib

Library to interface with PX4 from a companion computer using ROS 2
BSD 3-Clause "New" or "Revised" License
68 stars 21 forks source link

Issue Running RTL Example After Build and Source #61

Closed Kametor closed 1 month ago

Kametor commented 1 month ago

Hi, I have encountered an issue while trying to run the RTL example from the example_mode_rtl_replacement_cpp package in my ROS 2 workspace.

After successfully building the workspace and sourcing the environment, I attempt to run the example with the following command: ros2 run example_mode_rtl_replacement_cpp example_mode_rtl_replacement However, this results in the following error: No executable found I've checked the build process, and there are no obvious errors. I also verified that I sourced the workspace correctly. Despite this, the executable doesn't seem to be recognized when I attempt to run it.

Could you please assist me in identifying the issue, or if possible, could you try running this example on your end to see if the same problem occurs? Any insights or suggestions you can provide would be greatly appreciated.

Thank you for your support.

GuillaumeLaine commented 1 month ago

Hi @Kametor, It looks like you've got the wrong executable name. Can you try this run command instead?

ros2 run example_mode_rtl_replacement_cpp example_mode_rtl
Kametor commented 1 month ago

It worked, thanks