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

grl_kuka_ros_driver.cpp - Compile and Execution Issue #179

Open
vec123 opened this issue Jan 31, 2020 · 0 comments
Open

grl_kuka_ros_driver.cpp - Compile and Execution Issue #179

vec123 opened this issue Jan 31, 2020 · 0 comments

Comments

@vec123
Copy link

vec123 commented Jan 31, 2020

Hi, I installed grl according to the Ubuntu 16.04 Automated Installation mentioned in https://github.com/ahundt/grl/blob/master/INSTALL.md and got to the point where I have an GRL-driver application on my smartpad.

When I start it I get: "FRI Joint Overlay Complete!".
Now I would like to start the C++ Node "grl_kuka_ros_driver.cpp" to enable sending commands via rostopics (to an kuka Iiwa 7).

However I can not find any executable in the build directory and get the following error if I try to compile with "g++ grl_kuka_ros_driver.cpp -std=c++11" :

--> fatal error: grl/ros/KukaLBRiiwaROSPlugin.hpp No such file or directory.

This is related to the import in the first line of the code. However, the file exists in the include folder of my grl location. If I insert the complete import path manually, then I get the same import related error, but one layer deeper in the KukaLBRiiwaROSPlugin.hpp file, where it states:

--> fatal error: ros/ros.h No such file or directory.

The file exists in opt/ros/kinetic/include/ but apparently the compiler does not look there.

My Ubuntu Version is 16.04. The grl_kuka.sh contains the following lines:

if [ "$DISTRIB_RELEASE" = "16.04" ] || [ "$DISTRIB_RELEASE" = "14.04" ]; then
./ros.sh
EXTRA_TOOLS="-DWITH_ROS=ON"
fi

making me assume that the flag DWITH_ROS=ON is set.

I do not know how to solve this issue. Is there something wrong with my compile options? If so, how do I change them? Or if not, is an executable for the .cpp file created during the execution of ./grl_kuka.sh and how can i locate (or create) it?

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

1 participant