including a new package in a node
Hi guys,
I'm trying to add a random number generator to the scan n plan application and its proving to be more difficult than I thought it would be. I found a package https://github.com/ros-planning/rando... that I want to include.
I installed the .deb and can find the packing using rospack find.
I added random_numbers in the find_package(catkin REQUIRED COMPONENTS ) and catkin_package() sections of my top level cmake file. I also added depend tag of random_numbers in my top level package.xml file.
in the C++ file I want to use the random number functions, I included the .h as
#include random_numbers/random_numbers.h
I then instantiate an instance as
random_numbers::RandomNumberGenerator generator;
I keep getting the following error message: error: undefined reference to `random_numbers::RandomNumberGenerator::RandomNumberGenerator()'
any thoughts on what I'm missing? this is probably the first thing I've tried that really deviates from the intro.