tree_kinematics_node.cpp
Go to the documentation of this file.
00001 /*
00002  * Software License Agreement (GNU Lesser General Public License)
00003  *
00004  * Copyright (c) 2011, PAL Robotics, S.L.
00005  * All rights reserved.
00006  *
00007  * This library is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 2.1 of the License, or (at your option) any later version.
00011  *
00012  * This library is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with this library; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00020  */
00027 #include "tree_kinematics/tree_kinematics.h"
00028 
00036 int main(int argc, char** argv)
00037 {
00038   ros::init(argc, argv, "tree_kinematics_node");
00039   ros::NodeHandle nh;
00040   tree_kinematics::TreeKinematics tree_kinematics;
00041 
00042   if(!tree_kinematics.init())
00043   {
00044     ROS_FATAL("Could not initialise tree kinematics node! Aborting ...");
00045     return -1;
00046   }
00047   else
00048   {
00049     ROS_INFO("Tree kinematics node initialised.");
00050     ros::spin();
00051   }
00052   return 0;
00053 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


tree_kinematics
Author(s): Marcus Liebhardt
autogenerated on Thu Jun 27 2013 16:12:20