mrpt_rbpf_slam_app.cpp
Go to the documentation of this file.
00001 #include "mrpt_rbpf_slam/mrpt_rbpf_slam_wrapper.h"
00002 
00003 int main(int argc, char **argv)
00004 {
00005   ros::init(argc, argv, "mrpt_rpbf_slam");
00006   ros::NodeHandle n;
00007   ros::Rate r(100);
00008   PFslamWrapper slam;
00009   slam.get_param();
00010   slam.init();
00011   ros::Duration(3).sleep();
00012 
00013   if (!slam.rawlogPlay())
00014   {  // if not play from rawlog file
00015 
00016     while (ros::ok())
00017     {
00018       ros::spinOnce();
00019       r.sleep();
00020     }
00021   }
00022 }


mrpt_rbpf_slam
Author(s): Vladislav Tananaev
autogenerated on Sun Sep 17 2017 03:02:13