Coder Social home page Coder Social logo

Make Error about kinova-ros HOT 3 CLOSED

kinovarobotics avatar kinovarobotics commented on June 5, 2024
Make Error

from kinova-ros.

Comments (3)

mlauret avatar mlauret commented on June 5, 2024

Hello,

I'm not from Kinova but I think I can help :)

You probably write about the line #include <KinovaTypes.h> , which tell the compiler to look in the default include path (/usr/include and <catkin_ws>/kinova_driver/include according to the CMakelists.txt)

A clean method would be to install the kinova SDK, which install the file KinovaTypes.h in /usr/include/KinovaTypes.h and that would solve this error.

A cleaner method would be to change #include <KinovaTypes.h> to #include <kinova/KinovaTypes.h> or #include "kinova/KinovaTypes.h" since this is where the file is located in the ROS Stack (<catkin_ws>/kinova_driver/include/kinova/KinovaTypes.h) and how the other include are added (look at kinova_api.h : #include "kinova/Kinova.API.UsbCommandLayerUbuntu.h" )

That pretty weird, but replacing #include <KinovaTypes.h> to #include "KinovaTypes.h" didn't solve the problem for me.

Edit : Didn't see it but The pull request #64 solve this problem :)

from kinova-ros.

LongfeiProjects avatar LongfeiProjects commented on June 5, 2024

Thanks @mlauret , that is a very clear explanation.

#include "KinovaTypes.h" is indeed looking for a path which exists when kinova SDK is installed. This should not be necessary, but highly recommended due to SDK's power on controlling/observing robot outside of ROS.

You can delete this line, because #include <kinova/KinovaTypes.h> is already there in kinova_comm.h

I would correct this soon.

from kinova-ros.

AnandRamakrishnan09 avatar AnandRamakrishnan09 commented on June 5, 2024

@mlauret, @LongfeiProjects Thanks for the replies makes it clear. @mlauret I had to copy the KinovaTypes.h header file into the /kinova_driver/src to make it work :), forgot to mention that I guess.

from kinova-ros.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.