Go to the documentation of this file.00001 #include "kalman.hpp"
00002
00003 #include "ros/ros.h"
00004
00005 int main(int argc, char *argv[])
00006 {
00007 ros::init(argc, argv, "ekf_localization_node");
00008 ros::NodeHandle node;
00009 ros::NodeHandle priv_node("~");
00010 if(argc != 2)
00011 std::cout << "No Input Image!" << std::endl;
00012
00013 double spin_rate;
00014
00015 priv_node.param("spin",spin_rate, 20.0);
00016
00017 EKFnode k(node,spin_rate);
00018
00019 ros::spin();
00020
00021 return 0;
00022 }