<commit_before>cmake_minimum_required(VERSION 2.8.3)
project(velodyne_pointcloud)

set(velodyne_pointcloud_CATKIN_DEPS 
    angles
    nodelet
    pcl_ros
    roscpp
    roslib
    sensor_msgs
    tf
    velodyne_driver
    velodyne_msgs)

find_package(catkin REQUIRED COMPONENTS ${velodyne_pointcloud_CATKIN_DEPS} rostest)
find_package(Boost COMPONENTS signals)
find_package(pcl)

# Resolve system dependency on yaml-cpp, which apparently does not
# provide a CMake find_package() module.
find_package(PkgConfig REQUIRED)
pkg_check_modules(YAML_CPP REQUIRED yaml-cpp)
find_path(YAML_CPP_INCLUDE_DIR
          NAMES yaml_cpp.h
          PATHS ${YAML_CPP_INCLUDE_DIRS})
find_library(YAML_CPP_LIBRARY
             NAMES YAML_CPP
             PATHS ${YAML_CPP_LIBRARY_DIRS})

include_directories(include ${catkin_INCLUDE_DIRS})

add_subdirectory(src/lib)
add_subdirectory(src/conversions)

catkin_package(
    CATKIN_DEPENDS ${velodyne_pointcloud_CATKIN_DEPS}
    DEPENDS yaml-cpp python-yaml
    INCLUDE_DIRS include
    LIBRARIES velodyne_rawdata)

### install some launch scripts and parameter files

# unit tests
#
# $ROS_BUILD_TEST_LABEL controls which label "make test" runs
#
#  * if unset, all tests run
#  * tests labelled "pcap" require more processor time than the
#    ROS build machines can reliably guarantee.
#  * only unlabelled tests or those labelled "hudson" automatically
#    run on the ROS build machines
#
#add_subdirectory(tests)
#rosbuild_add_rostest_labeled(pcap tests/cloud_node_hz.test)
#rosbuild_add_rostest_labeled(pcap tests/cloud_nodelet_hz.test)
#rosbuild_add_rostest_labeled(pcap tests/cloud_node_32e_hz.test)
#rosbuild_add_rostest_labeled(pcap tests/cloud_nodelet_32e_hz.test)
#rosbuild_add_rostest_labeled(pcap tests/transform_node_hz.test)
#rosbuild_add_rostest_labeled(pcap tests/transform_nodelet_hz.test)

# parse check all the launch/*.launch files<commit_msg>use ${PROJECT} for variable name<commit_after>cmake_minimum_required(VERSION 2.8.3)
project(velodyne_pointcloud)

set(${PROJECT}_CATKIN_DEPS 
    angles
    nodelet
    pcl_ros
    roscpp
    roslib
    sensor_msgs
    tf
    velodyne_driver
    velodyne_msgs)

find_package(catkin REQUIRED COMPONENTS ${${PROJECT}_CATKIN_DEPS} rostest)
find_package(Boost COMPONENTS signals)
find_package(pcl)

# Resolve system dependency on yaml-cpp, which apparently does not
# provide a CMake find_package() module.
find_package(PkgConfig REQUIRED)
pkg_check_modules(YAML_CPP REQUIRED yaml-cpp)
find_path(YAML_CPP_INCLUDE_DIR
          NAMES yaml_cpp.h
          PATHS ${YAML_CPP_INCLUDE_DIRS})
find_library(YAML_CPP_LIBRARY
             NAMES YAML_CPP
             PATHS ${YAML_CPP_LIBRARY_DIRS})

include_directories(include ${catkin_INCLUDE_DIRS})

add_subdirectory(src/lib)
add_subdirectory(src/conversions)

catkin_package(
    CATKIN_DEPENDS ${${PROJECT}_CATKIN_DEPS}
    DEPENDS yaml-cpp python-yaml
    INCLUDE_DIRS include
    LIBRARIES velodyne_rawdata)

### install some launch scripts and parameter files

# unit tests
#
# $ROS_BUILD_TEST_LABEL controls which label "make test" runs
#
#  * if unset, all tests run
#  * tests labelled "pcap" require more processor time than the
#    ROS build machines can reliably guarantee.
#  * only unlabelled tests or those labelled "hudson" automatically
#    run on the ROS build machines
#
#add_subdirectory(tests)
#rosbuild_add_rostest_labeled(pcap tests/cloud_node_hz.test)
#rosbuild_add_rostest_labeled(pcap tests/cloud_nodelet_hz.test)
#rosbuild_add_rostest_labeled(pcap tests/cloud_node_32e_hz.test)
#rosbuild_add_rostest_labeled(pcap tests/cloud_nodelet_32e_hz.test)
#rosbuild_add_rostest_labeled(pcap tests/transform_node_hz.test)
#rosbuild_add_rostest_labeled(pcap tests/transform_nodelet_hz.test)

# parse check all the launch/*.launch files
{'fraction_non_alphanumeric': 0.06810982048574446, 'fraction_numerical': 0.003695881731784583, 'mean_word_length': 5.432937181663837, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1767102', 'n_tokens_mistral': 1431, 'n_tokens_neox': 1320, 'n_words': 271}