ERROR: cannot launch node of type [trafficlight_recognizer/region_tlr_ssd]: Cannot locate node of type [region_tlr_ssd] in package [trafficlight_recognizer]. Make sure file exists in package path and permission is set to executable (chmod +x)

asked 2021-01-14 23:24:46 -0500

meng100 gravatar image

updated 2021-01-19 04:35:37 -0500

mgruhler gravatar image

Straight dump of the error message

ERROR: cannot launch node of type [trafficlight_recognizer/region_tlr_ssd]: Cannot locate node of type [region_tlr_ssd] in package [trafficlight_recognizer]. Make sure file exists in package path and permission is set to executable (chmod +x)

I have already given +x permission to region_tlr_ssd, and the files inside, still error

autoware@meng-MS-7C87:/home/autoware/Autoware/install/trafficlight_recognizer/share/trafficlight_recognizer/nodes$ ls -lah
total 56K
drwxr-xr-x 1 autoware autoware 4.0K Jan  7 13:29 .
drwxrwxrwx 1 autoware autoware 4.0K Jan 15 05:05 ..
drwxr-xr-x 2 autoware autoware 4.0K Jan  7 13:29 feat_proj
drwxr-xr-x 2 autoware autoware 4.0K Jan  7 13:29 feat_proj_lanelet2
drwxr-xr-x 2 autoware autoware 4.0K Jan  7 13:29 label_maker
drwxr-xr-x 2 autoware autoware 4.0K Jan  7 13:29 region_tlr
drwxr-xr-x 2 autoware autoware 4.0K Jan  7 13:29 region_tlr_mxnet
**drwxrwxrwx 1 autoware autoware 4.0K Jan  7 13:29 region_tlr_ssd**
drwxr-xr-x 2 autoware autoware 4.0K Jan  7 13:29 roi_extractor
drwxr-xr-x 2 autoware autoware 4.0K Jan  7 13:29 tl_switch
drwxr-xr-x 2 autoware autoware 4.0K Jan  7 13:29 tlr_tuner

autoware@meng-MS-7C87:/home/autoware/Autoware/install/trafficlight_recognizer/share/trafficlight_recognizer/nodes/region_tlr_ssd$ ls -lah
total 48K
drwxrwxrwx 1 autoware autoware 4.0K Jan  7 13:29 .
drwxr-xr-x 1 autoware autoware 4.0K Jan  7 13:29 ..
**-rwxr-xr-x 1 autoware autoware 1.1K Jan  7 13:29 README.md
-rwxr-xr-x 1 autoware autoware  17K Jan  7 13:29 region_tlr_ssd.cpp
-rwxr-xr-x 1 autoware autoware 6.5K Jan  7 13:29 traffic_light_recognizer.cpp**

It's still failing me!!! could anyone help me please? thanks in advance!

edit retag flag offensive close merge delete

Comments

Do you see the trafficlight_recognizer package on the ROS package path?

To check this run echo $ROS_PACKAGE_PATH in a terminal and inspect it.

EDIT: O wait, it looks like it already finds the package. IDK what i was thinking lol

JackB gravatar image JackB  ( 2021-01-19 10:50:56 -0500 )edit

That's ok, thanks for looking into this problem! Hopefully more people will help look into it...

meng100 gravatar image meng100  ( 2021-01-28 19:32:49 -0500 )edit