Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 43

How can I create my own ROS C++ library?

$
0
0
Hello All, This might be a repeat question (although I checked out some of the recommendations that ROS Answers asked me to look at while typing the title of this question, but they didn't seem relevant). Here goes. So I have a C++ header file called "force_torque.h" (I had issues with this, but thanks to @jbohren I was able to fix those) and I want to convert it into a ROS library. So basically, I want it to be a valid ROS package, yet I also want other ROS packages to be able to depend on this package. So far, I have just been able to create a new package using 'roscreate-pkg'. Now I have a feeling that I need to modify "CMakeLists.txt" somehow, but I don't know how. Is there any good ROS tutorial on how to do this? Or if it could be described here on this question below, I would be very grateful. Thanks, and all help is greatly appreciated! Nishant

Viewing all articles
Browse latest Browse all 43

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>