This is an example of a simple node with one callback-based subscriber
#include <b0/node.h>
#include <b0/subscriber.h>
#include <iostream>
void callback(const std::string &msg)
{
std::cout << "Received: " << msg << std::endl;
}
int main(int argc, char **argv)
{
node.init();
node.spin();
node.cleanup();
return 0;
}