diff --git a/src/cmd_vel.cpp b/src/cmd_vel.cpp new file mode 100644 index 0000000..5a66c00 --- /dev/null +++ b/src/cmd_vel.cpp @@ -0,0 +1 @@ +same \ No newline at end of file diff --git a/src/imu_sub.cpp b/src/imu_sub.cpp new file mode 100644 index 0000000..27349b8 --- /dev/null +++ b/src/imu_sub.cpp @@ -0,0 +1 @@ +code here sorry \ No newline at end of file diff --git a/src/ros_midterm/CMakeLists.txt b/src/ros_midterm/CMakeLists.txt new file mode 100644 index 0000000..385d2fc --- /dev/null +++ b/src/ros_midterm/CMakeLists.txt @@ -0,0 +1,25 @@ +cmake_minimum_required(VERSION 3.8) +project(ros_midterm) + +if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") + add_compile_options(-Wall -Wextra -Wpedantic) +endif() + +# find dependencies +find_package(ament_cmake REQUIRED) +find_package(rclcpp REQUIRED) +find_package(std_msg REQUIRED) + +if(BUILD_TESTING) + find_package(ament_lint_auto REQUIRED) + # the following line skips the linter which checks for copyrights + # comment the line when a copyright and license is added to all source files + set(ament_cmake_copyright_FOUND TRUE) + # the following line skips cpplint (only works in a git repo) + # comment the line when this package is in a git repo and when + # a copyright and license is added to all source files + set(ament_cmake_cpplint_FOUND TRUE) + ament_lint_auto_find_test_dependencies() +endif() + +ament_package() diff --git a/src/ros_midterm/package.xml b/src/ros_midterm/package.xml new file mode 100644 index 0000000..f56f1bc --- /dev/null +++ b/src/ros_midterm/package.xml @@ -0,0 +1,21 @@ + + + + ros_midterm + 0.0.0 + TODO: Package description + ros + TODO: License declaration + + ament_cmake + + rclcpp + std_msg + + ament_lint_auto + ament_lint_common + + + ament_cmake + +