Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't find executable named caffe_ros_node below /root/ws/src/caffe_ros #112

Open
savath opened this issue Feb 3, 2019 · 3 comments
Open

Comments

@savath
Copy link

savath commented Feb 3, 2019

Hello,

I'm on the "Running DNN and controller nodes" within the "Testing in Simulator" section. I was able to run the image publisher node in step 2 but when i tried running the DNN node in step 3, i got an error saying:

[rosrun] Couldn't find executable named caffe_ros_node below /root/ws/src/caffe_ros

I went into the /root/ws/src/caffe_ros and confirmed that there was no executable file name caffe_ros_node but when i went further into /root/ws/src/caffe_ros/src, i see a file name caffe_ros_node.cpp. I was wondering if this is the file that needs to be in /root/ws/src/caffe_ros? If not, how would i fix the error?

Please see attached image for a screen shot on this issue.

screenshot from 2019-02-02 17-25-06

@savath
Copy link
Author

savath commented Feb 6, 2019

@Alexey-Kamenev
We were not able to solve the above issue. We tried to run catkin_make from the catkin workspace and ran into the following build errors:

screenshot from 2019-02-05 18-48-31

After doing some research, we think it could be a problem with OpenCV or TensorRT? We currently do not have OpenCV installed on the host and have TensorRT 4.0.1.6 as a .tar file (which was used to build the docker image). Are we missing a step in, which is the cause of our rosrun errors?

@earcz
Copy link

earcz commented Feb 6, 2019

Try this:
When you start docker, extract tensorrt.tar.gz and go inside tensorrt directory. Afterwards, copy include/* and lib/* into /usr/include and /usr/lib respectively.

As for Opencv, you should install opencv-2.x on host.

@Alexey-Kamenev
Copy link
Collaborator

Did you provide the correct version of TensroRT when building a Docker image (as documented here)? You need to use TRT 4.x as redtail is not tested with later versions and may not work. In general, if you build the image using our scripts/instructions then you don't need to install anything else. If you already built an image without proper version of TRT then follow instructions in the previous response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants