cleaned up unused source code

This commit is contained in:
Ruixiang Du
2020-07-28 19:05:25 +08:00
parent 4af0482819
commit 0e1b20cbfd
5 changed files with 5 additions and 123 deletions

View File

@@ -1,12 +0,0 @@
# Changelog for package scout_base
## 0.0.2 (2019-06-14)
------------------
* Deprecated initial serial interface support (new one under development)
* Based on Scout SDK v0.2 with CAN interface
* Contributors: Ruixiang Du
## 0.0.1 (2019-05-08)
------------------
* Initial development of scout_base for Scout
* Contributors: Ruixiang Du

View File

@@ -4,9 +4,6 @@ project(scout_base)
## Compile as C++11, supported in ROS Kinetic and newer
add_compile_options(-std=c++11)
# cmake module path
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
find_package(catkin REQUIRED COMPONENTS
roslaunch
roslint

View File

@@ -1,36 +0,0 @@
###############################################################################
# Find package: lcm
#
# This sets the following variables:
# <package>_FOUND
# <package>_INCLUDE_DIRS
# <package>_LIBRARIES
# Source: https://github.com/RobotLocomotion/director/blob/master/cmake/modules/FindLCM.cmake
macro(pkg_config_find_module varname pkgname header library pathsuffix)
find_package(PkgConfig)
pkg_check_modules(${varname}_pkgconfig ${pkgname})
find_path(${varname}_INCLUDE_DIR ${header}
HINTS ${${varname}_pkgconfig_INCLUDEDIR}
PATH_SUFFIXES ${pathsuffix}
DOC "Path to ${pkgname} include directory")
find_library(${varname}_LIBRARY ${library} HINTS ${${varname}_pkgconfig_LIBDIR} DOC "Path to ${pkgname} library")
set(${varname}_INCLUDE_DIRS ${${varname}_INCLUDE_DIR})
set(${varname}_LIBRARIES ${${varname}_LIBRARY})
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(${varname} DEFAULT_MSG ${varname}_INCLUDE_DIR ${varname}_LIBRARY)
mark_as_advanced(${varname}_INCLUDE_DIR)
mark_as_advanced(${varname}_LIBRARY)
endmacro()
pkg_config_find_module(LCM lcm lcm/lcm.h lcm lcm)