First commit of the code
This commit is contained in:
		
							
								
								
									
										1510
									
								
								src/image_processor.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1510
									
								
								src/image_processor.cpp
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										24
									
								
								src/image_processor_nodelet.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								src/image_processor_nodelet.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
/*
 | 
			
		||||
 * 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;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
PLUGINLIB_DECLARE_CLASS(msckf_vio, ImageProcessorNodelet,
 | 
			
		||||
    msckf_vio::ImageProcessorNodelet, nodelet::Nodelet);
 | 
			
		||||
 | 
			
		||||
} // end namespace msckf_vio
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1492
									
								
								src/msckf_vio.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1492
									
								
								src/msckf_vio.cpp
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										24
									
								
								src/msckf_vio_nodelet.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								src/msckf_vio_nodelet.cpp
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
/*
 | 
			
		||||
 * COPYRIGHT AND PERMISSION NOTICE
 | 
			
		||||
 * Penn Software MSCKF_VIO
 | 
			
		||||
 * Copyright (C) 2017 The Trustees of the University of Pennsylvania
 | 
			
		||||
 * All rights reserved.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include <msckf_vio/msckf_vio_nodelet.h>
 | 
			
		||||
 | 
			
		||||
namespace msckf_vio {
 | 
			
		||||
void MsckfVioNodelet::onInit() {
 | 
			
		||||
  msckf_vio_ptr.reset(new MsckfVio(getPrivateNodeHandle()));
 | 
			
		||||
  if (!msckf_vio_ptr->initialize()) {
 | 
			
		||||
    ROS_ERROR("Cannot initialize MSCKF VIO...");
 | 
			
		||||
    return;
 | 
			
		||||
  }
 | 
			
		||||
  return;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
PLUGINLIB_DECLARE_CLASS(msckf_vio, MsckfVioNodelet,
 | 
			
		||||
    msckf_vio::MsckfVioNodelet, nodelet::Nodelet);
 | 
			
		||||
 | 
			
		||||
} // end namespace msckf_vio
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user