2018-01-08 20:41:37 +01:00
|
|
|
/*
|
|
|
|
* COPYRIGHT AND PERMISSION NOTICE
|
|
|
|
* Penn Software MSCKF_VIO
|
|
|
|
* Copyright (C) 2017 The Trustees of the University of Pennsylvania
|
|
|
|
* All rights reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <msckf_vio/image_processor_nodelet.h>
|
|
|
|
|
|
|
|
namespace msckf_vio {
|
|
|
|
void ImageProcessorNodelet::onInit() {
|
|
|
|
img_processor_ptr.reset(new ImageProcessor(getPrivateNodeHandle()));
|
|
|
|
if (!img_processor_ptr->initialize()) {
|
|
|
|
ROS_ERROR("Cannot initialize Image Processor...");
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2018-12-30 11:54:19 +01:00
|
|
|
PLUGINLIB_EXPORT_CLASS(msckf_vio::ImageProcessorNodelet,
|
|
|
|
nodelet::Nodelet);
|
2018-01-08 20:41:37 +01:00
|
|
|
|
|
|
|
} // end namespace msckf_vio
|
|
|
|
|