00001 /* 00002 * Copyright (c) 2015, Robosavvy Ltd. 00003 * All rights reserved. 00004 * Author: Vitor Matos 00005 * 00006 * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the 00007 * following conditions are met: 00008 * 00009 * 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the 00010 * following disclaimer. 00011 * 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the 00012 * following disclaimer in the documentation and/or other materials provided with the distribution. 00013 * 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote 00014 * products derived from this software without specific prior written permission. 00015 * 00016 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED 00017 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 00018 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 00019 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 00020 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 00021 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 00022 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00023 */ 00024 00025 #ifndef ROSSERIAL_TIVAC_SRC_ROS_LIB_ROS_H 00026 #define ROSSERIAL_TIVAC_SRC_ROS_LIB_ROS_H 00027 00028 #include <ros/node_handle.h> 00029 00030 #ifdef USE_USBCON 00031 #include <tivac_hardware_usb.h> 00032 #else 00033 #include <tivac_hardware.h> 00034 #endif 00035 00036 namespace ros 00037 { 00044 typedef NodeHandle_<TivaCHardware> NodeHandle; 00045 } 00046 #endif // ROSSERIAL_TIVAC_SRC_ROS_LIB_ROS_H