tuw-robotics / tuw_marker_detection

28 stars 28 forks source link

[rosrun] Couldn't find executable named aruco_node below tuw_marker_detection/tuw_aruco #3

Closed rahulsharma11 closed 4 years ago

rahulsharma11 commented 5 years ago

Hi, I am using this project with ros-melodic. After building i sourced the "tuw_marker_detection/tuw_aruco/build/devel/setup.bash" Then after running "rosrun tuw_aruco aruco_node", i got error-

[rosrun] Couldn't find executable named aruco_node below /home/rahul/tuw_marker_detection/tuw_aruco [rosrun] Found the following, but they're either not files, [rosrun] or not executable: [rosrun] /home/rahul/tuw_marker_detection/tuw_aruco/build/devel/lib/tuw_aruco/aruco_node

Any suggestion? Thanks.

maxbader commented 5 years ago

Can you try to run it without rossrun within the /home/rahul/tuw_marker_detection/tuw_aruco/build/devel/lib/tuw_aruco/ folder

cd /home/rahul/tuw_marker_detection/tuw_aruco/build/devel/lib/tuw_aruco/
./aruco_node
rahulsharma11 commented 5 years ago

Hi, I ran simple ./aruco_node then it just gets hang displaying nothing in terminal.

maxbader commented 5 years ago

If the executable can not be found you have to check your build system. And do not forget to start the roscore first

rahulsharma11 commented 5 years ago

Hi, I have started the roscore already. And i can found aruco_node in "tuw_marker_detection/tuw_aruco/build/devel/lib/tuw_aruco/" folder.

Is there any output expected by ./aruco-node?

yulan0215 commented 4 years ago

Hi, I have started the roscore already. And i can found aruco_node in "tuw_marker_detection/tuw_aruco/build/devel/lib/tuw_aruco/" folder.

Is there any output expected by ./aruco-node?

I have the same problem, did you solve it?

doctorseus commented 4 years ago

Duplicate of #5

doctorseus commented 4 years ago

@rahulsharma11 there is no output on stdout or err for aruco_node at the moment. If you have no core running it will print an error. I will consider printing a status message so it's easier to identify if it's running. By itself at the moment the node will just output messages which you could monitor with rostopic echo if a marker is found.