mavros_node.cpp
Go to the documentation of this file.
00001 
00006 /*
00007  * Copyright 2013 Vladimir Ermakov.
00008  *
00009  * This program is free software; you can redistribute it and/or modify
00010  * it under the terms of the GNU General Public License as published by
00011  * the Free Software Foundation; either version 3 of the License, or
00012  * (at your option) any later version.
00013  *
00014  * This program is distributed in the hope that it will be useful, but
00015  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
00016  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
00017  * for more details.
00018  *
00019  * You should have received a copy of the GNU General Public License along
00020  * with this program; if not, write to the Free Software Foundation, Inc.,
00021  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
00022  */
00023 
00024 #include <mavros/mavros.h>
00025 
00026 int main(int argc, char *argv[])
00027 {
00028         ros::init(argc, argv, "mavros");
00029         ros::NodeHandle nh("~");
00030 
00031         mavros::MavRos mavros(nh);
00032         mavros.spin();
00033 
00034         return 0;
00035 }
00036 


mavros
Author(s): Vladimir Ermakov
autogenerated on Wed Aug 26 2015 12:29:13