diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..1e1294f --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,27 @@ +version: 2 +jobs: + foxy: + docker: + - image: ros:foxy + steps: + - checkout + - run: + name: Set Up Container + command: | + apt update -qq && apt install -y build-essential cmake python3-colcon-common-extensions python3-rosdep python3-pip + pip3 install --upgrade pytest + apt upgrade -y + source `find /opt/ros -maxdepth 2 -name local_setup.bash | sort | head -1` + mkdir -p src/radar_msgs && mv `find -maxdepth 1 -not -name . -not -name src` src/radar_msgs/ + rosdep update + rosdep install -y --ignore-src --from-paths src + - run: + name: Build + command: | + source `find /opt/ros -maxdepth 2 -name local_setup.bash | sort | head -1` + colcon build --parallel-workers 1 +workflows: + version: 2 + ros_build: + jobs: + - foxy diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..54bb8f1 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,19 @@ +cmake_minimum_required(VERSION 3.5) +project(radar_msgs) + +find_package(ament_cmake REQUIRED) +find_package(builtin_interfaces REQUIRED) +find_package(rosidl_default_generators REQUIRED) +find_package(std_msgs REQUIRED) + +nav2_package() + +rosidl_generate_interfaces(${PROJECT_NAME} + "msg/RadarReturn.msg" + "msg/RadarScan.msg" + DEPENDENCIES builtin_interfaces std_msgs action_msgs nav_msgs +) + +ament_export_dependencies(rosidl_default_runtime) + +ament_package() diff --git a/package.xml b/package.xml new file mode 100644 index 0000000..48685c8 --- /dev/null +++ b/package.xml @@ -0,0 +1,21 @@ + + + + radar_msgs + 0.1.0 + Standard ROS messages for radars + Steve Macenski + Apache-2.0 + + ament_cmake + + std_msgs + rosidl_default_generators + builtin_interfaces + + rosidl_interface_packages + + + ament_cmake + +