39 #include <boost/shared_ptr.hpp> 44 int main(
int argc,
char** argv)
51 triangle->initialize(10.0);
53 ROS_INFO(
"Triangle area: %.2f", triangle->area());
57 ROS_ERROR(
"The plugin failed to load for some reason. Error: %s", ex.what());
63 square->initialize(10.0);
65 ROS_INFO(
"Square area: %.2f", square->area());
69 ROS_ERROR(
"The plugin failed to load for some reason. Error: %s", ex.what());
int main(int argc, char **argv)