How to include RF24 and RF24Network libraries into my package on RaspberryPi

asked 2019-08-23 13:03:49 -0500

giuseppe19 gravatar image

What is the right procedure to include these libraries into my ROS package?

I have to create a .cpp file (called for example broadcaster.cpp) in my package(called for example mypackageexample) that is something similar to:

    #include <ros/ros.h>
    #include <tf/transform_broadcaster.h>
    #include <RF24/RF24.h>
    #include <RF24Network/RF24Network.h>

int main()
return 0;

At this moment I am using VSCode and its plugin to develop with ROS. The link for the libraries are: and

This package could be distributed and should work also on a raspberry pi different from mine.

Thanks in advance for your time.

edit retag flag offensive close merge delete